lib/hornetq/uri.rb in jruby-hornetq-0.3.1 vs lib/hornetq/uri.rb in jruby-hornetq-0.3.2
- old
+ new
@@ -45,10 +45,10 @@
key, value = i.split('=')
value = true if value == 'true'
value = false if value == 'false'
value = value.to_i if value =~ /^\d+$/
value = value.to_f if value =~ /^\d+\.\d*$/
- @params[key.to_sym] = value
+ @params[key] = value
end
end
end
def [](key)
\ No newline at end of file