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 2018/02/10 17:39:57 UTC
ant git commit: Java8 refactoring has stripped encoding of DNs
Repository: ant
Updated Branches:
refs/heads/master f690f9908 -> debd9484f
Java8 refactoring has stripped encoding of DNs
Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/debd9484
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/debd9484
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/debd9484
Branch: refs/heads/master
Commit: debd9484f8e210fd9a83562d8cf3c7028d4611f4
Parents: f690f99
Author: Stefan Bodewig <bo...@apache.org>
Authored: Sat Feb 10 18:39:02 2018 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Sat Feb 10 18:39:37 2018 +0100
----------------------------------------------------------------------
src/main/org/apache/tools/ant/taskdefs/GenerateKey.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ant/blob/debd9484/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java b/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java
index 7270e67..9c9fc16 100644
--- a/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java
+++ b/src/main/org/apache/tools/ant/taskdefs/GenerateKey.java
@@ -116,7 +116,7 @@ public class GenerateKey extends Task {
*/
@Override
public String toString() {
- return params.stream().map(p -> p.getName() + "=" + p.getValue())
+ return params.stream().map(p -> encode(p.getName()) + "=" + encode(p.getValue()))
.collect(Collectors.joining(", "));
}