rocksdb/java
Davide Angelocola 4527bb2fed Fix conversion issues in MutableOptions (#9194)
Summary:
Removing unnecessary checks around conversion from int/long to double as it does not lose information (see https://docs.oracle.com/javase/specs/jls/se9/html/jls-5.html#jls-5.1.2).

For example, `value > Double.MAX_VALUE` is always false when value is long or int.

Can you please have a look adamretter? Also fixed some other minor issues (do you prefer a separate PR?)

Pull Request resolved: https://github.com/facebook/rocksdb/pull/9194

Reviewed By: ajkr

Differential Revision: D36221694

fbshipit-source-id: bf327c07386560b87ddc0c98039e8d6e8f2f1e82
2022-05-09 12:34:26 -07:00
..
benchmark/src/main/java/org/rocksdb/benchmark
crossbuild
jmh
rocksjni Remove own ToString() (#9955) 2022-05-06 13:03:58 -07:00
samples/src/main/java
src Fix conversion issues in MutableOptions (#9194) 2022-05-09 12:34:26 -07:00
CMakeLists.txt Fix remaining uses of "backupable" (#9792) 2022-04-05 09:52:33 -07:00
HISTORY-JAVA.md
jdb_bench.sh
Makefile
pom.xml.template
RELEASE.md
understanding_options.md