lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject svn commit: r608523 - /lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
Date Thu, 03 Jan 2008 15:20:42 GMT
Author: mikemccand
Date: Thu Jan  3 07:20:41 2008
New Revision: 608523

URL: http://svn.apache.org/viewvc?rev=608523&view=rev
Log:
fix typo

Modified:
    lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java

Modified: lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java?rev=608523&r1=608522&r2=608523&view=diff
==============================================================================
--- lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
(original)
+++ lucene/java/trunk/contrib/benchmark/src/java/org/apache/lucene/benchmark/byTask/tasks/TaskSequence.java
Thu Jan  3 07:20:41 2008
@@ -39,7 +39,7 @@
   private boolean exhausted = false;
   private boolean resetExhausted = false;
   private PerfTask[] tasksArray;
-  private boolean anyExhaustableTasks;
+  private boolean anyExhaustibleTasks;
   
   public TaskSequence (PerfRunData runData, String name, TaskSequence parent, boolean parallel)
{
     super(runData);
@@ -57,8 +57,8 @@
       tasksArray = new PerfTask[numTasks];
       for(int k=0;k<numTasks;k++) {
         tasksArray[k] = (PerfTask) tasks.get(k);
-        anyExhaustableTasks |= tasksArray[k] instanceof ResetInputsTask;
-        anyExhaustableTasks |= tasksArray[k] instanceof TaskSequence;
+        anyExhaustibleTasks |= tasksArray[k] instanceof ResetInputsTask;
+        anyExhaustibleTasks |= tasksArray[k] instanceof TaskSequence;
       }
     }
   }
@@ -123,7 +123,7 @@
         try {
           final PerfTask task = tasksArray[l];
           count += task.runAndMaybeStats(letChildReport);
-          if (anyExhaustableTasks)
+          if (anyExhaustibleTasks)
             updateExhausted(task);
         } catch (NoMoreDataException e) {
           exhausted = true;
@@ -148,7 +148,7 @@
         nextStartTime += delayStep; // this aims at avarage rate. 
         try {
           count += task.runAndMaybeStats(letChildReport);
-          if (anyExhaustableTasks)
+          if (anyExhaustibleTasks)
             updateExhausted(task);
         } catch (NoMoreDataException e) {
           exhausted = true;



Mime
View raw message