Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-06-04 17:44:57 -0400
committerspingel2010-06-04 17:44:57 -0400
commit09df3eadb4b553201858050a82ac3a51d8da8f77 (patch)
treefcf35bc242994fbc474e4e8650596bb36a741759 /org.eclipse.mylyn.tasks.core
parent8cc18e65e7798d2ad18071d177afe64f15c672d8 (diff)
downloadorg.eclipse.mylyn.tasks-09df3eadb4b553201858050a82ac3a51d8da8f77.tar.gz
org.eclipse.mylyn.tasks-09df3eadb4b553201858050a82ac3a51d8da8f77.tar.xz
org.eclipse.mylyn.tasks-09df3eadb4b553201858050a82ac3a51d8da8f77.zip
NEW - bug 315791: NullPointerException on TaskRepository.flushCredentials due to String.intern()
https://bugs.eclipse.org/bugs/show_bug.cgi?id=315791
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
index 9dba48661..7ac970a68 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java
@@ -841,7 +841,7 @@ public final class TaskRepository extends PlatformObject {
*/
public void setRepositoryUrl(String repositoryUrl) {
Assert.isNotNull(repositoryUrl);
- properties.put(IRepositoryConstants.PROPERTY_URL, repositoryUrl);
+ properties.put(IRepositoryConstants.PROPERTY_URL, repositoryUrl.intern());
}
public void setVersion(String ver) {

Back to the top