mirror of
https://github.com/Wurst-Imperium/Wurst7.git
synced 2024-09-20 01:12:13 +02:00
Run spotlessApply
This commit is contained in:
parent
a832529986
commit
6b9480a1b1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user