CPP-16098 - Lags during inplace rename typing

- reverted some of the changes

GitOrigin-RevId: c7c07b80a76c29794ef31e0e916e62f7f302917a
This commit is contained in:
Vladimir Plyashkun
2019-05-03 01:47:14 +03:00
committed by intellij-monorepo-bot
parent e1bb280f82
commit c33e69a545
1385 changed files with 18116 additions and 14001 deletions
@@ -0,0 +1,24 @@
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);
}
}
}