diff options
author | Dani Megert | 2009-01-06 08:09:20 +0000 |
---|---|---|
committer | Dani Megert | 2009-01-06 08:09:20 +0000 |
commit | c27cbefe76ce18fc1e41d8d2ad5dbc152780e634 (patch) | |
tree | 09994249528e1999eb42da8d079e1591f6ba5ca6 /org.eclipse.core.filebuffers | |
parent | 15458f2ad6bc7c58d9affdb5d9907b0ac31f75f6 (diff) | |
download | eclipse.platform.text-c27cbefe76ce18fc1e41d8d2ad5dbc152780e634.tar.gz eclipse.platform.text-c27cbefe76ce18fc1e41d8d2ad5dbc152780e634.tar.xz eclipse.platform.text-c27cbefe76ce18fc1e41d8d2ad5dbc152780e634.zip |
Fixed bug 259991: ITextFileBufferManager.createEmptyDocument(IPath, LocationKind) is not documented to accept nullv20090106-0800
Diffstat (limited to 'org.eclipse.core.filebuffers')
-rw-r--r-- | org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/ITextFileBufferManager.java | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/ITextFileBufferManager.java b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/ITextFileBufferManager.java index 538bc27dda0..484c37eb825 100644 --- a/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/ITextFileBufferManager.java +++ b/org.eclipse.core.filebuffers/src/org/eclipse/core/filebuffers/ITextFileBufferManager.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2008 IBM Corporation and others. + * Copyright (c) 2000, 2009 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 @@ -115,30 +115,30 @@ public interface ITextFileBufferManager extends IFileBufferManager { String getDefaultEncoding(); /** - * Creates a new empty document. The document is set up in the same way as - * it would be used in a text file buffer for a file at the given location. + * Creates a new empty document. The document is set up in the same way as it would be used in a + * text file buffer for a file at the given location. * <p> - * The provided location is either a full path of a workspace resource or - * an absolute path in the local file system. The file buffer manager does - * not resolve the location of workspace resources in the case of linked - * resources. + * The provided location is either a full path of a workspace resource or an absolute path in + * the local file system. The file buffer manager does not resolve the location of workspace + * resources in the case of linked resources. * </p> - * - * @param location the location used to set up the newly created document + * + * @param location the location used to set up the newly created document or <code>null</code> + * if unknown * @return a new empty document * @deprecated As of 3.3, replaced by {@link #createEmptyDocument(IPath, LocationKind)} */ IDocument createEmptyDocument(IPath location); /** - * Creates a new empty document. The document is set up in the same way as - * it would be used in a text file buffer for a file at the given location. + * Creates a new empty document. The document is set up in the same way as it would be used in a + * text file buffer for a file at the given location. * <p> - * The type of the provided location is specified by the given - * <code>locationKind</code>. + * The type of the provided location is specified by the given <code>locationKind</code>. * </p> - * - * @param location the location used to set up the newly created document + * + * @param location the location used to set up the newly created document or <code>null</code> + * if unknown * @param locationKind the kind of the given location * @return a new empty document * @since 3.3 |