ctakes-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seanfi...@apache.org
Subject svn commit: r1628529 - in /ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util: LookupUtil.java TokenMatchUtil.java
Date Tue, 30 Sep 2014 19:56:39 GMT
Author: seanfinan
Date: Tue Sep 30 19:56:38 2014
New Revision: 1628529

URL: http://svn.apache.org/r1628529
Log:
Nothing but a couple of spaces caused by auto-formatting

Modified:
    ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/LookupUtil.java
    ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/TokenMatchUtil.java

Modified: ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/LookupUtil.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/LookupUtil.java?rev=1628529&r1=1628528&r2=1628529&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/LookupUtil.java
(original)
+++ ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/LookupUtil.java
Tue Sep 30 19:56:38 2014
@@ -42,7 +42,7 @@ final public class LookupUtil {
    static public String[] fastSplit( final String line, final char c ) {
       int nextSplit = line.indexOf( c );
       if ( nextSplit < 0 ) {
-         return new String[]{ line };
+         return new String[] { line };
       }
       final List<String> splits = new ArrayList<String>();
       int lastSplit = -1;
@@ -54,7 +54,7 @@ final public class LookupUtil {
       if ( lastSplit + 1 < line.length() ) {
          splits.add( line.substring( lastSplit + 1 ) );
       }
-      return splits.toArray( new String[splits.size()] );
+      return splits.toArray( new String[ splits.size() ] );
    }
 
 }

Modified: ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/TokenMatchUtil.java
URL: http://svn.apache.org/viewvc/ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/TokenMatchUtil.java?rev=1628529&r1=1628528&r2=1628529&view=diff
==============================================================================
--- ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/TokenMatchUtil.java
(original)
+++ ctakes/trunk/ctakes-dictionary-lookup-fast/src/main/java/org/apache/ctakes/dictionary/lookup2/util/TokenMatchUtil.java
Tue Sep 30 19:56:38 2014
@@ -87,7 +87,7 @@ final public class TokenMatchUtil {
          return false;
       }
       for ( int tokenCharIndex = 0; tokenCharIndex < tokenChars.length; tokenCharIndex++
) {
-         if ( tokenChars[tokenCharIndex] != rareWordHitChars[hitCharIndex + tokenCharIndex]
) {
+         if ( tokenChars[ tokenCharIndex ] != rareWordHitChars[ hitCharIndex + tokenCharIndex
] ) {
             return false;
          }
       }



Mime
View raw message