[Swift-commit] r4471 - in trunk/src/org/griphyn/vdl/karajan: . lib lib/cache
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Fri May 13 15:21:23 CDT 2011
Author: hategan
Date: 2011-05-13 15:21:23 -0500 (Fri, 13 May 2011)
New Revision: 4471
Modified:
trunk/src/org/griphyn/vdl/karajan/ArrayIndexFutureList.java
trunk/src/org/griphyn/vdl/karajan/DSHandleFutureWrapper.java
trunk/src/org/griphyn/vdl/karajan/FuturePairIterator.java
trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java
trunk/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java
trunk/src/org/griphyn/vdl/karajan/lib/cache/File.java
Log:
updated to reflect removal of checked exception in Future.getValue()
Modified: trunk/src/org/griphyn/vdl/karajan/ArrayIndexFutureList.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/ArrayIndexFutureList.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/ArrayIndexFutureList.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -84,7 +84,7 @@
return closed;
}
- public Object getValue() throws VariableNotFoundException {
+ public Object getValue() {
return this;
}
Modified: trunk/src/org/griphyn/vdl/karajan/DSHandleFutureWrapper.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/DSHandleFutureWrapper.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/DSHandleFutureWrapper.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -33,7 +33,7 @@
return handle.isClosed();
}
- public synchronized Object getValue() throws VariableNotFoundException {
+ public synchronized Object getValue() {
Object value = handle.getValue();
if (value instanceof RuntimeException) {
throw (RuntimeException) value;
Modified: trunk/src/org/griphyn/vdl/karajan/FuturePairIterator.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/FuturePairIterator.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/FuturePairIterator.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -89,7 +89,7 @@
return array.isClosed();
}
- public Object getValue() throws VariableNotFoundException {
+ public Object getValue() {
return this;
}
Modified: trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/lib/FileCopier.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -106,7 +106,7 @@
actions();
}
- public Object getValue() throws ExecutionException {
+ public Object getValue() {
return null;
}
Modified: trunk/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/lib/ThrottledParallelFor.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -285,7 +285,7 @@
public void fail(FutureEvaluationException e) {
}
- public Object getValue() throws ExecutionException {
+ public Object getValue() {
return null;
}
Modified: trunk/src/org/griphyn/vdl/karajan/lib/cache/File.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/lib/cache/File.java 2011-05-13 20:19:45 UTC (rev 4470)
+++ trunk/src/org/griphyn/vdl/karajan/lib/cache/File.java 2011-05-13 20:21:23 UTC (rev 4471)
@@ -175,7 +175,7 @@
public void fail(FutureEvaluationException e) {
}
- public Object getValue() throws ExecutionException {
+ public Object getValue() {
return null;
}
More information about the Swift-commit
mailing list