You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2008/12/06 12:00:40 UTC
svn commit: r723969 -
/commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java
Author: sebb
Date: Sat Dec 6 03:00:40 2008
New Revision: 723969
URL: http://svn.apache.org/viewvc?rev=723969&view=rev
Log:
Add missing @Deprecated annotations
Modified:
commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java
Modified: commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java
URL: http://svn.apache.org/viewvc/commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java?rev=723969&r1=723968&r2=723969&view=diff
==============================================================================
--- commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java (original)
+++ commons/proper/io/trunk/src/java/org/apache/commons/io/FileCleaner.java Sat Dec 6 03:00:40 2008
@@ -55,6 +55,7 @@
* @throws NullPointerException if the file is null
* @deprecated Use {@link FileCleaningTracker#track(File, Object)}.
*/
+ @Deprecated
public static void track(File file, Object marker) {
theInstance.track(file, marker);
}
@@ -70,6 +71,7 @@
* @throws NullPointerException if the file is null
* @deprecated Use {@link FileCleaningTracker#track(File, Object, FileDeleteStrategy)}.
*/
+ @Deprecated
public static void track(File file, Object marker, FileDeleteStrategy deleteStrategy) {
theInstance.track(file, marker, deleteStrategy);
}
@@ -84,6 +86,7 @@
* @throws NullPointerException if the path is null
* @deprecated Use {@link FileCleaningTracker#track(String, Object)}.
*/
+ @Deprecated
public static void track(String path, Object marker) {
theInstance.track(path, marker);
}
@@ -99,6 +102,7 @@
* @throws NullPointerException if the path is null
* @deprecated Use {@link FileCleaningTracker#track(String, Object, FileDeleteStrategy)}.
*/
+ @Deprecated
public static void track(String path, Object marker, FileDeleteStrategy deleteStrategy) {
theInstance.track(path, marker, deleteStrategy);
}
@@ -111,6 +115,7 @@
* @return the number of files being tracked
* @deprecated Use {@link FileCleaningTracker#getTrackCount()}.
*/
+ @Deprecated
public static int getTrackCount() {
return theInstance.getTrackCount();
}
@@ -137,6 +142,7 @@
* One called, no new objects can be tracked by the file cleaner.
* @deprecated Use {@link FileCleaningTracker#exitWhenFinished()}.
*/
+ @Deprecated
public static synchronized void exitWhenFinished() {
theInstance.exitWhenFinished();
}