creadur-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rdon...@apache.org
Subject svn commit: r1549218 - /creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java
Date Sun, 08 Dec 2013 20:50:16 GMT
Author: rdonkin
Date: Sun Dec  8 20:50:15 2013
New Revision: 1549218

URL: http://svn.apache.org/r1549218
Log:
Format Code.

Modified:
    creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java

Modified: creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java
URL: http://svn.apache.org/viewvc/creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java?rev=1549218&r1=1549217&r2=1549218&view=diff
==============================================================================
--- creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java
(original)
+++ creadur/rat/branches/gsoc/apache-rat-core/src/main/java/org/apache/rat/header/ArrayCharFilter.java
Sun Dec  8 20:50:15 2013
@@ -15,29 +15,29 @@
  * KIND, either express or implied.  See the License for the    *
  * specific language governing permissions and limitations      *
  * under the License.                                           *
- */ 
+ */
 package org.apache.rat.header;
 
 class ArrayCharFilter implements CharFilter {
 
-    private final char[] filtered;
-    private final int length;
-    
-    protected ArrayCharFilter(final char[] filtered) {
-        super();
-        this.filtered = filtered;
-        length = filtered.length;
-    }
+	private final char[] filtered;
+	private final int length;
 
-    public boolean isFilteredOut(char character) {
-        boolean result = false;
-        for(int i=0; i<length ;i++) {
-            if (character == filtered[i]) {
-                result = true;
-                break;
-            }
-        }
-        return result;
-    }
+	protected ArrayCharFilter(final char[] filtered) {
+		super();
+		this.filtered = filtered;
+		length = filtered.length;
+	}
+
+	public boolean isFilteredOut(char character) {
+		boolean result = false;
+		for (int i = 0; i < length; i++) {
+			if (character == filtered[i]) {
+				result = true;
+				break;
+			}
+		}
+		return result;
+	}
 
 }



Mime
View raw message