Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

minor: removing unsupported op exception from undefined bson types si…

…nce it's causing problems with server 2.3.1
  • Loading branch information...
commit 99e95c9385c46b2104a3d26ff59996c93229e098 1 parent 7a9f323
@brandonblack brandonblack authored
View
2  bson.gemspec
@@ -24,4 +24,4 @@ Gem::Specification.new do |s|
s.executables = ['b2json', 'j2bson']
s.require_paths = ['lib']
s.has_rdoc = 'yard'
-end
+end
View
8 ext/jbson/src/main/jbson/RubyBSONCallback.java
@@ -91,7 +91,7 @@ public void objectStart(String key){
writeRubyHash(key, (RubyHash)lastObject, (IRubyObject)hash);
}
else {
- writeRubyArray(key, (RubyArray)lastObject, (IRubyObject)hash);
+ writeRubyArray(key, (RubyArray)lastObject, (IRubyObject)hash);
}
_stack.addLast( (RubyObject)hash );
@@ -120,7 +120,7 @@ public void arrayStart(String key){
writeRubyHash(key, (RubyHash)lastObject, (IRubyObject)array);
}
else {
- writeRubyArray(key, (RubyArray)lastObject, (IRubyObject)array);
+ writeRubyArray(key, (RubyArray)lastObject, (IRubyObject)array);
}
_stack.addLast( (RubyObject)array );
@@ -149,9 +149,7 @@ public void gotNull( String name ){
}
@Deprecated
- public void gotUndefined( String name ){
- throw new UnsupportedOperationException();
- }
+ public void gotUndefined( String name ) { }
public void gotUUID( String name , long part1, long part2) {
throw new UnsupportedOperationException();
View
BIN  ext/jbson/target/jbson.jar
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.