You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2010/10/04 13:23:51 UTC
svn commit: r1004200 -
/lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java
Author: rmuir
Date: Mon Oct 4 11:23:51 2010
New Revision: 1004200
URL: http://svn.apache.org/viewvc?rev=1004200&view=rev
Log:
document this fallthrough
Modified:
lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java
Modified: lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java?rev=1004200&r1=1004199&r2=1004200&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java (original)
+++ lucene/dev/trunk/lucene/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/utils/Algorithm.java Mon Oct 4 11:23:51 2010
@@ -39,6 +39,7 @@ public class Algorithm {
* @param runData perf-run-data used at running the tasks.
* @throws Exception if errors while parsing the algorithm
*/
+ @SuppressWarnings("fallthrough")
public Algorithm (PerfRunData runData) throws Exception {
String algTxt = runData.getConfig().getAlgorithmText();
sequence = new TaskSequence(runData,null,null,false);
@@ -210,7 +211,7 @@ public class Algorithm {
break;
case '>' :
- currSequence.setNoChildReport();
+ currSequence.setNoChildReport(); /* intentional fallthrough */
case '}' :
case ']' :
// end sequence