Skip to content

Commit 2a3bd93

Browse files
authored
Merge pull request #1 from TI-Tokyo/daniel/gsets-fix
Fix for 'Exception in thread main java.lang.NoSuchMethodError: com.basho.riak.client.api.commands.datatypes.SetUpdate.add(Ljava/lang/String;)
2 parents bed6cd6 + 56baee9 commit 2a3bd93

File tree

1 file changed

+14
-0
lines changed
  • src/main/java/com/basho/riak/client/api/commands/datatypes

1 file changed

+14
-0
lines changed

src/main/java/com/basho/riak/client/api/commands/datatypes/SetUpdate.java

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ public SetUpdate()
4242
{
4343
}
4444

45+
@Override
46+
public SetUpdate add(BinaryValue value)
47+
{
48+
super.add(value);
49+
return this;
50+
}
51+
52+
@Override
53+
public SetUpdate add(String value)
54+
{
55+
super.add(value);
56+
return this;
57+
}
58+
4559
/**
4660
* Remove the provided value from the set in Riak.
4761
* @param value the value to be removed.

0 commit comments

Comments
 (0)