### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: dom/org/eclipse/jdt/core/dom/ASTParser.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTParser.java,v retrieving revision 1.94 diff -u -r1.94 ASTParser.java --- dom/org/eclipse/jdt/core/dom/ASTParser.java 2 Dec 2009 18:37:16 -0000 1.94 +++ dom/org/eclipse/jdt/core/dom/ASTParser.java 3 Dec 2009 14:13:40 -0000 @@ -459,7 +459,7 @@ * K_COMPILATION_UNIT. *

* - *

This kind is not used the AST is built using + *

This kind is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param kind the kind of construct to parse: one of @@ -481,7 +481,7 @@ /** * Sets the source code to be parsed. * - *

This source is not used the AST is built using + *

This source is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param source the source string to be parsed, @@ -499,7 +499,7 @@ * options) based on the given compilation unit, in a manner * equivalent to setProject(source.getJavaProject()) * - *

This source is not used the AST is built using + *

This source is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param source the Java model compilation unit whose source code @@ -517,7 +517,7 @@ *

If the given class file has no source attachment, the creation of the * ast will fail with an IllegalStateException.

* - *

This source is not used the AST is built using + *

This source is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param source the Java model class file whose corresponding source code @@ -535,7 +535,7 @@ *

If the source is a class file without source attachment, the creation of the * ast will fail with an IllegalStateException.

* - *

This source is not used the AST is built using + *

This source is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param source the Java model compilation unit or class file whose corresponding source code @@ -559,7 +559,7 @@ * By default, the entire source string will be parsed * (offset 0 and length -1). * - *

This range is not used the AST is built using + *

This range is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param offset the index of the first character to parse @@ -597,7 +597,7 @@ *

When ignore method bodies is enabled, all method bodies are discarded. * This has no impact on the binding resolution.

* - *

This setting is not used if the kind used in {@link #setKind(int)} is either + *

This setting is not used when the kind used in {@link #setKind(int)} is either * {@link #K_EXPRESSION} or {@link #K_STATEMENTS}.

* @since 3.5.2 */ @@ -637,7 +637,7 @@ * If the source declares a public class name "Bar" in a package "p1.p2" in a project "P" in a source folder "src", * the name of the compilation unit must be "/P/src/p1/p2/Bar.java".

* - *

This source is not used the AST is built using + *

This unit name is not used when the AST is built using * {@link #createASTs(ICompilationUnit[], String[], ASTRequestor, IProgressMonitor)}.

* * @param unitName the name of the compilation unit that would contain the source