Skip to content
Permalink
Browse files
8284213: Replace usages of 'a the' in xml
Reviewed-by: lancea, dmarkov, iris, prr, joehw
  • Loading branch information
aivanov-jdk committed May 24, 2022
1 parent e0d361c commit 5974f5fed3ef888e8e64b1bf33793a7bcc4ca77c
Showing 9 changed files with 17 additions and 17 deletions.
@@ -910,7 +910,7 @@ else if (act == 0)
* 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.
@@ -298,7 +298,7 @@ public boolean getCanonicalization() {
}
*/

/** <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>
@@ -507,7 +507,7 @@ public boolean getCanonicalization() {
}
*/

/** <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>
@@ -537,7 +537,7 @@ public String getAttributeValue(String namespaceURI,
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.
*
@@ -278,7 +278,7 @@ private String getLocationString() {
}

/**
* 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 void printStackTrace() {
}

/**
* 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 void printStackTrace(java.io.PrintStream s) {
}

/**
* 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.
@@ -110,7 +110,7 @@ public static int getValue(Object value, int defValue) {
}

/**
* 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.
*
@@ -89,7 +89,7 @@ public void clear01() throws TransformerConfigurationException {
}

/**
* 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 void clear04() throws TransformerConfigurationException {

/**
* 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 void clear05() throws TransformerConfigurationException {

/**
* 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 void clear06() throws TransformerConfigurationException {

/**
* 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 void clear07() throws Exception {

/**
* 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 void clear08() throws Exception {

/**
* 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 void clear09() throws Exception {

/**
* 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
@@ -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.
*
@@ -58,7 +58,7 @@ protected Object getObject() {
}.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() {

1 comment on commit 5974f5f

@openjdk-notifier
Copy link

@openjdk-notifier openjdk-notifier bot commented on 5974f5f May 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.