0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Run spotlessApply

This commit is contained in:
Alexander01998 2024-07-18 20:23:16 +02:00
parent a832529986
commit 6b9480a1b1

View File

@ -28,8 +28,8 @@ public enum GoogleTranslate
String html = getHTML(text, langFrom, langTo);
String translated = parseHTML(html);
if(text.replaceAll("\\s", "").equalsIgnoreCase(
translated.replaceAll("\\s", "")))
if(text.replaceAll("\\s", "")
.equalsIgnoreCase(translated.replaceAll("\\s", "")))
return null;
return translated;