From 998d75008e5f5acaf72713e483c35f4832266854 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 4 Jun 2018 10:55:07 +0200 Subject: [PATCH] Fixed Javadoc. --- src/fr/devinsy/xml/XMLAttributes.java | 4 ++-- src/fr/devinsy/xml/XMLReader.java | 4 ++++ src/fr/devinsy/xml/XMLTools.java | 6 ++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/src/fr/devinsy/xml/XMLAttributes.java b/src/fr/devinsy/xml/XMLAttributes.java index f5b450a..f317912 100644 --- a/src/fr/devinsy/xml/XMLAttributes.java +++ b/src/fr/devinsy/xml/XMLAttributes.java @@ -79,8 +79,8 @@ public class XMLAttributes extends HashMap implements Iter * Instantiates a new XML attributes from a string array. Strings are series of * label and value. This constructor is a helper. * - * @param source - * the source + * @param attributes + * the init attributes */ public XMLAttributes(final String... attributes) { diff --git a/src/fr/devinsy/xml/XMLReader.java b/src/fr/devinsy/xml/XMLReader.java index 8353ef6..c633e5e 100644 --- a/src/fr/devinsy/xml/XMLReader.java +++ b/src/fr/devinsy/xml/XMLReader.java @@ -128,8 +128,12 @@ public class XMLReader } /** + * Instantiates a new XML reader. + * * @param source + * the source * @throws XMLStreamException + * the XML stream exception */ public XMLReader(final String source) throws XMLStreamException { diff --git a/src/fr/devinsy/xml/XMLTools.java b/src/fr/devinsy/xml/XMLTools.java index cd42008..368c12a 100644 --- a/src/fr/devinsy/xml/XMLTools.java +++ b/src/fr/devinsy/xml/XMLTools.java @@ -75,13 +75,16 @@ public class XMLTools /** * Indent. - * + * * @param source * the source * @return the string * @throws XMLStreamException + * the XML stream exception * @throws XMLBadFormatException + * the XML bad format exception * @throws IOException + * Signals that an I/O exception has occurred. */ public static String indent(final String source) throws XMLStreamException, XMLBadFormatException, IOException { @@ -324,7 +327,6 @@ public class XMLTools * the in * @return the string * @throws IOException - * @throws Exception * the exception */ public static String readTag(final BufferedReader in) throws IOException