Mercurial > hg > Members > shoshi > jungle > jungle-core
changeset 312:43e2f44646b6
fix spell miss
author | tatsuki |
---|---|
date | Fri, 27 Jan 2017 00:28:52 +0900 |
parents | 9e9a15fb6e92 |
children | d4bcf62ef743 |
files | src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/transaction/node/redBlackTree/ColorlessTreeNode.java |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/transaction/node/redBlackTree/ColorlessTreeNode.java Fri Jan 27 00:04:00 2017 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/ie/cr/jungle/transaction/node/redBlackTree/ColorlessTreeNode.java Fri Jan 27 00:28:52 2017 +0900 @@ -110,14 +110,14 @@ */ public abstract int checkDepth(int count, int minCount); - public RebuildNode delete(String insertKey, ByteBuffer deleteValue, ColorlessTreeNode parent, Rotate side) { + public RebuildNode delete(String deleteKey, ByteBuffer deleteValue, ColorlessTreeNode parent, Rotate side) { if (!this.empty()) { RebuildNode rebuildNode; long result = this.compare(deleteValue); if (result > 0) { - rebuildNode = right().delete(insertKey, deleteValue, this, Rotate.R); + rebuildNode = right().delete(deleteKey, deleteValue, this, Rotate.R); } else if (result < 0) { - rebuildNode = left().delete(insertKey, deleteValue, this, Rotate.L); + rebuildNode = left().delete(deleteKey, deleteValue, this, Rotate.L); } else { rebuildNode = replaceNode(parent); }