diff options
author | Matthew Newhook <matthew@zeroc.com> | 2014-08-08 16:09:22 -0230 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2014-08-08 16:09:22 -0230 |
commit | 36b0fecf6baca78f86ac16d236ef917d4fb0faff (patch) | |
tree | a979f4e822ff1a1a50475a45d4f228aff1353de2 /java/src/Freeze/Index.java | |
parent | ICE-5596 add Ice.Default.Timeout property (diff) | |
download | ice-36b0fecf6baca78f86ac16d236ef917d4fb0faff.tar.bz2 ice-36b0fecf6baca78f86ac16d236ef917d4fb0faff.tar.xz ice-36b0fecf6baca78f86ac16d236ef917d4fb0faff.zip |
Fixed lots of warnings.
Diffstat (limited to 'java/src/Freeze/Index.java')
-rw-r--r-- | java/src/Freeze/Index.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/java/src/Freeze/Index.java b/java/src/Freeze/Index.java index 3b84522ea7d..922c5f52c84 100644 --- a/java/src/Freeze/Index.java +++ b/java/src/Freeze/Index.java @@ -17,6 +17,7 @@ public abstract class Index implements com.sleepycat.db.SecondaryKeyCreator // Implementation details // + @Override public boolean createSecondaryKey(com.sleepycat.db.SecondaryDatabase secondary, com.sleepycat.db.DatabaseEntry key, @@ -81,8 +82,8 @@ public abstract class Index implements com.sleepycat.db.SecondaryKeyCreator // In DB > 5.1.x we can not set DB_DBT_PARTIAL in the key Dbt when calling // getSearchKey. // - if(com.sleepycat.db.Environment.getVersionMajor() < 5 || - (com.sleepycat.db.Environment.getVersionMajor() == 5 && + if(com.sleepycat.db.Environment.getVersionMajor() < 5 || + (com.sleepycat.db.Environment.getVersionMajor() == 5 && com.sleepycat.db.Environment.getVersionMinor() <= 1)) { key.setPartial(true); @@ -231,8 +232,8 @@ public abstract class Index implements com.sleepycat.db.SecondaryKeyCreator // In DB > 5.1.x we can not set DB_DBT_PARTIAL in the key Dbt when calling // getSearchKey. // - if(com.sleepycat.db.Environment.getVersionMajor() < 5 || - (com.sleepycat.db.Environment.getVersionMajor() == 5 && + if(com.sleepycat.db.Environment.getVersionMajor() < 5 || + (com.sleepycat.db.Environment.getVersionMajor() == 5 && com.sleepycat.db.Environment.getVersionMinor() <= 1)) { key.setPartial(true); |