8284213: Replace usages of 'a the' in xml

Reviewed-by: lancea, dmarkov, iris, prr, joehw
This commit is contained in:
Alexey Ivanov 2022-05-24 11:34:53 +00:00
parent e0d361cea9
commit 5974f5fed3
9 changed files with 17 additions and 17 deletions

View File

@ -910,7 +910,7 @@ public abstract class lr_parser {
* the stored Symbols without error, then the recovery is considered a
* success. Once a successful recovery point is determined, we do an
* actual parse over the stored input -- modifying the real parse
* configuration and executing all actions. Finally, we return the the
* configuration and executing all actions. Finally, we return the
* normal parser to continue with the overall parse.
*
* @param debug should we produce debugging messages as we parse.

View File

@ -298,7 +298,7 @@ public abstract class DocumentBuilder {
}
*/
/** <p>Get a reference to the the {@link Schema} being used by
/** <p>Get a reference to the {@link Schema} being used by
* the XML processor.</p>
*
* <p>If no schema is being used, <code>null</code> is returned.</p>

View File

@ -507,7 +507,7 @@ public abstract class SAXParser {
}
*/
/** <p>Get a reference to the the {@link Schema} being used by
/** <p>Get a reference to the {@link Schema} being used by
* the XML processor.</p>
*
* <p>If no schema is being used, <code>null</code> is returned.</p>

View File

@ -537,7 +537,7 @@ public interface XMLStreamReader extends XMLStreamConstants {
public char[] getTextCharacters();
/**
* Gets the the text associated with a CHARACTERS, SPACE or CDATA event.
* Gets the text associated with a CHARACTERS, SPACE or CDATA event.
* Text starting a "sourceStart" is copied into "target" starting at "targetStart".
* Up to "length" characters are copied. The number of characters actually copied is returned.
*

View File

@ -278,7 +278,7 @@ public class TransformerException extends Exception {
}
/**
* Print the the trace of methods from where the error
* Print the trace of methods from where the error
* originated. This will trace all nested exception
* objects, as well as this object.
*/
@ -288,7 +288,7 @@ public class TransformerException extends Exception {
}
/**
* Print the the trace of methods from where the error
* Print the trace of methods from where the error
* originated. This will trace all nested exception
* objects, as well as this object.
* @param s The stream where the dump will be sent to.
@ -299,7 +299,7 @@ public class TransformerException extends Exception {
}
/**
* Print the the trace of methods from where the error
* Print the trace of methods from where the error
* originated. This will trace all nested exception
* objects, as well as this object.
* @param s The writer where the dump will be sent to.

View File

@ -110,7 +110,7 @@ public class JdkXmlUtils {
}
/**
* Sets the XMLReader instance with the specified property if the the
* Sets the XMLReader instance with the specified property if the
* property is supported, ignores error if not, issues a warning if so
* requested.
*

View File

@ -89,7 +89,7 @@ public class TfClearParamTest {
}
/**
* Obtains transformer's parameter with the a name that wasn't set before.
* Obtains transformer's parameter with a name that wasn't set before.
* Null is expected.
* @throws TransformerConfigurationException If for some reason the
* TransformerHandler can not be created.
@ -134,7 +134,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a stream source with
* the a name that set before. Value should be same as set one.
* the name that set before. Value should be same as set one.
* @throws TransformerConfigurationException If for some reason the
* TransformerHandler can not be created.
*/
@ -149,7 +149,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a stream source with
* the a name that wasn't set before. Null is expected.
* a name that wasn't set before. Null is expected.
* @throws TransformerConfigurationException If for some reason the
* TransformerHandler can not be created.
*/
@ -164,7 +164,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a sax source with
* the a name that set before. Value should be same as set one.
* the name that set before. Value should be same as set one.
* @throws Exception If any errors occur.
*/
@Test
@ -181,7 +181,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a sax source with
* the a name that wasn't set before. Null is expected.
* a name that wasn't set before. Null is expected.
* @throws Exception If any errors occur.
*/
@Test
@ -199,7 +199,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a dom source with
* the a name that set before. Value should be same as set one.
* the name that set before. Value should be same as set one.
* @throws Exception If any errors occur.
*/
@Test
@ -220,7 +220,7 @@ public class TfClearParamTest {
/**
* Obtains transformer's parameter whose initiated with a dom source with
* the a name that wasn't set before. Null is expected.
* a name that wasn't set before. Null is expected.
* @throws Exception If any errors occur.
*/
@Test

View File

@ -55,7 +55,7 @@ public class IsValidatingTest {
* Test StAX with IS_VALIDATING = false and a non-existent DTD.
* Test should pass.
*
* Try to parse an XML file that references a a non-existent DTD.
* Try to parse an XML file that references a non-existent DTD.
* Desired behavior:
* If IS_VALIDATING == false, then continue processing.
*

View File

@ -58,7 +58,7 @@ public abstract class Test4631471 extends AbstractTest {
}.test(false);
// create a new model from the root node
// this simulates the the MetaData ctor:
// this simulates the MetaData ctor:
// registerConstructor("javax.swing.tree.DefaultTreeModel", new String[]{"root"});
new Test4631471() {
protected Object getObject() {