SQL code style per dialect: UI

GitOrigin-RevId: 72cca4d6a23a5e2aa2089c03932ab2e9d08bfa48
This commit is contained in:
Leonid Bushuev
2019-05-03 01:36:24 +03:00
committed by intellij-monorepo-bot
parent a95f888fb1
commit 9f35a30458
1349 changed files with 13888 additions and 17785 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);
}
}
}