This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository nuiton-decorator. See https://gitlab.nuiton.org/nuiton/nuiton-decorator.git commit 293003976e2fad037ad0d4c0bbe30df0d69dae52 Author: CHRE <CHATELLIER@codelutin.com> Date: Tue Aug 9 14:15:03 2016 +0200 Fix javadoc --- src/main/java/org/nuiton/decorator/Decorator.java | 2 +- .../decorator/DecoratorMulti18nProvider.java | 10 +++++----- .../org/nuiton/decorator/DecoratorProvider.java | 8 ++++---- .../java/org/nuiton/decorator/DecoratorUtil.java | 22 +++++++++++----------- .../java/org/nuiton/decorator/JXPathDecorator.java | 8 ++++---- .../org/nuiton/decorator/MapPropertyHandler.java | 16 ++++++++-------- .../org/nuiton/decorator/MultiJXPathDecorator.java | 2 +- .../org/nuiton/decorator/PropertyDecorator.java | 6 +++--- .../java/org/nuiton/decorator/package-info.java | 4 ++-- src/test/java/org/nuiton/decorator/Data.java | 2 +- .../decorator/DecoratorMulti18nProviderTest.java | 2 +- .../nuiton/decorator/DecoratorProviderTest.java | 2 +- .../org/nuiton/decorator/JXPathContextTester.java | 2 +- .../org/nuiton/decorator/JXPathDecoratorTest.java | 2 +- .../nuiton/decorator/MapPropertyHandlerTest.java | 2 +- .../nuiton/decorator/MultiJXPathDecoratorTest.java | 2 +- 16 files changed, 46 insertions(+), 46 deletions(-) diff --git a/src/main/java/org/nuiton/decorator/Decorator.java b/src/main/java/org/nuiton/decorator/Decorator.java index 510e161..a03e989 100644 --- a/src/main/java/org/nuiton/decorator/Decorator.java +++ b/src/main/java/org/nuiton/decorator/Decorator.java @@ -27,7 +27,7 @@ import java.io.Serializable; * A simple contract to define a String decorator on any java object. * * @param <O> the type of data to decorate - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public abstract class Decorator<O> implements Serializable { diff --git a/src/main/java/org/nuiton/decorator/DecoratorMulti18nProvider.java b/src/main/java/org/nuiton/decorator/DecoratorMulti18nProvider.java index 57c018e..4ca5c66 100644 --- a/src/main/java/org/nuiton/decorator/DecoratorMulti18nProvider.java +++ b/src/main/java/org/nuiton/decorator/DecoratorMulti18nProvider.java @@ -33,14 +33,14 @@ import java.util.Map; /** * A decorator provider for multi-i18n locale. - * <p/> + * <p> * Implements the method {@link #loadDecorators(Locale)} to fill the decorators * availables. - * <p/> + * <p> * Then can obtain decorator via the methods {@code getDecorator(...)} - * <p/> + * <p> * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public abstract class DecoratorMulti18nProvider { @@ -50,7 +50,7 @@ public abstract class DecoratorMulti18nProvider { /** * Loaded decorators. - * <p/> + * <p> * This map will be lazy loaded as needed via the method * {@link #getDecoratorContexts(Locale, boolean)}. */ diff --git a/src/main/java/org/nuiton/decorator/DecoratorProvider.java b/src/main/java/org/nuiton/decorator/DecoratorProvider.java index 29e1281..1abfc25 100644 --- a/src/main/java/org/nuiton/decorator/DecoratorProvider.java +++ b/src/main/java/org/nuiton/decorator/DecoratorProvider.java @@ -29,14 +29,14 @@ import java.util.List; /** * A decorator provider. - * <p/> + * <p> * Implements the method {@link #loadDecorators()} to fill the decorators * availables. - * <p/> + * <p> * Then can obtain decorator via the methods {@code getDecorator(...)} - * <p/> + * <p> * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public abstract class DecoratorProvider { diff --git a/src/main/java/org/nuiton/decorator/DecoratorUtil.java b/src/main/java/org/nuiton/decorator/DecoratorUtil.java index f0a06a2..cc7fd81 100644 --- a/src/main/java/org/nuiton/decorator/DecoratorUtil.java +++ b/src/main/java/org/nuiton/decorator/DecoratorUtil.java @@ -39,17 +39,17 @@ import java.util.regex.Pattern; /** * Some usefull methods on {@link Decorator} to create, and sort data with * decorators. - * <p/> + * <p> * To create a new decorator, use one of the methods : <ul> <li>{@link * #newPropertyDecorator(Class, String)}</li> <li>{@link * #newJXPathDecorator(Class, String)}</li> <li> * {@link #newMultiJXPathDecorator(Class, String, String)})</li> * <li>{@link #newMultiJXPathDecorator(Class, String, String, String)})</li> * </ul> - * <p/> + * <p> * To sort a list of data, using a {@link JXPathDecorator}, use the method * {@link #sort(JXPathDecorator, List, int)}. - * <p/> + * <p> * * @author tchemit <chemit@codelutiln.com> * @since 2.3 @@ -71,9 +71,9 @@ public class DecoratorUtil { * decorator * @return the new instanciated decorator * @throws IllegalArgumentException if the expression is not valid, says: - * <p/> + * <p> * - a missing right brace was detected. - * <p/> + * <p> * - a ${ was found in a jxpath token. * @throws NullPointerException if type parameter is null. */ @@ -95,9 +95,9 @@ public class DecoratorUtil { * decorator * @return the new instanciated decorator * @throws IllegalArgumentException if the expression is not valid, says: - * <p/> + * <p> * - a missing right brace was detected. - * <p/> + * <p> * - a ${ was found in a jxpath token. * @throws NullPointerException if type parameter is null. */ @@ -126,10 +126,10 @@ public class DecoratorUtil { /** * Build a new multi jx path decorator which uise a cycling order while changing the context index. - * <p/> + * <p> * For example, having a initial expression: * <pre>A - B - C</pre> - * <p/> + * <p> * When setting conext index to 1, then we will us this expression: * <pre>B - C - A</pre> * @@ -165,10 +165,10 @@ public class DecoratorUtil { /** * Build a new multi jx path decorator which keep order of incoming expression while changing the context index. - * <p/> + * <p> * For example, having a initial expression: * <pre>A - B - C</pre> - * <p/> + * <p> * When setting conext index to 1, then we will us this expression: * <pre>B - A - C</pre> * diff --git a/src/main/java/org/nuiton/decorator/JXPathDecorator.java b/src/main/java/org/nuiton/decorator/JXPathDecorator.java index 7f25c76..ba03922 100644 --- a/src/main/java/org/nuiton/decorator/JXPathDecorator.java +++ b/src/main/java/org/nuiton/decorator/JXPathDecorator.java @@ -34,13 +34,13 @@ import java.util.Map; /** * JXPath decorator based on {@link String#format(String, Object...)} method. - * <p/> + * <p> * To use it, give to him a expression where all jxpath to apply on bean are * boxed in <code>${}</code>. - * <p/> + * <p> * After the jxpath token you must specifiy the formatter to apply of the * jxpath token. - * <p/> + * <p> * For example : * <pre> * Decorator<Object> d = DecoratorUtil.newJXPathDecorator( @@ -52,7 +52,7 @@ import java.util.Map; * </pre> * * @param <O> type of data to decorate - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @see Decorator * @since 2.3 */ diff --git a/src/main/java/org/nuiton/decorator/MapPropertyHandler.java b/src/main/java/org/nuiton/decorator/MapPropertyHandler.java index e757081..fe3968c 100644 --- a/src/main/java/org/nuiton/decorator/MapPropertyHandler.java +++ b/src/main/java/org/nuiton/decorator/MapPropertyHandler.java @@ -32,22 +32,22 @@ import java.util.Set; /** * A extended handler to deal with map in JXPath contexts. - * <p/> + * <p> * The basic one in JXPath api only deals with map keys as string. - * <p/> + * <p> * We offers a hook in method {@link #getKey(Object)} to obtain a string * representation of a real object in map (key or value). - * <p/> + * <p> * More over, you can also access directly to a key or a value, using this * syntax : - * <p/> + * <p> * <pre>context.getValue(".[@name='key:programme2']")</pre> * <pre>context.getValue(".[@name='value:programme2']")</pre> - * <p/> + * <p> * If the values are iterable, then will scan inot it when looking for a direct * value. * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @see DynamicPropertyHandler * @since 2.3 */ @@ -113,7 +113,7 @@ public class MapPropertyHandler implements DynamicPropertyHandler { /** * Obtain the key from the map keys which matches the given {@code key}. - * <p/> + * <p> * To compare object ot string, please refers to the method {@link * #getKey(Object)}. * @@ -135,7 +135,7 @@ public class MapPropertyHandler implements DynamicPropertyHandler { /** * Obtain the value from the map values which matches the given {@code * value}. - * <p/> + * <p> * To compare object to string, please refer to the method {@link * #getKey(Object)}. * diff --git a/src/main/java/org/nuiton/decorator/MultiJXPathDecorator.java b/src/main/java/org/nuiton/decorator/MultiJXPathDecorator.java index 2962952..f07aa97 100644 --- a/src/main/java/org/nuiton/decorator/MultiJXPathDecorator.java +++ b/src/main/java/org/nuiton/decorator/MultiJXPathDecorator.java @@ -30,7 +30,7 @@ import java.util.Comparator; * {@link JXPathDecorator} implementation with multiple contexts. * * @param <O> type of data to decorate - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @see Decorator * @since 2.3 */ diff --git a/src/main/java/org/nuiton/decorator/PropertyDecorator.java b/src/main/java/org/nuiton/decorator/PropertyDecorator.java index 35df3a1..5dc7e25 100644 --- a/src/main/java/org/nuiton/decorator/PropertyDecorator.java +++ b/src/main/java/org/nuiton/decorator/PropertyDecorator.java @@ -31,16 +31,16 @@ import java.lang.reflect.Method; /** * Simple property decorator based on {@link String#format(String, Object...)} * method. - * <p/> + * <p> * To use it, give him a class and the property name to render. - * <p/> + * <p> * For example : * <pre> * Decorator<Object> d = DecoratorUtil.newPropertyDecorator(PropertyDecorator.class,"property"); * </pre> * * @param <O> type of data to decorate - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @see Decorator * @since 2.3 */ diff --git a/src/main/java/org/nuiton/decorator/package-info.java b/src/main/java/org/nuiton/decorator/package-info.java index 5bd3ff0..629fbe0 100644 --- a/src/main/java/org/nuiton/decorator/package-info.java +++ b/src/main/java/org/nuiton/decorator/package-info.java @@ -27,7 +27,7 @@ * The {@link org.nuiton.decorator.Decorator} has an internal state which * is the type of object to decorate and a method to do the decoration : * {@link org.nuiton.decorator.Decorator#toString(Object)}. - * <p/> + * <p> * There is some default implementations of a decorator using a simple property, * or more complex one using jxpath mecanisms. * @@ -58,7 +58,7 @@ * * <strong>Note: </strong> This api comes from the jaxx-runtime project. * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 * @see org.nuiton.decorator.Decorator * @see org.nuiton.decorator.DecoratorProvider diff --git a/src/test/java/org/nuiton/decorator/Data.java b/src/test/java/org/nuiton/decorator/Data.java index 6da7d78..4414422 100644 --- a/src/test/java/org/nuiton/decorator/Data.java +++ b/src/test/java/org/nuiton/decorator/Data.java @@ -25,7 +25,7 @@ import java.util.ArrayList; import java.util.List; /** - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class Data { diff --git a/src/test/java/org/nuiton/decorator/DecoratorMulti18nProviderTest.java b/src/test/java/org/nuiton/decorator/DecoratorMulti18nProviderTest.java index 6a37d95..79dbdfb 100644 --- a/src/test/java/org/nuiton/decorator/DecoratorMulti18nProviderTest.java +++ b/src/test/java/org/nuiton/decorator/DecoratorMulti18nProviderTest.java @@ -31,7 +31,7 @@ import java.util.Locale; /** * Tests the {@link DecoratorMulti18nProvider} * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class DecoratorMulti18nProviderTest { diff --git a/src/test/java/org/nuiton/decorator/DecoratorProviderTest.java b/src/test/java/org/nuiton/decorator/DecoratorProviderTest.java index d43db66..2b9eeab 100644 --- a/src/test/java/org/nuiton/decorator/DecoratorProviderTest.java +++ b/src/test/java/org/nuiton/decorator/DecoratorProviderTest.java @@ -28,7 +28,7 @@ import org.junit.Test; import java.io.File; /** - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class DecoratorProviderTest { diff --git a/src/test/java/org/nuiton/decorator/JXPathContextTester.java b/src/test/java/org/nuiton/decorator/JXPathContextTester.java index 479e695..0677cf5 100644 --- a/src/test/java/org/nuiton/decorator/JXPathContextTester.java +++ b/src/test/java/org/nuiton/decorator/JXPathContextTester.java @@ -28,7 +28,7 @@ import org.junit.Assert; /** * A simple class to test JXPath context. * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public abstract class JXPathContextTester { diff --git a/src/test/java/org/nuiton/decorator/JXPathDecoratorTest.java b/src/test/java/org/nuiton/decorator/JXPathDecoratorTest.java index cd98cf9..70fc256 100644 --- a/src/test/java/org/nuiton/decorator/JXPathDecoratorTest.java +++ b/src/test/java/org/nuiton/decorator/JXPathDecoratorTest.java @@ -32,7 +32,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; /** - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class JXPathDecoratorTest { diff --git a/src/test/java/org/nuiton/decorator/MapPropertyHandlerTest.java b/src/test/java/org/nuiton/decorator/MapPropertyHandlerTest.java index abfa491..c99e770 100644 --- a/src/test/java/org/nuiton/decorator/MapPropertyHandlerTest.java +++ b/src/test/java/org/nuiton/decorator/MapPropertyHandlerTest.java @@ -35,7 +35,7 @@ import java.util.TreeMap; /** * Tests the class {@link MapPropertyHandler}. * - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class MapPropertyHandlerTest extends JXPathContextTester { diff --git a/src/test/java/org/nuiton/decorator/MultiJXPathDecoratorTest.java b/src/test/java/org/nuiton/decorator/MultiJXPathDecoratorTest.java index ff952ed..a34c58b 100644 --- a/src/test/java/org/nuiton/decorator/MultiJXPathDecoratorTest.java +++ b/src/test/java/org/nuiton/decorator/MultiJXPathDecoratorTest.java @@ -32,7 +32,7 @@ import java.util.List; import static org.junit.Assert.assertEquals; /** - * @author tchemit <chemit@codelutin.com> + * @author tchemit <chemit@codelutin.com> * @since 2.3 */ public class MultiJXPathDecoratorTest { -- To stop receiving notification emails like this one, please contact nuiton.org SCM administrator <admin+scm@nuiton.org>.