From: <tho...@us...> - 2014-01-08 17:57:00
|
Revision: 7750 http://bigdata.svn.sourceforge.net/bigdata/?rev=7750&view=rev Author: thompsonbry Date: 2014-01-08 17:56:54 +0000 (Wed, 08 Jan 2014) Log Message: ----------- @Override, final annotations. Modified Paths: -------------- branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/bench/NanoSparqlClient.java Modified: branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/bench/NanoSparqlClient.java =================================================================== --- branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/bench/NanoSparqlClient.java 2014-01-08 17:34:47 UTC (rev 7749) +++ branches/BIGDATA_RELEASE_1_3_0/bigdata-sails/src/java/com/bigdata/rdf/sail/bench/NanoSparqlClient.java 2014-01-08 17:56:54 UTC (rev 7750) @@ -217,6 +217,7 @@ } + @Override public Void call() throws Exception { // used to measure the total execution time. @@ -454,11 +455,13 @@ parser .setTupleQueryResultHandler(new TupleQueryResultHandlerBase() { // Indicates the end of a sequence of solutions. + @Override public void endQueryResult() { // connection close is handled in finally{} } // Handles a solution. + @Override public void handleSolution(final BindingSet bset) { if (log.isDebugEnabled()) log.debug(bset.toString()); @@ -466,6 +469,7 @@ } // Indicates the start of a sequence of Solutions. + @Override public void startQueryResult(List<String> bindingNames) { } }); @@ -731,12 +735,13 @@ final class Pair implements Comparable<Pair> { public double r = rnd.nextDouble(); - public int val; + final public int val; - public Pair(int val) { + public Pair(final int val) { this.val = val; } + @Override public int compareTo(final Pair other) { if (this == other) return 0; @@ -856,6 +861,7 @@ } + @Override public QueryOptions clone() { try { @@ -987,6 +993,7 @@ /** * Order by increasing elapsed time (slowest queries are last). */ + @Override public int compareTo(final Score o) { if (elapsedNanos < o.elapsedNanos) return -1; @@ -1123,6 +1130,7 @@ } + @Override public void run() { final long begin = System.nanoTime(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |