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 2016/10/13 15:49:07 UTC
svn commit: r1764715 -
/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java
Author: schor
Date: Thu Oct 13 15:49:07 2016
New Revision: 1764715
URL: http://svn.apache.org/viewvc?rev=1764715&view=rev
Log:
no Jira, remove unused "remove" method (remove handled at higher level than this class)
Modified:
uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java
Modified: uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java
URL: http://svn.apache.org/viewvc/uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java?rev=1764715&r1=1764714&r2=1764715&view=diff
==============================================================================
--- uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java (original)
+++ uima/uimaj/branches/experiment-v3-jcas/uimaj-core/src/main/java/org/apache/uima/cas/impl/FsIndex_singletype.java Thu Oct 13 15:49:07 2016
@@ -157,16 +157,16 @@ public abstract class FsIndex_singletype
*/
abstract void insert(T fs); // not in upper interfaces because it's internal use only
- /**
- * @param fs - the Feature Structure to be removed.
- * Only this exact Feature Structure is removed (this is a stronger test than, for example,
- * what moveTo(fs) does, where the fs in that case is used as a template).
- * It is not an error if this exact Feature Structure is not in an index.
- * @return true if something was removed, false if not found
- */
- boolean remove(int fs) {
- return deleteFS((T) getCasImpl().getFsFromId_checked(fs));
- }
+// /**
+// * @param fs - the Feature Structure to be removed.
+// * Only this exact Feature Structure is removed (this is a stronger test than, for example,
+// * what moveTo(fs) does, where the fs in that case is used as a template).
+// * It is not an error if this exact Feature Structure is not in an index.
+// * @return true if something was removed, false if not found
+// */
+// boolean remove(int fs) {
+// return deleteFS((T) getCasImpl().getFsFromId_checked(fs));
+// }
/**
* @param fs - the Feature Structure to be removed.
@@ -424,6 +424,7 @@ public abstract class FsIndex_singletype
@Override
public void flush() {
wr_cow = null;
+// casImpl.indexRepository.isUsedChanged = true;
}