Switch order of literals to prevent NullPointerException

This commit is contained in:
pixeebot[bot]
2024-02-02 00:29:18 +00:00
parent 36c277961f
commit 95471a2fba
16 changed files with 40 additions and 40 deletions

View File

@@ -16,7 +16,7 @@ public class PropSync {
Map<String, String> enProps = linesToProps(enLines);
for (File file : files) {
if (!file.getName().equals("messages_en_GB.properties")) {
if (!"messages_en_GB.properties".equals(file.getName())) {
System.out.println("Processing file: " + file.getName());
List<String> lines;
try {