You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2020/06/23 01:48:11 UTC

[commons-text] branch master updated: Remove trailing whitespace.

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-text.git


The following commit(s) were added to refs/heads/master by this push:
     new 4afbb38  Remove trailing whitespace.
4afbb38 is described below

commit 4afbb387edb5ff5dc45469d3d031814b4fdab106
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Jun 22 21:48:01 2020 -0400

    Remove trailing whitespace.
---
 .../org/apache/commons/text/matcher/AbstractStringMatcher.java | 10 +++++-----
 .../java/org/apache/commons/text/matcher/StringMatcher.java    |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/commons/text/matcher/AbstractStringMatcher.java b/src/main/java/org/apache/commons/text/matcher/AbstractStringMatcher.java
index c38d723..a5b71c4 100644
--- a/src/main/java/org/apache/commons/text/matcher/AbstractStringMatcher.java
+++ b/src/main/java/org/apache/commons/text/matcher/AbstractStringMatcher.java
@@ -65,7 +65,7 @@ abstract class AbstractStringMatcher implements StringMatcher {
         public int isMatch(final char[] buffer, final int start, final int bufferStart, final int bufferEnd) {
             return ch == buffer[start] ? 1 : 0;
         }
-        
+
         /**
          * Returns 1.
          *
@@ -114,7 +114,7 @@ abstract class AbstractStringMatcher implements StringMatcher {
         public int isMatch(final char[] buffer, final int start, final int bufferStart, final int bufferEnd) {
             return Arrays.binarySearch(chars, buffer[start]) >= 0 ? 1 : 0;
         }
-        
+
         /**
          * Returns 1.
          *
@@ -156,7 +156,7 @@ abstract class AbstractStringMatcher implements StringMatcher {
         public int isMatch(final char[] buffer, final int start, final int bufferStart, final int bufferEnd) {
             return 0;
         }
-        
+
         /**
          * Returns 0.
          *
@@ -219,7 +219,7 @@ abstract class AbstractStringMatcher implements StringMatcher {
         public String toString() {
             return super.toString() + ' ' + Arrays.toString(chars);
         }
-        
+
         /**
          * Returns the size of the string to match given in the constructor.
          *
@@ -266,7 +266,7 @@ abstract class AbstractStringMatcher implements StringMatcher {
         public int isMatch(final char[] buffer, final int start, final int bufferStart, final int bufferEnd) {
             return buffer[start] <= SPACE_INT ? 1 : 0;
         }
-        
+
         /**
          * Returns 1.
          *
diff --git a/src/main/java/org/apache/commons/text/matcher/StringMatcher.java b/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
index 07925fa..39d9a45 100644
--- a/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
+++ b/src/main/java/org/apache/commons/text/matcher/StringMatcher.java
@@ -58,7 +58,7 @@ public interface StringMatcher {
 
     /**
      * Returns the size of the matching string. Defaults to 0.
-     *  
+     *
      * @return the size of the matching string.
      * @since 1.9
      */