Author: slotia
Date: 2012-09-06 17:59:37 -0700 (Thu, 06 Sep 2012)
New Revision: 30332

Modified:
   core3/api/trunk/work-api/src/main/java/org/cytoscape/work/package-info.java
Log:
Fixed some typos in javadocs

Modified: 
core3/api/trunk/work-api/src/main/java/org/cytoscape/work/package-info.java
===================================================================
--- core3/api/trunk/work-api/src/main/java/org/cytoscape/work/package-info.java 
2012-09-07 00:22:45 UTC (rev 30331)
+++ core3/api/trunk/work-api/src/main/java/org/cytoscape/work/package-info.java 
2012-09-07 00:59:37 UTC (rev 30332)
@@ -230,7 +230,7 @@
 
   <h4>Cancelling a task</h4>
   The problem with our task is that it
-  does not adequately respond user cancellation.
+  does not adequately respond to user cancellation.
   When the user cancels the task, nothing happens. We have to fill in the
   {@code cancel} method. The main challenge of dealing with cancellation
   is that the thread executing {@code run} is different
@@ -319,7 +319,7 @@
           public void run(TaskMonitor monitor) {
               monitor.setTitle("Calculating Pi");
               double pi = 2.0;
-              for (int n = 0; n < iterations; n++) {
+              for (int n = 1; n <= iterations; n++) {
                   if (cancelled)
                       break;
                   monitor.setProgress(((double) n) / iterations);

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to