From 3cdc93d17ece6af7c6103efef5ae5f21f1197f77 Mon Sep 17 00:00:00 2001 From: "Christian P. MOMON" Date: Mon, 4 Jun 2018 14:28:06 +0200 Subject: [PATCH] Fixed Javadoc. --- src/fr/devinsy/xidyn/data/TagAttributes.java | 34 +++++++++++++------ src/fr/devinsy/xidyn/pages/Page.java | 6 ++-- .../xidyn/presenters/URLPresenter.java | 6 ++-- 3 files changed, 29 insertions(+), 17 deletions(-) diff --git a/src/fr/devinsy/xidyn/data/TagAttributes.java b/src/fr/devinsy/xidyn/data/TagAttributes.java index 8726fea..0fcfdb9 100644 --- a/src/fr/devinsy/xidyn/data/TagAttributes.java +++ b/src/fr/devinsy/xidyn/data/TagAttributes.java @@ -32,15 +32,18 @@ public class TagAttributes extends HashMap private static final long serialVersionUID = 2802739066295665336L; /** - * - */ + * + */ public TagAttributes() { super(); } /** - * Useful for the merge attributes. + * Instantiates a new tag attributes. Useful for the merge of attributes. + * + * @param attributes + * the attributes */ public TagAttributes(final TagAttributes attributes) { @@ -48,9 +51,12 @@ public class TagAttributes extends HashMap } /** - * Add a value to an existing value. This is useful to the 'style' - * attribute. + * Add a value to an existing value. This is useful to the 'style' attribute. * + * @param label + * the label + * @param value + * the value */ public void appendAttribute(final String label, final String value) { @@ -65,8 +71,12 @@ public class TagAttributes extends HashMap } /** - * - */ + * Gets the attribute. + * + * @param label + * the label + * @return the attribute + */ public String getAttribute(final String label) { String result; @@ -85,11 +95,15 @@ public class TagAttributes extends HashMap } /** - * - */ + * Sets the attribute. + * + * @param label + * the label + * @param value + * the value + */ public void setAttribute(final String label, final String value) { this.put(label, value); } - } diff --git a/src/fr/devinsy/xidyn/pages/Page.java b/src/fr/devinsy/xidyn/pages/Page.java index a5d0b55..62930e9 100644 --- a/src/fr/devinsy/xidyn/pages/Page.java +++ b/src/fr/devinsy/xidyn/pages/Page.java @@ -307,13 +307,13 @@ public class Page extends TagDataManager /** * Include page. - * + * * @param id * the id * @param source * the source - * @throws throws - * XidynException the exception + * @throws XidynException + * the xidyn exception */ public void includePage(final String id, final URL source) throws XidynException { diff --git a/src/fr/devinsy/xidyn/presenters/URLPresenter.java b/src/fr/devinsy/xidyn/presenters/URLPresenter.java index e52a8e8..572c123 100644 --- a/src/fr/devinsy/xidyn/presenters/URLPresenter.java +++ b/src/fr/devinsy/xidyn/presenters/URLPresenter.java @@ -199,10 +199,8 @@ public class URLPresenter extends StringPresenter return result; } - /** - * {@inheritDoc} - * - * @throws IOException + /* (non-Javadoc) + * @see fr.devinsy.xidyn.presenters.StringPresenter#isOutdated() */ @Override public boolean isOutdated() throws XidynException