You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by jk...@apache.org on 2017/10/18 09:29:06 UTC

[2/2] tapestry-5 git commit: TAP5-2585: remove useless ternary

TAP5-2585: remove useless ternary


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

Branch: refs/heads/master
Commit: ef290f5360dc89d5544171c1168c93e5f59c0e1e
Parents: c152c38
Author: Jochen Kemnade <jk...@apache.org>
Authored: Wed Oct 18 11:28:00 2017 +0200
Committer: Jochen Kemnade <jk...@apache.org>
Committed: Wed Oct 18 11:28:00 2017 +0200

----------------------------------------------------------------------
 .../java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ef290f53/commons/src/main/java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java
----------------------------------------------------------------------
diff --git a/commons/src/main/java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java b/commons/src/main/java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java
index bd834a5..9bf4d00 100644
--- a/commons/src/main/java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java
+++ b/commons/src/main/java/org/apache/tapestry5/ioc/internal/util/GenericsUtils.java
@@ -574,7 +574,7 @@ public class GenericsUtils
         final boolean isSuper = wt.getLowerBounds().length > 0;
         return String.format("? %s %s",
                 isSuper ? "super" : "extends",
-                isSuper ? toString(wt.getLowerBounds()) : toString(wt.getLowerBounds()));
+                toString(wt.getLowerBounds()));
     }
 
     static String toString(Type[] types)