You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@opennlp.apache.org by jo...@apache.org on 2016/12/19 22:43:11 UTC

[05/14] opennlp git commit: Remove unnecessary static modifier from enum

Remove unnecessary static modifier from enum

See issue OPENNLP-871


Project: http://git-wip-us.apache.org/repos/asf/opennlp/repo
Commit: http://git-wip-us.apache.org/repos/asf/opennlp/commit/cd6b11dc
Tree: http://git-wip-us.apache.org/repos/asf/opennlp/tree/cd6b11dc
Diff: http://git-wip-us.apache.org/repos/asf/opennlp/diff/cd6b11dc

Branch: refs/heads/trunk
Commit: cd6b11dc616de890f3072876aeff656ed66eefd1
Parents: 9e1e77d
Author: J�rn Kottmann <jo...@apache.org>
Authored: Fri Oct 28 21:46:15 2016 +0200
Committer: J�rn Kottmann <jo...@apache.org>
Committed: Mon Dec 19 23:37:32 2016 +0100

----------------------------------------------------------------------
 .../main/java/opennlp/tools/namefind/RegexNameFinderFactory.java   | 2 +-
 .../main/java/opennlp/tools/tokenize/DetokenizationDictionary.java | 2 +-
 .../src/main/java/opennlp/tools/tokenize/Detokenizer.java          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/opennlp/blob/cd6b11dc/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java
----------------------------------------------------------------------
diff --git a/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java b/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java
index 0c13577..b72d3a9 100644
--- a/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java
+++ b/opennlp-tools/src/main/java/opennlp/tools/namefind/RegexNameFinderFactory.java
@@ -107,7 +107,7 @@ public class RegexNameFinderFactory {
     public String getType();
   }
 
-  public static enum DEFAULT_REGEX_NAME_FINDER implements RegexAble {
+  public enum DEFAULT_REGEX_NAME_FINDER implements RegexAble {
 
     USA_PHONE_NUM {
       @Override

http://git-wip-us.apache.org/repos/asf/opennlp/blob/cd6b11dc/opennlp-tools/src/main/java/opennlp/tools/tokenize/DetokenizationDictionary.java
----------------------------------------------------------------------
diff --git a/opennlp-tools/src/main/java/opennlp/tools/tokenize/DetokenizationDictionary.java b/opennlp-tools/src/main/java/opennlp/tools/tokenize/DetokenizationDictionary.java
index 44f38c5..2fbb4a3 100644
--- a/opennlp-tools/src/main/java/opennlp/tools/tokenize/DetokenizationDictionary.java
+++ b/opennlp-tools/src/main/java/opennlp/tools/tokenize/DetokenizationDictionary.java
@@ -33,7 +33,7 @@ import opennlp.tools.util.StringList;
 
 public class DetokenizationDictionary {
 
-  public static enum Operation {
+  public enum Operation {
 
     /**
      * Attaches the token to the token on the right side.

http://git-wip-us.apache.org/repos/asf/opennlp/blob/cd6b11dc/opennlp-tools/src/main/java/opennlp/tools/tokenize/Detokenizer.java
----------------------------------------------------------------------
diff --git a/opennlp-tools/src/main/java/opennlp/tools/tokenize/Detokenizer.java b/opennlp-tools/src/main/java/opennlp/tools/tokenize/Detokenizer.java
index ee90720..c962aa4 100644
--- a/opennlp-tools/src/main/java/opennlp/tools/tokenize/Detokenizer.java
+++ b/opennlp-tools/src/main/java/opennlp/tools/tokenize/Detokenizer.java
@@ -27,7 +27,7 @@ public interface Detokenizer {
    * This enum contains an operation for every token to merge the
    * tokens together to their detokenized form.
    */
-  public static enum DetokenizationOperation {
+  public enum DetokenizationOperation {
     /**
      * The current token should be attached to the begin token on the right side.
      */