You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@creadur.apache.org by se...@apache.org on 2013/04/05 18:31:19 UTC

svn commit: r1465028 - /creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java

Author: sebb
Date: Fri Apr  5 16:31:18 2013
New Revision: 1465028

URL: http://svn.apache.org/r1465028
Log:
Make Eclipse happy and make empty loop obvious

Modified:
    creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java

Modified: creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java
URL: http://svn.apache.org/viewvc/creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java?rev=1465028&r1=1465027&r2=1465028&view=diff
==============================================================================
--- creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java (original)
+++ creadur/rat/trunk/apache-rat-core/src/main/java/org/apache/rat/analysis/HeaderCheckWorker.java Fri Apr  5 16:31:18 2013
@@ -81,7 +81,9 @@ class HeaderCheckWorker {
             final StringBuffer headers = new StringBuffer();
             headerLinesToRead = numberOfRetainedHeaderLines;
             try {
-                while(readLine(headers));
+                while(readLine(headers)) {
+                    // do nothing
+                }
                 if (!match) {
                     final String notes = headers.toString();
                     final MetaData metaData = subject.getMetaData();