You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2007/05/21 23:00:15 UTC

svn commit: r540295 - /incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java

Author: schor
Date: Mon May 21 14:00:14 2007
New Revision: 540295

URL: http://svn.apache.org/viewvc?view=rev&rev=540295
Log:
[UIMA-409] make some methods package-private instead of public

Modified:
    incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java

Modified: incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java?view=diff&rev=540295&r1=540294&r2=540295
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-tools/src/main/java/org/apache/uima/tools/cvd/FSNode.java Mon May 21 14:00:14 2007
@@ -29,7 +29,7 @@
 import org.apache.uima.cas.impl.LowLevelCAS;
 import org.apache.uima.cas.text.AnnotationFS;
 
-public class FSNode extends FSTreeNode {
+class FSNode extends FSTreeNode {
 
   private static final int maxStringLength = 100;
   
@@ -331,7 +331,7 @@
     return cas.getTypeSystemImpl().getType(cas.getHeapValue((int) this.addr));
   }
 
-  public boolean isAnnotation() {
+  boolean isAnnotation() {
     CASImpl cas = this.fSTreeModel.getCas();
     if (this.nodeClass != STD_FS || this.addr == 0) {
       return false;
@@ -344,7 +344,7 @@
     return false;
   }
 
-  public int getStart() {
+  int getStart() {
     CASImpl cas = this.fSTreeModel.getCas();
     if (isAnnotation()) {
       final FeatureImpl feat1 = (FeatureImpl) cas.getBeginFeature();
@@ -353,7 +353,7 @@
     return -1;
   }
 
-  public int getEnd() {
+  int getEnd() {
     CASImpl cas = this.fSTreeModel.getCas();
     if (isAnnotation()) {
       final FeatureImpl feat1 = (FeatureImpl) cas.getEndFeature();