Re: ModifierOrderCheck and Spring Bean and Valueannotations
"Wippermann, Peter, Vodafone DE" <[email protected]> Mon, 18 Jun 2012 12:13:57 +0200
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <FE32E81BBC732D41BB4D51DEA927B189010AC9D8@VF-MBX41.internal.vodafone.com> |
This is a multi-part message in MIME format. --===============2094472372404508467== Content-class: urn:content-classes:message Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CD4D3B.1241C5CC" This is a multi-part message in MIME format. ------_=_NextPart_001_01CD4D3B.1241C5CC Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 in that case you should open a bug report for this check. I don't see any chance for a DIY fix. =20 Best regards, Peter=20 =20 =20 ________________________________ Von: [email protected] [mailto:[email protected]]=20 Gesendet: Freitag, 15. Juni 2012 10:41 An: [email protected] Betreff: [Checkstyle-user] ModifierOrderCheck and Spring Bean and Valueannotations I am finding an issue where the @Bean and @Value Spring annotations as detailed in section 4.12.3.2 of the Spring reference manual (http://static.springsource.org/spring/docs/3.1.x/spring-framework-refer ence/html/beans.html#beans-java) trip up the ModifierOrderCheck. =20 Apart from removing this check, which I don't want to do, as it is valuable for its normal functionality, does anyone have any ideas or solutions please? =20 TIA =20 Adrian Smith =20 ------_=_NextPart_001_01CD4D3B.1241C5CC Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns=3D"http://www.w3.org/TR/REC-html40" xmlns:v =3D=20 "urn:schemas-microsoft-com:vml" xmlns:o =3D=20 "urn:schemas-microsoft-com:office:office" xmlns:w =3D=20 "urn:schemas-microsoft-com:office:word" xmlns:m =3D=20 "http://schemas.microsoft.com/office/2004/12/omml"><HEAD> <META content=3D"text/html; charset=3Dus-ascii" = http-equiv=3DContent-Type> <META name=3DGENERATOR content=3D"MSHTML 8.00.6001.19222"> <STYLE>@font-face { font-family: Calibri; } @page WordSection1 {size: 612.0pt 792.0pt; margin: 72.0pt 72.0pt 72.0pt = 72.0pt; } P.MsoNormal { MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt; mso-fareast-language: EN-US } LI.MsoNormal { MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt; mso-fareast-language: EN-US } DIV.MsoNormal { MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Calibri","sans-serif"; FONT-SIZE: = 11pt; mso-fareast-language: EN-US } A:link { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99 } A:visited { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99 } SPAN.EmailStyle17 { FONT-FAMILY: "Calibri","sans-serif"; COLOR: windowtext; mso-style-type: = personal-compose } .MsoChpDefault { FONT-FAMILY: "Calibri","sans-serif"; mso-fareast-language: EN-US; = mso-style-type: export-only } DIV.WordSection1 { page: WordSection1 } </STYLE> <!--[if gte mso 9]><xml> <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext=3D"edit"> <o:idmap v:ext=3D"edit" data=3D"1" /> </o:shapelayout></xml><![endif]--></HEAD> <BODY lang=3DEN-GB link=3Dblue vLink=3Dpurple> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>Hi,</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial></FONT></SPAN> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>in that case you should open a bug report for this = check.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>I don't see any chance for a DIY = fix.</FONT></SPAN></DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial></FONT></SPAN> </DIV> <DIV dir=3Dltr align=3Dleft><SPAN class=3D065551210-18062012><FONT = color=3D#0000ff=20 size=3D2 face=3DArial>Best regards,<BR></FONT></SPAN><FONT=20 size=3D2>Peter <BR><BR><BR> </FONT> </DIV> <DIV> </DIV><BR> <DIV dir=3Dltr lang=3Dde class=3DOutlookMessageHeader align=3Dleft> <HR tabIndex=3D-1> <FONT size=3D2 face=3DTahoma><B>Von:</B> [email protected]=20 [mailto:[email protected]] <BR><B>Gesendet:</B> Freitag, 15. Juni = 2012=20 10:41<BR><B>An:</B> = [email protected]<BR><B>Betreff:</B>=20 [Checkstyle-user] ModifierOrderCheck and Spring Bean and=20 Valueannotations<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=3DWordSection1> <P class=3DMsoNormal>I am finding an issue where the @Bean and @Value = Spring=20 annotations as detailed in section 4.12.3.2 of the Spring reference = manual (<A=20 href=3D"http://static.springsource.org/spring/docs/3.1.x/spring-framework= -reference/html/beans.html#beans-java">http://static.springsource.org/spr= ing/docs/3.1.x/spring-framework-reference/html/beans.html#beans-java</A>)= =20 trip up the ModifierOrderCheck.<o:p></o:p></P> <P class=3DMsoNormal><o:p> </o:p></P> <P class=3DMsoNormal>Apart from removing this check, which I don’t = want to do, as=20 it is valuable for its normal functionality, does anyone have any ideas = or=20 solutions please?<o:p></o:p></P> <P class=3DMsoNormal><o:p> </o:p></P> <P class=3DMsoNormal>TIA<o:p></o:p></P> <P class=3DMsoNormal><o:p> </o:p></P> <P class=3DMsoNormal>Adrian Smith<o:p></o:p></P> <P class=3DMsoNormal><o:p> </o:p></P></DIV></BODY></HTML> ------_=_NextPart_001_01CD4D3B.1241C5CC-- --===============2094472372404508467== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ --===============2094472372404508467== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Checkstyle-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/checkstyle-user --===============2094472372404508467==--