Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added a couple missing to_java calls to the encoder.

  • Loading branch information...
commit d9828e06412616429c90ef4efd64e1bf478c89f2 1 parent cf04ca9
@pangloss pangloss authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/pacer-orient/encoder.rb
View
4 lib/pacer-orient/encoder.rb
@@ -16,10 +16,10 @@ def self.encode_property(value)
if value.is_a? Bignum
Marshal.dump(value).to_java_bytes
else
- value
+ value.to_java
end
when true, false
- value
+ value.to_java
when JavaDate, Date, Time, DateTime
value
else
Please sign in to comment.
Something went wrong with that request. Please try again.