Signed-off-by: yoyosource <yoyosource@nidido.de>
Dieser Commit ist enthalten in:
Ursprung
f2c44c76d7
Commit
763ac8deb2
@ -44,8 +44,7 @@ public class BookReplaceCommand extends SWCommand {
|
||||
private void replace(BookMeta bookMeta, char oldChar, char newChar) {
|
||||
List<String> stringList = bookMeta.getPages();
|
||||
for (int i = 0; i < stringList.size(); i++) {
|
||||
String string = stringList.get(i);
|
||||
bookMeta.setPage(i + 1, string.replace(oldChar, newChar));
|
||||
bookMeta.setPage(i + 1, stringList.get(i).replace(oldChar, newChar));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren