Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Davis2015-05-21 23:30:53 +0000
committerSam Davis2015-05-21 23:30:53 +0000
commit405174145912fdb7453b5f00c684de88588e917c (patch)
treec2ff948ddc0c3108ee6c41e34c1ca2b0438740eb /org.eclipse.mylyn.tasks.core/src/org
parent4f990464a33e3f21cb1c0bd9bef167c3f00a2c97 (diff)
downloadorg.eclipse.mylyn.tasks-405174145912fdb7453b5f00c684de88588e917c.tar.gz
org.eclipse.mylyn.tasks-405174145912fdb7453b5f00c684de88588e917c.tar.xz
org.eclipse.mylyn.tasks-405174145912fdb7453b5f00c684de88588e917c.zip
fix NLS warnings
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src/org')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java6
1 files changed, 3 insertions, 3 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 cb420fd17..6a338d819 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
@@ -263,16 +263,16 @@ public final class TaskRepository extends PlatformObject {
if (userProperty.equals(getKeyPrefix(AuthenticationType.REPOSITORY) + USERNAME)) {
this.setProperty(userProperty, username);
} else {
- String oldUserValue = credentialsStore.get(userProperty, "");
+ String oldUserValue = credentialsStore.get(userProperty, ""); //$NON-NLS-1$
credentialsStore.put(userProperty, username, false);
if (!Objects.equal(oldUserValue, username)) {
notifyChangeListeners(userProperty, oldUserValue, username);
}
}
- String oldPasswordValue = credentialsStore.get(passwordProperty, "");
+ String oldPasswordValue = credentialsStore.get(passwordProperty, ""); //$NON-NLS-1$
credentialsStore.put(passwordProperty, password, true);
if (!Objects.equal(oldPasswordValue, password)) {
- notifyChangeListeners(passwordProperty, "", "");
+ notifyChangeListeners(passwordProperty, "", ""); //$NON-NLS-1$ //$NON-NLS-2$
}
}

Back to the top