提交 87da30d6 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

cleanup - redundant return statements

上级 93a9cd9c
...@@ -177,7 +177,6 @@ public class UndoLog { ...@@ -177,7 +177,6 @@ public class UndoLog {
memoryUndo = 0; memoryUndo = 0;
records.clear(); records.clear();
file.autoDelete(); file.autoDelete();
return;
} }
} else { } else {
if (!entry.isStored()) { if (!entry.isStored()) {
......
...@@ -29,7 +29,6 @@ class AggregateDataCount extends AggregateData { ...@@ -29,7 +29,6 @@ class AggregateDataCount extends AggregateData {
distinctValues = ValueHashMap.newInstance(); distinctValues = ValueHashMap.newInstance();
} }
distinctValues.put(v, this); distinctValues.put(v, this);
return;
} }
} }
......
...@@ -138,7 +138,6 @@ public class ConditionIn extends Condition { ...@@ -138,7 +138,6 @@ public class ConditionIn extends Condition {
} }
} }
filter.addIndexCondition(IndexCondition.getInList(l, valueList)); filter.addIndexCondition(IndexCondition.getInList(l, valueList));
return;
} }
} }
......
...@@ -94,7 +94,6 @@ public class ConditionInConstantSet extends Condition { ...@@ -94,7 +94,6 @@ public class ConditionInConstantSet extends Condition {
} }
if (session.getDatabase().getSettings().optimizeInList) { if (session.getDatabase().getSettings().optimizeInList) {
filter.addIndexCondition(IndexCondition.getInList(l, valueList)); filter.addIndexCondition(IndexCondition.getInList(l, valueList));
return;
} }
} }
......
...@@ -473,7 +473,6 @@ public class Shell extends Tool implements Runnable { ...@@ -473,7 +473,6 @@ public class Shell extends Tool implements Runnable {
if (listMode) { if (listMode) {
e.printStackTrace(err); e.printStackTrace(err);
} }
return;
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论