You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2016/12/20 21:27:35 UTC

[1/3] ant git commit: Sonar's idea of Streams is a bit strange

Repository: ant
Updated Branches:
  refs/heads/master 2bb5b057d -> 1f045ecb3


Sonar's idea of Streams is a bit strange


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

Branch: refs/heads/master
Commit: 197ed22d54cc92611c2d39f19b845ebf824ea8e6
Parents: 2bb5b05
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Dec 20 22:25:11 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Dec 20 22:25:11 2016 +0100

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/SetPermissions.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/197ed22d/src/main/org/apache/tools/ant/taskdefs/SetPermissions.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/SetPermissions.java b/src/main/org/apache/tools/ant/taskdefs/SetPermissions.java
index 7518077..052c569 100644
--- a/src/main/org/apache/tools/ant/taskdefs/SetPermissions.java
+++ b/src/main/org/apache/tools/ant/taskdefs/SetPermissions.java
@@ -85,7 +85,7 @@ public class SetPermissions extends Task {
      */
     public void setPermissions(String perms) {
         if (perms != null) {
-            Arrays.stream(perms.split(","))
+            Arrays.stream(perms.split(",")) //NOSONAR
                 .map(String::trim)
                 .filter(s -> !s.isEmpty())
                 .map(s -> Enum.valueOf(PosixFilePermission.class, s))


[3/3] ant git commit: Merge branch '1.9.x'

Posted by bo...@apache.org.
Merge branch '1.9.x'


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

Branch: refs/heads/master
Commit: 1f045ecb31fc97340e7dce1c70e133a62e1e4271
Parents: 197ed22 99deebc
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Dec 20 22:27:22 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Dec 20 22:27:22 2016 +0100

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------



[2/3] ant git commit: not sure what Sonar sees here but not a few lines later

Posted by bo...@apache.org.
not sure what Sonar sees here but not a few lines later


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

Branch: refs/heads/master
Commit: 99deebc03041567403d275478094bb188ebe657d
Parents: c8a72df
Author: Stefan Bodewig <bo...@apache.org>
Authored: Tue Dec 20 22:26:50 2016 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Tue Dec 20 22:26:50 2016 +0100

----------------------------------------------------------------------
 src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/99deebc0/src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java b/src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java
index a48ed96..765841d 100644
--- a/src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java
+++ b/src/main/org/apache/tools/ant/taskdefs/optional/Rpm.java
@@ -151,7 +151,7 @@ public class Rpm extends Task {
             if (output != null) {
                 FileOutputStream fos = null;
                 try {
-                    fos = new FileOutputStream(output);
+                    fos = new FileOutputStream(output); //NOSONAR
                     BufferedOutputStream bos = new BufferedOutputStream(fos);
                     outputstream = new PrintStream(bos);
                 } catch (IOException e) {