From 056c784eebe063546be3931c97a167a0e546d5c7 Mon Sep 17 00:00:00 2001 From: Seth Falco Date: Thu, 13 Aug 2020 07:17:34 +0200 Subject: [PATCH] * Completed doc that was left incomplete. --- .../core/impl/config/converter/PointConverter.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/config/converter/PointConverter.java b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/config/converter/PointConverter.java index 85b24af27..d8b246f2a 100644 --- a/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/config/converter/PointConverter.java +++ b/deltaspike/core/impl/src/main/java/org/apache/deltaspike/core/impl/config/converter/PointConverter.java @@ -34,8 +34,11 @@ public class PointConverter implements ConfigResolver.Converter private static final Pattern POINT_SPLIT = Pattern.compile("\\s*,\\s*"); /** - * @param value The String property value to convert. - * @return The + * @param value The {@link String} property value to convert. + * @return A {@link Point} represented by the x and y coordinate of the input. + * @throws NullPointerException If the value is null. + * @throws IllegalArgumentException If the configuration value is an invalid representation of a {@link Point}. + * @throws NumberFormatException If a one of coordinates can not be parsed to an {@link Integer}. */ @Override public Point convert(String value)