Revision: 14725
          http://gate.svn.sourceforge.net/gate/?rev=14725&view=rev
Author:   markagreenwood
Date:     2011-12-10 19:45:23 +0000 (Sat, 10 Dec 2011)
Log Message:
-----------
more simplification to avoid name shadowing

Modified Paths:
--------------
    gate/trunk/src/gate/creole/morph/Morph.java
    gate/trunk/src/gate/creole/tokeniser/SimpleTokeniser.java

Modified: gate/trunk/src/gate/creole/morph/Morph.java
===================================================================
--- gate/trunk/src/gate/creole/morph/Morph.java 2011-12-10 17:24:30 UTC (rev 
14724)
+++ gate/trunk/src/gate/creole/morph/Morph.java 2011-12-10 19:45:23 UTC (rev 
14725)
@@ -42,10 +42,6 @@
     extends AbstractLanguageAnalyser
     implements ProcessingResource, CustomDuplication {
 
-
-  /** Document to be processed by the morpher, must be provided at Runtime. */
-  protected gate.Document document;
-
   /** File which contains rules to be processed */
   protected URL rulesFile;
 
@@ -223,17 +219,7 @@
     fireProcessFinished();
   }
 
-  // getter and setter method
   /**
-   * Sets the document to be processed
-   * @param document - document to be processed
-   */
-  public void setDocument(gate.Document document) {
-    this.document = document;
-  }
-
-
-  /**
    * This method should only be called after init()
    * @param word
    * @return the rootWord
@@ -252,15 +238,7 @@
     return interpret.getAffix();
   }
 
-
   /**
-   * Returns the document under process
-   */
-  public gate.Document getDocument() {
-    return this.document;
-  }
-
-  /**
    * Sets the rule file to be processed
    * @param rulesFileURL - rule File name to be processed
    */

Modified: gate/trunk/src/gate/creole/tokeniser/SimpleTokeniser.java
===================================================================
--- gate/trunk/src/gate/creole/tokeniser/SimpleTokeniser.java   2011-12-10 
17:24:30 UTC (rev 14724)
+++ gate/trunk/src/gate/creole/tokeniser/SimpleTokeniser.java   2011-12-10 
19:45:23 UTC (rev 14725)
@@ -565,17 +565,6 @@
     return res;
   } // getDFSMgml
 
-  //no doc required: javadoc will copy it from the interface
-  /**    */
-  public FeatureMap getFeatures(){
-    return features;
-  } // getFeatures
-
-  /**    */
-  public void setFeatures(FeatureMap features){
-    this.features = features;
-  } // setFeatures
-
   /**
    * The method that does the actual tokenisation.
    */
@@ -757,9 +746,6 @@
     return encoding;
   }
 
-  /**    */
-  protected FeatureMap features  = null;
-
   /** the annotations et where the new annotations will be adde
    */
   protected String annotationSetName;

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to