diff options
author | Dani Megert | 2010-10-18 11:03:50 +0000 |
---|---|---|
committer | Dani Megert | 2010-10-18 11:03:50 +0000 |
commit | e604324cec0ba9a783e39b006e6c524286925e41 (patch) | |
tree | 13d68971b4dd6727112c64c041a1e96e25995cc4 | |
parent | fdd93cb05653c57b9363fd26abd911f76e4092bf (diff) | |
download | eclipse.platform.text-20101019-0800.tar.gz eclipse.platform.text-20101019-0800.tar.xz eclipse.platform.text-20101019-0800.zip |
Fixed bug 226532: org.eclipse.core.filebuffers.FileBuffers.getWorkspaceFileAtLocation(IPath) code doesn't do what javadoc says it doesv20101019-0800
-rw-r--r-- | org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/FileBuffers.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/FileBuffers.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/FileBuffers.java index dfbfbe47411..0a3c914e7c6 100644 --- a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/FileBuffers.java +++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/FileBuffers.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2010 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -97,23 +97,23 @@ public final class FileBuffers { } /** - * Returns the workspace file at the given location or <code>null</code> if - * the location is not a valid location in the workspace. - * + * Returns the workspace file at the given location if such a file exists. + * * @param location the location - * @return the workspace file at the location or <code>null</code> + * @return the workspace file at the location or <code>null</code> if no such file exists or if + * the location is not a valid location */ public static IFile getWorkspaceFileAtLocation(IPath location) { return getWorkspaceFileAtLocation(location, false); } /** - * Returns the workspace file at the given location or <code>null</code> if - * the location is not a valid location in the workspace. - * + * Returns the workspace file at the given location if such a file exists. + * * @param location the location * @param isNormalized <code>true</code> if the given location is already normalized - * @return the workspace file at the location or <code>null</code> + * @return the workspace file at the location or <code>null</code> if no such file exists or if + * the location is not a valid location * @since 3.3 */ public static IFile getWorkspaceFileAtLocation(IPath location, boolean isNormalized) { |