提交 064dc058 authored 作者: Jacek Ławrynowicz's avatar Jacek Ławrynowicz

MVPrimaryIndex: make inner class MVStoreCursor static

Avoids needlessly storing implicit reference to outer class
上级 4294d902
...@@ -368,7 +368,7 @@ public class MVPrimaryIndex extends BaseIndex { ...@@ -368,7 +368,7 @@ public class MVPrimaryIndex extends BaseIndex {
/** /**
* A cursor. * A cursor.
*/ */
class MVStoreCursor implements Cursor { static class MVStoreCursor implements Cursor {
private final Session session; private final Session session;
private final Iterator<Entry<Value, Value>> it; private final Iterator<Entry<Value, Value>> it;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论