nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From marka...@apache.org
Subject [11/13] nifi git commit: NIFI-744: Fixed checkstyle errors
Date Thu, 06 Aug 2015 13:02:45 GMT
NIFI-744: Fixed checkstyle errors


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/bcdc586a
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/bcdc586a
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/bcdc586a

Branch: refs/heads/NIFI-744
Commit: bcdc586a6e2b7931285097d91a1a1dc45a61e3e8
Parents: fe25ae0
Author: Mark Payne <markap14@hotmail.com>
Authored: Tue Aug 4 10:13:02 2015 -0400
Committer: Mark Payne <markap14@hotmail.com>
Committed: Tue Aug 4 10:13:02 2015 -0400

----------------------------------------------------------------------
 .../repository/FileSystemRepository.java        |  2 +-
 .../repository/StandardProcessSession.java      | 20 ++++++++++----------
 .../repository/claim/StandardContentClaim.java  |  6 +++---
 3 files changed, 14 insertions(+), 14 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/bcdc586a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
index 31835dc..0a9acc4 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/FileSystemRepository.java
@@ -765,7 +765,7 @@ public class FileSystemRepository implements ContentRepository {
 
         // see javadocs for claim.getLength() as to why we do this.
         if (claim.getLength() < 0) {
-			return Files.size(getPath(claim, true)) - claim.getOffset();
+            return Files.size(getPath(claim, true)) - claim.getOffset();
         }
 
         return claim.getLength();

http://git-wip-us.apache.org/repos/asf/nifi/blob/bcdc586a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
index 14660aa..20dc1a4 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java
@@ -1918,11 +1918,11 @@ public final class StandardProcessSession implements ProcessSession,
ProvenanceE
 
         removeTemporaryClaim(record);
         final FlowFileRecord newFile = new StandardFlowFileRecord.Builder()
-        	.fromFlowFile(record.getCurrent())
-        	.contentClaim(newClaim)
-        	.contentClaimOffset(0)
-        	.size(writtenHolder.getValue())
-        	.build();
+            .fromFlowFile(record.getCurrent())
+            .contentClaim(newClaim)
+            .contentClaimOffset(0)
+            .size(writtenHolder.getValue())
+            .build();
 
         record.setWorking(newFile);
         return newFile;
@@ -2128,11 +2128,11 @@ public final class StandardProcessSession implements ProcessSession,
ProvenanceE
 
         removeTemporaryClaim(record);
         final FlowFileRecord newFile = new StandardFlowFileRecord.Builder()
-        	.fromFlowFile(record.getCurrent())
-        	.contentClaim(newClaim)
-        	.contentClaimOffset(0L)
-        	.size(writtenHolder.getValue())
-        	.build();
+            .fromFlowFile(record.getCurrent())
+            .contentClaim(newClaim)
+            .contentClaimOffset(0L)
+            .size(writtenHolder.getValue())
+            .build();
 
         record.setWorking(newFile);
         return newFile;

http://git-wip-us.apache.org/repos/asf/nifi/blob/bcdc586a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/claim/StandardContentClaim.java
----------------------------------------------------------------------
diff --git a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/claim/StandardContentClaim.java
b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/claim/StandardContentClaim.java
index 62ff276..ea047c7 100644
--- a/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/claim/StandardContentClaim.java
+++ b/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-core/src/main/java/org/apache/nifi/controller/repository/claim/StandardContentClaim.java
@@ -41,11 +41,11 @@ public final class StandardContentClaim implements ContentClaim, Comparable<Cont
         this.length = length;
     }
 
-	@Override
-	public int hashCode() {
+    @Override
+    public int hashCode() {
         final int prime = 31;
         int result = 1;
-		result = prime * result;
+        result = prime * result;
         result = prime * result + (int) (length ^ length >>> 32);
         result = prime * result + (int) (offset ^ offset >>> 32);
         result = prime * result + (resourceClaim == null ? 0 : resourceClaim.hashCode());


Mime
View raw message