提交 93a9cd9c authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

cleanup - redundant continue statements

上级 dccd6706
......@@ -1086,7 +1086,6 @@ public class Select extends Query {
// skip the generation of plan SQL for this already recursive persistent CTEs,
// since using a with statement will re-create the common table expression
// views.
continue;
} else {
buff.append("WITH RECURSIVE ").append(t.getName()).append('(');
buff.resetCount();
......
......@@ -590,7 +590,6 @@ public final class MVStore {
}
}
} catch (Exception e) {
continue;
}
}
if (!validStoreHeader) {
......
......@@ -123,7 +123,6 @@ ShutdownHandler {
for (int i = 0; args != null && i < args.length; i++) {
String arg = args[i];
if (arg == null) {
continue;
} else if ("-?".equals(arg) || "-help".equals(arg)) {
showUsage();
return;
......
......@@ -489,7 +489,6 @@ public class Csv implements SimpleRowSource {
return null;
} else if (ch <= ' ') {
// ignore spaces
continue;
} else if (lineComment != 0 && ch == lineComment) {
// comment until end of line
inputBufferStart = -1;
......
......@@ -1489,10 +1489,8 @@ public class Recover extends Tool implements DataHandler {
sb.append(getSQL(columnName, v));
} catch (Exception e) {
writeDataError(writer, "exception " + e, s.getBytes());
continue;
} catch (OutOfMemoryError e) {
writeDataError(writer, "out of memory", s.getBytes());
continue;
}
}
sb.append(");");
......
......@@ -122,7 +122,6 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
for (int i = 0; args != null && i < args.length; i++) {
String arg = args[i];
if (arg == null) {
continue;
} else if ("-?".equals(arg) || "-help".equals(arg)) {
// ok
} else if (arg.startsWith("-web")) {
......@@ -218,7 +217,6 @@ public class Server extends Tool implements Runnable, ShutdownHandler {
for (int i = 0; args != null && i < args.length; i++) {
String arg = args[i];
if (arg == null) {
continue;
} else if ("-?".equals(arg) || "-help".equals(arg)) {
showUsage();
return;
......
......@@ -278,7 +278,6 @@ public class ToDateParser {
}
if (!foundAnToken) {
p.removeFirstChar();
continue;
}
}
return p;
......@@ -374,4 +373,4 @@ public class ToDateParser {
}
}
\ No newline at end of file
}
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论