Skip to content

Commit

Permalink
CLEANUP: Change comments in BTreeGet.
Browse files Browse the repository at this point in the history
  • Loading branch information
brido4125 authored and jhpark816 committed Aug 25, 2023
1 parent cc0aa26 commit 2ca80dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/main/java/net/spy/memcached/collection/BTreeGet.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ public class BTreeGet extends CollectionGet {
private boolean isFirstParsing = true;
private boolean elementFlagExists = false;


private BTreeGet(String range,
boolean delete, boolean dropIfEmpty,
ElementFlagFilter elementFlagFilter) {
Expand Down Expand Up @@ -123,7 +122,7 @@ public String getCommand() {

public boolean eachRecordParseCompleted() {
if (elementFlagExists) {
// isFirstParsing true means item header with eFlag was parsed completely
// true if item header was parsed completely
return isFirstParsing;
} else {
return true;
Expand All @@ -137,7 +136,7 @@ public byte[] getAddtionalArgs() {

@Override
public boolean headerReady(int spaceCount) {
// non-eFlag header has spaceCount 2 and eFlag header has spaceCount 3
// non-eFlag header has 2 spaces and eFlag header has 3 spaces
return spaceCount == 2 || spaceCount == 3;
}

Expand Down

0 comments on commit 2ca80dd

Please sign in to comment.