Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/core/TaskRepository.java6
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/RepositoryConnectorUiExtensionReader.java2
2 files changed, 4 insertions, 4 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$
}
}
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/RepositoryConnectorUiExtensionReader.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/RepositoryConnectorUiExtensionReader.java
index 31490cd3d..e412a308c 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/RepositoryConnectorUiExtensionReader.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/util/RepositoryConnectorUiExtensionReader.java
@@ -217,7 +217,7 @@ public class RepositoryConnectorUiExtensionReader {
AbstractRepositoryConnectorUi connectorUi) {
// need reflection since the field is private
try {
- Field field = AbstractRepositoryConnectorUi.class.getDeclaredField("connector");
+ Field field = AbstractRepositoryConnectorUi.class.getDeclaredField("connector"); //$NON-NLS-1$
field.setAccessible(true);
field.set(connectorUi, connector);
} catch (Exception e) {

Back to the top