Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-01-26 20:06:42 +0000
committerSteffen Pingel2012-01-26 20:06:42 +0000
commite404db81b7a4b85cc272279297f05d75acde1f06 (patch)
tree91141c867b96ff52df83154bd1c81261503af069 /org.eclipse.mylyn.commons.sdk.util
parentb288ef95b6bf3d92a3cade0a3b5fef49718e0b81 (diff)
downloadorg.eclipse.mylyn.commons-e404db81b7a4b85cc272279297f05d75acde1f06.tar.gz
org.eclipse.mylyn.commons-e404db81b7a4b85cc272279297f05d75acde1f06.tar.xz
org.eclipse.mylyn.commons-e404db81b7a4b85cc272279297f05d75acde1f06.zip
NEW - bug 369805: improve naming
https://bugs.eclipse.org/bugs/show_bug.cgi?id=369805
Diffstat (limited to 'org.eclipse.mylyn.commons.sdk.util')
-rw-r--r--org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/RepositoryTestFixture.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/RepositoryTestFixture.java b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/RepositoryTestFixture.java
index d1f916db..e9840eb2 100644
--- a/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/RepositoryTestFixture.java
+++ b/org.eclipse.mylyn.commons.sdk.util/src/org/eclipse/mylyn/commons/sdk/util/RepositoryTestFixture.java
@@ -65,7 +65,7 @@ public abstract class RepositoryTestFixture {
private boolean useCertificateAuthentication;
- private boolean useShortUsernames;
+ private boolean useShortUserNames;
public RepositoryTestFixture(String connectorKind, String repositoryUrl) {
this.connectorKind = connectorKind;
@@ -121,8 +121,8 @@ public abstract class RepositoryTestFixture {
return useCertificateAuthentication;
}
- public boolean isUseShortUsernames() {
- return useShortUsernames;
+ public boolean isUseShortUserNames() {
+ return useShortUserNames;
}
public RepositoryLocation location() throws Exception {
@@ -139,7 +139,7 @@ public abstract class RepositoryTestFixture {
} else {
UserCredentials credentials = CommonTestUtil.getCredentials(level);
String userName = credentials.getUserName();
- if (isUseShortUsernames() && userName.contains("@")) {
+ if (isUseShortUserNames() && userName.contains("@")) {
userName = userName.substring(0, userName.indexOf("@"));
}
return location(userName, credentials.getPassword(), proxy);
@@ -177,8 +177,8 @@ public abstract class RepositoryTestFixture {
this.useCertificateAuthentication = useCertificateAuthentication;
}
- public void setUseShortUsernames(boolean useShortUsernames) {
- this.useShortUsernames = useShortUsernames;
+ public void setUseShortUserNames(boolean useShortUsernames) {
+ this.useShortUserNames = useShortUsernames;
}
protected abstract RepositoryTestFixture activate();

Back to the top