Skip to content

Commit

Permalink
Remove static modifier from BSON encoder/decoder to allow running mul…
Browse files Browse the repository at this point in the history
…tithreaded
  • Loading branch information
adq committed Oct 14, 2014
1 parent cf6fc31 commit d7db2e2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ public class MongoInputSplit extends InputSplit implements Writable, org.apache.
protected boolean notimeout = false;
protected transient DBCursor cursor;

protected static transient BSONEncoder _bsonEncoder = new BasicBSONEncoder();
protected static transient BSONDecoder _bsonDecoder = new BasicBSONDecoder();
protected transient BSONEncoder _bsonEncoder = new BasicBSONEncoder();
protected transient BSONDecoder _bsonDecoder = new BasicBSONDecoder();
//CHECKSTYLE:ON

public MongoInputSplit() {
Expand Down

0 comments on commit d7db2e2

Please sign in to comment.