Skip to content

Commit 29c6be6

Browse files
committed
fixed bug in Key.flag_dw
1 parent ccb99b1 commit 29c6be6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/java/eu/antidotedb/client/FlagKey.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Boolean readResponseToValue(AntidotePB.ApbReadObjectResp resp) {
2424
@CheckReturnValue
2525
public UpdateOpDefaultImpl assign(boolean value) {
2626
AntidotePB.ApbFlagUpdate.Builder flagUpdateInstruction = AntidotePB.ApbFlagUpdate.newBuilder(); // The specific instruction in update instructions
27-
flagUpdateInstruction.setValue(value); // Set increment
27+
flagUpdateInstruction.setValue(value);
2828
AntidotePB.ApbUpdateOperation.Builder updateOperation = AntidotePB.ApbUpdateOperation.newBuilder();
2929
updateOperation.setFlagop(flagUpdateInstruction);
3030
return new UpdateOpDefaultImpl(this, updateOperation);

src/main/java/eu/antidotedb/client/Key.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ public static FlagKey flag_dw(ByteString key) {
267267
}
268268

269269
public static FlagKey flag_dw(String key) {
270-
return flag_ew(ByteString.copyFromUtf8(key));
270+
return flag_dw(ByteString.copyFromUtf8(key));
271271
}
272272

273273
public static <V> MergeRegisterKey<V> mergeRegister(ByteString key, ValueCoder<V> format, MergeRegisterKey.ValueMerger<V> merger) {

0 commit comments

Comments
 (0)