bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject [48/51] [abbrv] bval git commit: hidden type parameter
Date Fri, 03 Nov 2017 22:28:13 GMT
hidden type parameter


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

Branch: refs/heads/master
Commit: 7b76dc3301a73920f8e6012d00630a3deab02996
Parents: e1d7c6c
Author: Matt Benson <mbenson@apache.org>
Authored: Fri May 26 18:19:56 2017 +0000
Committer: Matt Benson <mbenson@apache.org>
Committed: Fri May 26 18:19:56 2017 +0000

----------------------------------------------------------------------
 .../main/java/org/apache/bval/jsr/GroupValidationContextImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bval/blob/7b76dc33/bval-jsr/src/main/java/org/apache/bval/jsr/GroupValidationContextImpl.java
----------------------------------------------------------------------
diff --git a/bval-jsr/src/main/java/org/apache/bval/jsr/GroupValidationContextImpl.java b/bval-jsr/src/main/java/org/apache/bval/jsr/GroupValidationContextImpl.java
index 5477467..3217d0e 100644
--- a/bval-jsr/src/main/java/org/apache/bval/jsr/GroupValidationContextImpl.java
+++ b/bval-jsr/src/main/java/org/apache/bval/jsr/GroupValidationContextImpl.java
@@ -308,7 +308,7 @@ final class GroupValidationContextImpl<T> extends BeanValidationContext<Constrai
     }
 
     @Override
-    public <T> T unwrap(Class<T> type) {
+    public <U> U unwrap(Class<U> type) {
         if (type.isInstance(this)) {
             return type.cast(this);
         }


Mime
View raw message