Skip to content

Commit a656b79

Browse files
authored
Merge pull request commons-app#678 from Deskana/stringformat
Remove redundant call to String.format() in CategoryModifier
2 parents fade958 + 4b7011a commit a656b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/fr/free/nrw/commons/modifications/CategoryModifier.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,6 @@ public String doModification(String pageName, String pageContents) {
4343

4444
@Override
4545
public String getEditSumary() {
46-
return String.format("Added " + params.optJSONArray(PARAM_CATEGORIES).length() + " categories.");
46+
return "Added " + params.optJSONArray(PARAM_CATEGORIES).length() + " categories.";
4747
}
4848
}

0 commit comments

Comments
 (0)