Repository: incubator-reef Updated Branches: refs/heads/master af2be6b99 -> 30d8d34de
[REEF-774] Remove Serializable interface from Tasklet class This PR removes Serializable interface from Tasklet class since Tasklet class is not designed for serialization. This also resolves a high-priority findbug warning between Tasklet and VortexFuture class. JIRA: [REEF-774](https://issues.apache.org/jira/browse/REEF-774) Pull Request: This closes #512 Project: http://git-wip-us.apache.org/repos/asf/incubator-reef/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-reef/commit/30d8d34d Tree: http://git-wip-us.apache.org/repos/asf/incubator-reef/tree/30d8d34d Diff: http://git-wip-us.apache.org/repos/asf/incubator-reef/diff/30d8d34d Branch: refs/heads/master Commit: 30d8d34de835d80dab22e52f1840bd0132c3fa24 Parents: af2be6b Author: Dongjoon Hyun <[email protected]> Authored: Tue Sep 22 11:13:47 2015 +0900 Committer: Dongjoon Hyun <[email protected]> Committed: Tue Sep 22 15:03:38 2015 +0900 ---------------------------------------------------------------------- .../src/main/java/org/apache/reef/vortex/driver/Tasklet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-reef/blob/30d8d34d/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/Tasklet.java ---------------------------------------------------------------------- diff --git a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/Tasklet.java b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/Tasklet.java index 5d64c57..6cd6c44 100644 --- a/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/Tasklet.java +++ b/lang/java/reef-applications/reef-vortex/src/main/java/org/apache/reef/vortex/driver/Tasklet.java @@ -28,7 +28,7 @@ import java.io.Serializable; * Representation of user task in Driver. */ @DriverSide -class Tasklet<TInput extends Serializable, TOutput extends Serializable> implements Serializable { +class Tasklet<TInput extends Serializable, TOutput extends Serializable> { private final int taskletId; private final VortexFunction<TInput, TOutput> userTask; private final TInput input;
