[uast-groovy] UInjectionHost support

GitOrigin-RevId: 49ec454d1831796fa63b77fdc965f61985bf877e
This commit is contained in:
Nicolay Mitropolsky
2019-05-03 01:47:46 +03:00
committed by intellij-monorepo-bot
parent c33e69a545
commit 9b850726ee
1386 changed files with 13993 additions and 18106 deletions
@@ -1,24 +0,0 @@
class Test {
private boolean test(String s) {
if (s == null) return false;
s = s.trim();
if (s.isEmpty()) return false;
int i;
try {
i = Integer.parseInt(s);
}
catch (NumberFormatException ex) {
return false;
}
return i > 0;
}
String use(String[] list) {
for(String str : list) {
if (!<caret>test(str)) break;
System.out.println("Ok string: "+str);
}
}
}