Permalink
Browse files

Update DefaultBinaryReaderWriterTest

Remove @Nullable from the second parameter of UserWriter.writeTo.
  • Loading branch information...
1 parent 14f74a5 commit a0b8b966c09b5dd831f9608728d2aa319f788133 @kohanyirobert committed Nov 24, 2012
@@ -74,7 +74,7 @@ public Object readFrom(ByteBuffer buffer) {
public UserWriter() {}
@Override
- public void writeTo(ByteBuffer buffer, @Nullable Object reference) {
+ public void writeTo(ByteBuffer buffer, Object reference) {
User user = (User) reference;
BsonObject.STRING.writer().writeTo(buffer, user.getName());
BsonObject.INT32.writer().writeTo(buffer, Integer.valueOf(user.getAge()));

0 comments on commit a0b8b96

Please sign in to comment.