Lot of irrelevant warnings of TypeRegexpCheck
"shrey.tcs.sky awasthi" <[email protected]> Wed, 21 Sep 2011 17:05:05 +0100
| Newsgroups | gmane.comp.java.audit.checkstyle.user |
|---|---|
| Message-ID | <CAJtT_0=FZhASioWhZvDGr4rHUq31277Scifr_NScpdz=T=yheQ@mail.gmail.com> |
--===============2347953377640263527==
Content-Type: multipart/alternative; boundary=bcaec529a0934b131504ad75bdc8
--bcaec529a0934b131504ad75bdc8
Content-Type: text/plain; charset=ISO-8859-1
Hi,
We are getting below warnings for all the files in our repository which
are irrelevant for our code as we are using Slf4j logging framework .
Can someone please suggest on what is the Root cause for these warning and
how can they be removed .
1. Required pattern 'System.out is not allowed. Use a logging framework.'
missing in file.
2. Required pattern 'printStacktrace() is not allowed. Use a logging
framework.' missing in file.
3. Required pattern 'java.sql.Statement should be avoided as it allows SQL
injection. Use Preparedstatements.' missing in file.
4. Required pattern 'System.err is not allowed. Use a logging framework.'
missing in file.
Regards,
Shrey
--bcaec529a0934b131504ad75bdc8
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Hi,<br>=A0=A0=A0=A0 We are getting below warnings for all the files in our =
repository which are irrelevant for our code as we are using Slf4j logging =
framework .<br>Can someone please suggest on what is the Root cause for the=
se warning and how can they be removed .<br>
<br>
<p class=3D"MsoNormal"><code><span style=3D"font-size:10.0pt;font-family:&q=
uot;Arial","sans-serif"">1.
Required pattern 'System.out is not allowed. Use a logging framework.&#=
39; missing
in file.</span></code><span style=3D"font-size:9.0pt;font-family:"Aria=
l","sans-serif"">
</span></p>
<p class=3D"MsoNormal"><span style=3D"font-size:9.0pt;font-family:"Ari=
al","sans-serif"">2.
</span><code><span style=3D"font-size:10.0pt;font-family:"Arial",=
"sans-serif"">Required
pattern 'printStacktrace() is not allowed. Use a logging framework.'=
; missing in
file.</span></code><span style=3D"font-size:9.0pt;font-family:"Arial&q=
uot;,"sans-serif"">
</span></p>
<p class=3D"MsoNormal"><code><span style=3D"font-size:10.0pt;font-family:&q=
uot;Arial","sans-serif"">3.
Required pattern 'java.sql.Statement should be avoided as it allows SQL
injection. Use Preparedstatements.' missing in file.</span></code></p>
<p class=3D"MsoNormal"><code><span style=3D"font-size:10.0pt;font-family:&q=
uot;Arial","sans-serif"">4.
Required pattern 'System.err is not allowed. Use a logging framework.&#=
39; missing
in file.</span></code></p>
<br>Regards,<br>Shrey<br><br>
--bcaec529a0934b131504ad75bdc8--
--===============2347953377640263527==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
--===============2347953377640263527==
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
--===============2347953377640263527==--