diff --git a/contrib/src/java/org/jdom2/contrib/perf/SavingVerifier.java b/contrib/src/java/org/jdom2/contrib/perf/SavingVerifier.java index 7068f2d74..27631829d 100644 --- a/contrib/src/java/org/jdom2/contrib/perf/SavingVerifier.java +++ b/contrib/src/java/org/jdom2/contrib/perf/SavingVerifier.java @@ -261,7 +261,7 @@ public static String checkCharacterData(final String text) { lowx = false; } else { // Likely this character can't be easily displayed - // because it's a control so we use it's hexadecimal + // because it's a control so we use its hexadecimal // representation in the reason. return String.format("0x%04x is not a legal XML character", (int)text.charAt(i)); diff --git a/core/src/java/org/jdom2/Attribute.java b/core/src/java/org/jdom2/Attribute.java index 2c857e026..2224dd415 100644 --- a/core/src/java/org/jdom2/Attribute.java +++ b/core/src/java/org/jdom2/Attribute.java @@ -719,7 +719,7 @@ public boolean getBooleanValue() throws DataConversionException { * 'default' Namespace that is not the empty Namespace (e.g. * xmlns="someurl") and this Attribute is also in the default Namespace (has * no prefix - but for Attributes that means the Namespace URL is ""), then - * this Attribute has a different namespace scope from it's parent Element + * this Attribute has a different namespace scope from its parent Element * because it does not include the 'someurl' Namespace. *
* In the above conditions (no-prefix Attribute in an Element with a
diff --git a/core/src/java/org/jdom2/CDATA.java b/core/src/java/org/jdom2/CDATA.java
index e33e0608c..e9c511287 100644
--- a/core/src/java/org/jdom2/CDATA.java
+++ b/core/src/java/org/jdom2/CDATA.java
@@ -86,7 +86,7 @@ protected CDATA() {
/**
* This constructor creates a new CDATA
node, with the
- * supplied string value as it's character content.
+ * supplied string value as its character content.
*
* @param string the node's character content.
* @throws IllegalDataException if str
contains an
diff --git a/core/src/java/org/jdom2/DescendantIterator.java b/core/src/java/org/jdom2/DescendantIterator.java
index 7f1245a32..c5fb9eaff 100644
--- a/core/src/java/org/jdom2/DescendantIterator.java
+++ b/core/src/java/org/jdom2/DescendantIterator.java
@@ -177,7 +177,7 @@ public Content next() {
/**
* Detaches the last {@link org.jdom2.Content} returned by the last call to
- * next from it's parent. Note: this does not affect
+ * next from its parent. Note: this does not affect
* iteration and all children, siblings, and any node following the
* removed node (in document order) will be visited.
*/
diff --git a/core/src/java/org/jdom2/Document.java b/core/src/java/org/jdom2/Document.java
index f7cbb06a6..2ab7f7b0e 100644
--- a/core/src/java/org/jdom2/Document.java
+++ b/core/src/java/org/jdom2/Document.java
@@ -749,7 +749,7 @@ public Parent getParent() {
/**
* Always returns this Document Instance
- * @return 'this' because this Document is it's own Document
+ * @return 'this' because this Document is its own Document
*/
@Override
public Document getDocument() {
diff --git a/core/src/java/org/jdom2/Element.java b/core/src/java/org/jdom2/Element.java
index 7f547e07d..0bd7f1996 100644
--- a/core/src/java/org/jdom2/Element.java
+++ b/core/src/java/org/jdom2/Element.java
@@ -1707,9 +1707,9 @@ public boolean removeChildren(final String cname, final Namespace ns) {
* encountered for this Element then {@link Namespace#NO_NAMESPACE} is
* included.
*
- * The Element's Namespace scope consist of it's inherited Namespaces and
+ * The Element's Namespace scope consist of its inherited Namespaces and
* any modifications to that scope derived from the Element itself. If the
- * element is detached then it's inherited scope consists of just
+ * element is detached then its inherited scope consists of just
* If an element has no parent then
*
* Note that the Element's Namespace will always be reported first.
diff --git a/core/src/java/org/jdom2/Parent.java b/core/src/java/org/jdom2/Parent.java
index c241d10b0..9957aabad 100644
--- a/core/src/java/org/jdom2/Parent.java
+++ b/core/src/java/org/jdom2/Parent.java
@@ -195,9 +195,9 @@ public interface Parent extends Cloneable, NamespaceAware, Serializable {
Content removeContent(int index);
/**
- * Obtain a deep, unattached copy of this parent and it's children.
+ * Obtain a deep, unattached copy of this parent and its children.
*
- * @return a deep copy of this parent and it's children.
+ * @return a deep copy of this parent and its children.
*/
Object clone();
diff --git a/core/src/java/org/jdom2/Text.java b/core/src/java/org/jdom2/Text.java
index be2e3998a..8f242ced3 100644
--- a/core/src/java/org/jdom2/Text.java
+++ b/core/src/java/org/jdom2/Text.java
@@ -100,7 +100,7 @@ protected Text() {
/**
* This constructor creates a new Text
node, with the
- * supplied string value as it's character content.
+ * supplied string value as its character content.
*
* @param str the node's character content.
* @throws IllegalDataException if str
contains an
diff --git a/core/src/java/org/jdom2/input/SAXBuilder.java b/core/src/java/org/jdom2/input/SAXBuilder.java
index 9bff5bde3..d7105ec66 100644
--- a/core/src/java/org/jdom2/input/SAXBuilder.java
+++ b/core/src/java/org/jdom2/input/SAXBuilder.java
@@ -609,7 +609,7 @@ public XMLFilter getXMLFilter() {
* XMLReaders that may be created, and these may (depending on SAXBuilder
* usage) be accessed concurrently. It is the responsibility of the JDOM
* user to ensure that if the XMLFilter is not thread-safe then neither the
- * SAXBuilder nor any of it's SAXEngines are accessed concurrently.
+ * SAXBuilder nor any of its SAXEngines are accessed concurrently.
*
* @param xmlFilter
* the XMLFilter to use
diff --git a/core/src/java/org/jdom2/located/LocatedCDATA.java b/core/src/java/org/jdom2/located/LocatedCDATA.java
index 7b3f02722..05163e460 100644
--- a/core/src/java/org/jdom2/located/LocatedCDATA.java
+++ b/core/src/java/org/jdom2/located/LocatedCDATA.java
@@ -71,7 +71,7 @@ public class LocatedCDATA extends CDATA implements Located {
/**
* This constructor creates a new LocatedCDATA
node, with the
- * supplied string value as it's character content.
+ * supplied string value as its character content.
*
* @param str the node's character content.
* @throws IllegalDataException if str
contains an
diff --git a/core/src/java/org/jdom2/located/LocatedText.java b/core/src/java/org/jdom2/located/LocatedText.java
index 251d9777d..3934b7afa 100644
--- a/core/src/java/org/jdom2/located/LocatedText.java
+++ b/core/src/java/org/jdom2/located/LocatedText.java
@@ -68,7 +68,7 @@ public class LocatedText extends Text implements Located {
/**
* This constructor creates a new Text
node, with the
- * supplied string value as it's character content.
+ * supplied string value as its character content.
*
* @param str the node's character content.
* @throws IllegalDataException if str
contains an
diff --git a/core/src/java/org/jdom2/output/StAXEventOutputter.java b/core/src/java/org/jdom2/output/StAXEventOutputter.java
index dc3319691..42f6675f5 100644
--- a/core/src/java/org/jdom2/output/StAXEventOutputter.java
+++ b/core/src/java/org/jdom2/output/StAXEventOutputter.java
@@ -260,7 +260,7 @@ public void setFormat(Format newFormat) {
/**
* Returns the current format in use by the StAXStreamOutputter. Note the Format
* object returned is not a clone of the one used internally, thus,
- * an StAXStreamOutputter instance is able to have it's Format changed by changing
+ * an StAXStreamOutputter instance is able to have its Format changed by changing
* the settings on the Format instance returned by this method.
*
* @return the current Format instance used by this StAXStreamOutputter.
diff --git a/core/src/java/org/jdom2/output/StAXStreamOutputter.java b/core/src/java/org/jdom2/output/StAXStreamOutputter.java
index 54d01dd8d..8f12d3b3c 100644
--- a/core/src/java/org/jdom2/output/StAXStreamOutputter.java
+++ b/core/src/java/org/jdom2/output/StAXStreamOutputter.java
@@ -236,7 +236,7 @@ public void setFormat(Format newFormat) {
/**
* Returns the current format in use by the StAXStreamOutputter. Note the Format
* object returned is not a clone of the one used internally, thus,
- * an StAXStreamOutputter instance is able to have it's Format changed by changing
+ * an StAXStreamOutputter instance is able to have its Format changed by changing
* the settings on the Format instance returned by this method.
*
* @return the current Format instance used by this StAXStreamOutputter.
diff --git a/core/src/java/org/jdom2/output/StAXStreamReader.java b/core/src/java/org/jdom2/output/StAXStreamReader.java
index 6474c1985..5419e7b8e 100644
--- a/core/src/java/org/jdom2/output/StAXStreamReader.java
+++ b/core/src/java/org/jdom2/output/StAXStreamReader.java
@@ -232,7 +232,7 @@ public void setFormat(Format newFormat) {
/**
* Returns the current format in use by the XMLOutputter. Note the Format
* object returned is not a clone of the one used internally, thus,
- * an XMLOutputter instance is able to have it's Format changed by changing
+ * an XMLOutputter instance is able to have its Format changed by changing
* the settings on the Format instance returned by this method.
*
* @return the current Format instance used by this XMLOutputter.
diff --git a/core/src/java/org/jdom2/output/XMLOutputter.java b/core/src/java/org/jdom2/output/XMLOutputter.java
index db64f88b1..4f7af03e2 100644
--- a/core/src/java/org/jdom2/output/XMLOutputter.java
+++ b/core/src/java/org/jdom2/output/XMLOutputter.java
@@ -341,7 +341,7 @@ public void setFormat(Format newFormat) {
/**
* Returns the current format in use by the XMLOutputter. Note the Format
* object returned is not a clone of the one used internally, thus,
- * an XMLOutputter instance is able to have it's Format changed by changing
+ * an XMLOutputter instance is able to have its Format changed by changing
* the settings on the Format instance returned by this method.
*
* @return the current Format instance used by this XMLOutputter.
diff --git a/core/src/java/org/jdom2/output/support/AbstractFormattedWalker.java b/core/src/java/org/jdom2/output/support/AbstractFormattedWalker.java
index 7400176ed..f0db71a8a 100644
--- a/core/src/java/org/jdom2/output/support/AbstractFormattedWalker.java
+++ b/core/src/java/org/jdom2/output/support/AbstractFormattedWalker.java
@@ -70,7 +70,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
*
* The JDOM content can be loosely categorised in to 'Text-like' content * (consisting of Text, CDATA, and EntityRef), and everything else. This - * distinction is significant for for this class and it's sub-classes. + * distinction is significant for for this class and its sub-classes. *
* There will be text manipulation, and some (but not necessarily * all) Text-like content will be returned as text() instead of next(). diff --git a/core/src/java/org/jdom2/output/support/AbstractStAXEventProcessor.java b/core/src/java/org/jdom2/output/support/AbstractStAXEventProcessor.java index 827e479fb..44d3dbe6c 100644 --- a/core/src/java/org/jdom2/output/support/AbstractStAXEventProcessor.java +++ b/core/src/java/org/jdom2/output/support/AbstractStAXEventProcessor.java @@ -500,7 +500,7 @@ protected void printDocType(final XMLEventConsumer out, final FormatStack fstack } sw.write(">"); - // DocType does not write it's own EOL + // DocType does not write its own EOL // for compatibility reasons. Only // when output from inside a Content set. // write(out, fstack.getLineSeparator()); diff --git a/core/src/java/org/jdom2/output/support/AbstractStAXStreamProcessor.java b/core/src/java/org/jdom2/output/support/AbstractStAXStreamProcessor.java index bc22793c8..4933f623f 100644 --- a/core/src/java/org/jdom2/output/support/AbstractStAXStreamProcessor.java +++ b/core/src/java/org/jdom2/output/support/AbstractStAXStreamProcessor.java @@ -438,7 +438,7 @@ protected void printDocType(final XMLStreamWriter out, final FormatStack fstack, } sw.write(">"); - // DocType does not write it's own EOL + // DocType does not write its own EOL // for compatibility reasons. Only // when output from inside a Content set. // write(out, fstack.getLineSeparator()); diff --git a/core/src/java/org/jdom2/output/support/FormatStack.java b/core/src/java/org/jdom2/output/support/FormatStack.java index ff9961dfc..e9755da63 100644 --- a/core/src/java/org/jdom2/output/support/FormatStack.java +++ b/core/src/java/org/jdom2/output/support/FormatStack.java @@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT *
* This class is intended as a working-class for in the various outputter * implementations. It is inly public so that people extending the - * Abstract*Processor classes can take advantage of it's functionality. + * Abstract*Processor classes can take advantage of its functionality. *
* The value this class adds is: *