commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1458057 - /commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml
Date Mon, 18 Mar 2013 23:02:44 GMT
Author: sebb
Date: Mon Mar 18 23:02:44 2013
New Revision: 1458057

URL: http://svn.apache.org/r1458057
Log:
QPD no longer has a magic number
FileUploadBase uses a sensible inline conditional

Modified:
    commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml

Modified: commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml
URL: http://svn.apache.org/viewvc/commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml?rev=1458057&r1=1458056&r2=1458057&view=diff
==============================================================================
--- commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml (original)
+++ commons/proper/fileupload/trunk/src/checkstyle/checkstyle-suppressions.xml Mon Mar 18
23:02:44 2013
@@ -19,6 +19,8 @@
    limitations under the License.
 -->
 <suppressions>
-  <suppress checks="MagicNumber" files="(Base64|QuotedPrintable)Decoder.java" lines="0-9999"/>
+  <suppress checks="MagicNumber" files="Base64Decoder.java" lines="0-9999"/>
+  <!-- This inline conditional is easier to read than the alternative -->
+  <suppress checks="AvoidInlineConditionals" files="FileUploadBase.java" lines="950-960"/>
   <suppress checks="[a-zA-Z0-9]*" files=".+\.properties" />
 </suppressions>



Mime
View raw message