change variable name

This commit is contained in:
astroshim 2016-10-19 13:14:05 +09:00
parent f311f34aa6
commit 6573c1c68b
4 changed files with 8 additions and 8 deletions

View file

@ -345,7 +345,7 @@ public class JDBCInterpreter extends Interpreter {
public void setAccountOfCredential(String propertyKey, InterpreterContext interpreterContext) {
UsernamePassword usernamePassword = getUsernamePassword(interpreterContext,
interpreterContext.getReplGroupName());
interpreterContext.getReplName());
if (usernamePassword != null && notExistAccountInProperty()) {
propertiesMap.get(propertyKey).setProperty("user", usernamePassword.getUsername());
propertiesMap.get(propertyKey).setProperty("password", usernamePassword.getPassword());

View file

@ -48,7 +48,7 @@ public class InterpreterContext {
}
private final String noteId;
private final String replGroupName;
private final String replName;
private final String paragraphTitle;
private final String paragraphId;
private final String paragraphText;
@ -61,7 +61,7 @@ public class InterpreterContext {
public InterpreterContext(String noteId,
String paragraphId,
String replGroupName,
String replName,
String paragraphTitle,
String paragraphText,
AuthenticationInfo authenticationInfo,
@ -74,7 +74,7 @@ public class InterpreterContext {
) {
this.noteId = noteId;
this.paragraphId = paragraphId;
this.replGroupName = replGroupName;
this.replName = replName;
this.paragraphTitle = paragraphTitle;
this.paragraphText = paragraphText;
this.authenticationInfo = authenticationInfo;
@ -91,8 +91,8 @@ public class InterpreterContext {
return noteId;
}
public String getReplGroupName() {
return replGroupName;
public String getReplName() {
return replName;
}
public String getParagraphId() {

View file

@ -479,7 +479,7 @@ public class RemoteInterpreter extends Interpreter {
return new RemoteInterpreterContext(
ic.getNoteId(),
ic.getParagraphId(),
ic.getReplGroupName(),
ic.getReplName(),
ic.getParagraphTitle(),
ic.getParagraphText(),
gson.toJson(ic.getAuthenticationInfo()),

View file

@ -487,7 +487,7 @@ public class RemoteInterpreterServer
return new InterpreterContext(
ric.getNoteId(),
ric.getParagraphId(),
ric.getReplGroupName(),
ric.getReplName(),
ric.getParagraphTitle(),
ric.getParagraphText(),
gson.fromJson(ric.getAuthenticationInfo(), AuthenticationInfo.class),