apex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sand...@apache.org
Subject apex-malhar git commit: Remove unused variable and warning.
Date Wed, 08 Mar 2017 04:49:55 GMT
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 <thw@apache.org>
Authored: Tue Mar 7 19:29:20 2017 -0800
Committer: Thomas Weise <thw@apache.org>
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;


Mime
View raw message