Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-03-31 16:33:29 +0000
committerslewis2009-03-31 16:33:29 +0000
commit80e85e66a219f93123e4368edcb380eb9417909c (patch)
tree7c6065386fab0499752b75d3251b482df10ca733
parent52ed024317ea02d88de3f745f7db3e8706ca4124 (diff)
downloadorg.eclipse.ecf-80e85e66a219f93123e4368edcb380eb9417909c.tar.gz
org.eclipse.ecf-80e85e66a219f93123e4368edcb380eb9417909c.tar.xz
org.eclipse.ecf-80e85e66a219f93123e4368edcb380eb9417909c.zip
Fix for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=270516
-rw-r--r--framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRemoteFileInfo.java13
1 files changed, 8 insertions, 5 deletions
diff --git a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRemoteFileInfo.java b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRemoteFileInfo.java
index 1a24e6b6f..406d87b16 100644
--- a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRemoteFileInfo.java
+++ b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRemoteFileInfo.java
@@ -18,25 +18,28 @@ package org.eclipse.ecf.filetransfer;
*/
public interface IRemoteFileInfo {
- public static final int NONE = -1;
+ public static final int NO_LENGTH = -1;
+
+ public static final int NO_LAST_MODIFIED = 0;
/**
- * Returns the last modified time for this file, or {@link #NONE}
+ * Returns the last modified time for this file, or {@link #NO_LAST_MODIFIED }
* if the file does not exist or the last modified time could not be computed.
* <p>
* The time is represented as the number of Universal Time (UT)
* milliseconds since the epoch (00:00:00 GMT, January 1, 1970).
* </p>
*
- * @return the last modified time for this file, or {@link #NONE}
+ * @return the last modified time for this file, or {@link #NO_LAST_MODIFIED } if file
+ * does not exist or last modified not known or could not be computed.
*/
public long getLastModified();
/**
- * Returns the length of this file, or {@link #NONE}
+ * Returns the length of this file, or {@link #NO_LENGTH}
* if the file does not exist, is a directory, or the length could not be computed.
*
- * @return the length of this file, or {@link #NONE}
+ * @return the length of this file, or {@link #NO_LENGTH}
*/
public long getLength();

Back to the top