struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Nenning <Christoph.Nenn...@lex-com.net>
Subject Re: Bean Validation Plugin in 2.5
Date Mon, 15 Jun 2015 07:11:24 GMT
> From: Johannes Geppert <jogep@apache.org>
> To: Struts Developers List <dev@struts.apache.org>, 
> Date: 15.06.2015 08:58
> Subject: Re: Bean Validation Plugin in 2.5
> 
> Hi Christoph,
> 
> I reverted some of your changes because it has broken the build.
> 
> [ERROR] /home/jenkins/jenkins-slave/workspace/Struts-JDK7-master/
> plugins/bean-validation/src/main/java/org/apache/struts/
> beanvalidation/validation/interceptor/
> DefaultBeanValidationManager.java:[88,43]
> error: invalid inferred types for T; inferred type does not conform to
> declared bound(s)
> 
> 
> See: https://builds.apache.org/job/Struts-JDK7-master/312/console
> 
> May we found another solution for that.
> 
> Johannes
> 
> 

Weird. I would leave it without type parameters. Having less warnings 
would be nice but those type parmeters were quite long and made code 
harder to read. And there were still warnings present. The bean validation 
API makes it really hard to use it without warnings :(


Christoph

This Email was scanned by Sophos Anti Virus

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message