Upgrade dependency API usage to remove use of deprecated code #643

Open
lewismc opened this Issue Nov 26, 2013 · 0 comments

1 participant

@lewismc

Within raw, verbose build output one can see the following

[INFO] Changes detected - recompiling the module!
[INFO] Compiling 302 source files to /scratch/jenkins/workspace/Hector Trunk/core/target/classes
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/hector/api/factory/HFactory.java:[485,27] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/IndexedSlicesIterator.java:[4,38] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/IndexedSlicesIterator.java:[22,38] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/spring/HectorTemplate.java:[7,38] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/spring/HectorTemplate.java:[98,13] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/spring/HectorTemplateImpl.java:[8,38] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/spring/HectorTemplateImpl.java:[281,20] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[69,21] warning: [deprecation] row_cache_size in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[70,36] warning: [deprecation] row_cache_save_period_in_seconds in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[71,21] warning: [deprecation] key_cache_size in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[72,36] warning: [deprecation] key_cache_save_period_in_seconds in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[90,26] warning: [deprecation] merge_shards_chance in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[91,25] warning: [deprecation] row_cache_provider in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[93,27] warning: [deprecation] row_cache_keys_to_save in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[274,6] warning: [deprecation] setKey_cache_size(double) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[275,6] warning: [deprecation] setKey_cache_save_period_in_seconds(int) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[285,6] warning: [deprecation] setRow_cache_size(double) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[296,6] warning: [deprecation] setMerge_shards_chance(double) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[297,6] warning: [deprecation] setRow_cache_provider(java.lang.String) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCfDef.java:[299,6] warning: [deprecation] setRow_cache_keys_to_save(int) in org.apache.cassandra.thrift.CfDef has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/AbstractCluster.java:[207,17] warning: [deprecation] getClusterName() in me.prettyprint.hector.api.Cluster has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/ThriftCluster.java:[14,8] warning: [deprecation] getClusterName() in me.prettyprint.hector.api.Cluster has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/main/java/me/prettyprint/cassandra/service/spring/HectorTemplateImpl.java:[283,16] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.
Nov 26, 2013 1:09:13 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: 
Nov 26, 2013 1:09:13 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: --- maven-resources-plugin:2.4.2:testResources (default-testResources) @ hector-core ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 12 resources
Nov 26, 2013 1:09:13 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: 
Nov 26, 2013 1:09:13 PM org.apache.maven.cli.event.ExecutionEventLogger mojoStarted
INFO: --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ hector-core ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 73 source files to /scratch/jenkins/workspace/Hector Trunk/core/target/test-classes
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java:[62,5] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java:[62,71] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java:[79,11] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java:[95,11] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/IndexedSlicesQueryTest.java:[109,11] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.java:[83,11] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] /scratch/jenkins/workspace/Hector Trunk/core/src/test/java/me/prettyprint/cassandra/model/RangeSlicesQueryTest.java:[97,11] warning: [deprecation] me.prettyprint.cassandra.model.IndexedSlicesQuery in me.prettyprint.cassandra.model has been deprecated
[WARNING] Note: Some input files use unchecked or unsafe operations.
[WARNING] Note: Recompile with -Xlint:unchecked for details.

ALL classes which contain the above should be seen to and updated where required and necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment