提交 984704e5 authored 作者: noelgrandin's avatar noelgrandin

remove unused parameter

上级 14206cd3
...@@ -54,7 +54,7 @@ public class ScanCursor implements Cursor { ...@@ -54,7 +54,7 @@ public class ScanCursor implements Cursor {
continue; continue;
} }
} else { } else {
row = scan.getNextRow(session, row); row = scan.getNextRow(row);
if (row != null && row.getSessionId() != 0 && row.getSessionId() != session.getId()) { if (row != null && row.getSessionId() != 0 && row.getSessionId() != session.getId()) {
continue; continue;
} }
...@@ -63,7 +63,7 @@ public class ScanCursor implements Cursor { ...@@ -63,7 +63,7 @@ public class ScanCursor implements Cursor {
} }
return row != null; return row != null;
} }
row = scan.getNextRow(session, row); row = scan.getNextRow(row);
return row != null; return row != null;
} }
......
...@@ -175,11 +175,10 @@ public class ScanIndex extends BaseIndex { ...@@ -175,11 +175,10 @@ public class ScanIndex extends BaseIndex {
/** /**
* Get the next row that is stored after this row. * Get the next row that is stored after this row.
* *
* @param session the session
* @param row the current row or null to start the scan * @param row the current row or null to start the scan
* @return the next row or null if there are no more rows * @return the next row or null if there are no more rows
*/ */
Row getNextRow(Session session, Row row) { Row getNextRow(Row row) {
long key; long key;
if (row == null) { if (row == null) {
key = -1; key = -1;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论