Skip to content

Commit

Permalink
Remove redundant method
Browse files Browse the repository at this point in the history
  • Loading branch information
Blanka Kulik committed Sep 5, 2017
1 parent d141155 commit 8be384b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,4 @@ public TweakBoolean(String collectionName, String groupName, String tweakName, B
public Boolean getDefaultValue() {
return defaultValue;
}

public String getTweakType() {
return "Boolean";
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ public List<Collection> getCollections() {
}

private String getTweakBooleanKey(TweakBoolean tweakBoolean) {
return tweakStoreName + "_" + tweakBoolean.getCollectionName() + "_" + tweakBoolean.getGroupName() + "_" + tweakBoolean.getName() + "_" + tweakBoolean.getTweakType();
return tweakStoreName + "_" + tweakBoolean.getCollectionName() + "_" + tweakBoolean.getGroupName() + "_"
+ tweakBoolean.getName() + "_" + tweakBoolean.getClass();
}

private Integer getGroupIndexByName(List<Group> groups, String groupName) {
Expand Down

0 comments on commit 8be384b

Please sign in to comment.