Repository: apex-malhar Updated Branches: refs/heads/master 157fb8230 -> 032c6672f
Remove unused variable and warning. Project: http://git-wip-us.apache.org/repos/asf/apex-malhar/repo Commit: http://git-wip-us.apache.org/repos/asf/apex-malhar/commit/032c6672 Tree: http://git-wip-us.apache.org/repos/asf/apex-malhar/tree/032c6672 Diff: http://git-wip-us.apache.org/repos/asf/apex-malhar/diff/032c6672 Branch: refs/heads/master Commit: 032c6672f2b8763ffc75ce89ae26fc2e6f5f266d Parents: 157fb82 Author: Thomas Weise <[email protected]> Authored: Tue Mar 7 19:29:20 2017 -0800 Committer: Thomas Weise <[email protected]> Committed: Tue Mar 7 19:29:20 2017 -0800 ---------------------------------------------------------------------- .../main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/apex-malhar/blob/032c6672/library/src/main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java ---------------------------------------------------------------------- diff --git a/library/src/main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java b/library/src/main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java index 72a1564..fe74471 100644 --- a/library/src/main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java +++ b/library/src/main/java/org/apache/apex/malhar/lib/wal/FileSystemWAL.java @@ -287,6 +287,7 @@ public class FileSystemWAL implements WAL<FileSystemWAL.FileSystemWALReader, Fil private final int partNum; private long offset; + @SuppressWarnings("unused") private FileSystemWALPointer() { //for kryo @@ -336,7 +337,6 @@ public class FileSystemWAL implements WAL<FileSystemWAL.FileSystemWALReader, Fil private transient FileSystemWALPointer currentPointer; private transient DataInputStream inputStream; - private transient Path currentOpenPath; private transient boolean isOpenPathTmp; private final FileSystemWAL fileSystemWAL; @@ -409,7 +409,6 @@ public class FileSystemWAL implements WAL<FileSystemWAL.FileSystemWALReader, Fil if (walPointer.offset > 0) { stream.skip(walPointer.offset); } - currentOpenPath = pathToReadFrom; return stream; } return null;
