Revision: 17525
http://sourceforge.net/p/gate/code/17525
Author: markagreenwood
Date: 2014-03-04 11:26:16 +0000 (Tue, 04 Mar 2014)
Log Message:
-----------
added @Deprecated annotations rather than just relying on the old @deprecated
javadoc comments
Modified Paths:
--------------
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/Analyzer.java
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/standard/CharStream.java
gate/trunk/src/main/gate/creole/annic/apache/lucene/index/IndexReader.java
gate/trunk/src/main/gate/creole/annic/apache/lucene/store/Lock.java
Modified:
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/Analyzer.java
===================================================================
--- gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/Analyzer.java
2014-03-04 10:54:05 UTC (rev 17524)
+++ gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/Analyzer.java
2014-03-04 11:26:16 UTC (rev 17525)
@@ -45,6 +45,7 @@
* @deprecated use tokenStream(String, Reader) instead.
* @see #tokenStream(String, Reader)
*/
+ @Deprecated
public TokenStream tokenStream(Reader reader)
{
return tokenStream(null, reader);
Modified:
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/standard/CharStream.java
===================================================================
---
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/standard/CharStream.java
2014-03-04 10:54:05 UTC (rev 17524)
+++
gate/trunk/src/main/gate/creole/annic/apache/lucene/analysis/standard/CharStream.java
2014-03-04 11:26:16 UTC (rev 17525)
@@ -30,6 +30,7 @@
* @deprecated
* @see #getEndColumn
*/
+ @Deprecated
int getColumn();
/**
@@ -37,6 +38,7 @@
* @deprecated
* @see #getEndLine
*/
+ @Deprecated
int getLine();
/**
Modified:
gate/trunk/src/main/gate/creole/annic/apache/lucene/index/IndexReader.java
===================================================================
--- gate/trunk/src/main/gate/creole/annic/apache/lucene/index/IndexReader.java
2014-03-04 10:54:05 UTC (rev 17524)
+++ gate/trunk/src/main/gate/creole/annic/apache/lucene/index/IndexReader.java
2014-03-04 11:26:16 UTC (rev 17525)
@@ -141,6 +141,7 @@
*
* @deprecated Replaced by {@link #getCurrentVersion(String)}
* */
+ @Deprecated
public static long lastModified(String directory) throws IOException {
return lastModified(new File(directory));
}
@@ -156,6 +157,7 @@
*
* @deprecated Replaced by {@link #getCurrentVersion(File)}
* */
+ @Deprecated
public static long lastModified(File directory) throws IOException {
return FSDirectory.fileModified(directory, "segments");
}
@@ -171,6 +173,7 @@
*
* @deprecated Replaced by {@link #getCurrentVersion(Directory)}
* */
+ @Deprecated
public static long lastModified(Directory directory) throws IOException {
return directory.fileModified("segments");
}
Modified: gate/trunk/src/main/gate/creole/annic/apache/lucene/store/Lock.java
===================================================================
--- gate/trunk/src/main/gate/creole/annic/apache/lucene/store/Lock.java
2014-03-04 10:54:05 UTC (rev 17524)
+++ gate/trunk/src/main/gate/creole/annic/apache/lucene/store/Lock.java
2014-03-04 11:26:16 UTC (rev 17525)
@@ -84,6 +84,7 @@
* Defaults lockWaitTimeout to Lock.COMMIT_LOCK_TIMEOUT.
* @deprecated Kept only to avoid breaking existing code.
*/
+ @Deprecated
public With(Lock lock)
{
this(lock, IndexWriter.COMMIT_LOCK_TIMEOUT);
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs