Remove redundant call to String.format() in CategoryModifier

This patch removes a call to String.format that can be replaced with a
literal string which is much clearer.
This commit is contained in:
Deskana 2017-05-26 11:08:02 +01:00
parent 67dfa170d2
commit 4b7011a725

View file

@ -43,6 +43,6 @@ public class CategoryModifier extends PageModifier {
@Override
public String getEditSumary() {
return String.format("Added " + params.optJSONArray(PARAM_CATEGORIES).length() + " categories.");
return "Added " + params.optJSONArray(PARAM_CATEGORIES).length() + " categories.";
}
}