Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2004-01-13 17:55:33 +0000
committerDani Megert2004-01-13 17:55:33 +0000
commit27df1f4d03a0cae39533e5a1b1da7dc0aee3c00a (patch)
treecd3472f9a949bf7cf6300b2e740ef0fa8107eddf /org.eclipse.core.filebuffers
parent5a4cedd9c331fc8ec30f64153e2df51a0b9c782c (diff)
downloadeclipse.platform.text-27df1f4d03a0cae39533e5a1b1da7dc0aee3c00a.tar.gz
eclipse.platform.text-27df1f4d03a0cae39533e5a1b1da7dc0aee3c00a.tar.xz
eclipse.platform.text-27df1f4d03a0cae39533e5a1b1da7dc0aee3c00a.zip
Fixed bug 47460: [implementation] IFileBuffer.getModifcationStamp spelling
Diffstat (limited to 'org.eclipse.core.filebuffers')
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBuffer.java2
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/JavaFileBuffer.java4
-rw-r--r--org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java4
3 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBuffer.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBuffer.java
index 8ae2afeea..28b82b12f 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBuffer.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/IFileBuffer.java
@@ -126,5 +126,5 @@ public interface IFileBuffer {
*
* @return the modification stamp of the file underlying this file buffer
*/
- long getModifcationStamp();
+ long getModificationStamp();
}
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/JavaFileBuffer.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/JavaFileBuffer.java
index e7b6c506d..d636116ad 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/JavaFileBuffer.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/JavaFileBuffer.java
@@ -196,9 +196,9 @@ public abstract class JavaFileBuffer extends AbstractFileBuffer {
}
/*
- * @see org.eclipse.core.filebuffers.IFileBuffer#getModifcationStamp()
+ * @see org.eclipse.core.filebuffers.IFileBuffer#getModificationStamp()
*/
- public long getModifcationStamp() {
+ public long getModificationStamp() {
return fFile.lastModified();
}
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
index 0024eff38..d28d10ba0 100644
--- a/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
+++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/internal/filebuffers/ResourceFileBuffer.java
@@ -381,9 +381,9 @@ public abstract class ResourceFileBuffer extends AbstractFileBuffer {
}
/*
- * @see org.eclipse.core.filebuffers.IFileBuffer#getModifcationStamp()
+ * @see org.eclipse.core.filebuffers.IFileBuffer#getModificationStamp()
*/
- public long getModifcationStamp() {
+ public long getModificationStamp() {
File file= FileBuffers.getSystemFileAtLocation(getLocation());
if (file != null)
return file.lastModified();

Back to the top