From b92df6d587eaa879f2ec31c1f5bba23d5698bae1 Mon Sep 17 00:00:00 2001 From: Sun Zhe <31067185+ZheSun88@users.noreply.github.com> Date: Mon, 29 Apr 2019 13:00:28 +0300 Subject: Code format (#11548) * Code format * Merge branch 'master' into code-format --- .../data/converter/StringToUuidConverter.java | 31 ++++++++++++---------- 1 file changed, 17 insertions(+), 14 deletions(-) (limited to 'server/src/main/java/com/vaadin/data') diff --git a/server/src/main/java/com/vaadin/data/converter/StringToUuidConverter.java b/server/src/main/java/com/vaadin/data/converter/StringToUuidConverter.java index 5d9436789f..185da51557 100644 --- a/server/src/main/java/com/vaadin/data/converter/StringToUuidConverter.java +++ b/server/src/main/java/com/vaadin/data/converter/StringToUuidConverter.java @@ -29,8 +29,8 @@ import com.vaadin.data.ValueContext; * Leading and trailing white spaces are ignored when converting from a String. *
*- * The String representation uses the canonical format of 32-characters with a hyphen - * to separate each of five groups of hexadecimal digits as defined in: + * The String representation uses the canonical format of 32-characters with a + * hyphen to separate each of five groups of hexadecimal digits as defined in: * RFC 4122: A Universally Unique IDentifier (UUID) URN Namespace * http://www.ietf.org/rfc/rfc4122.txt *
@@ -38,33 +38,35 @@ import com.vaadin.data.ValueContext; * @author Vaadin Ltd * @since 8.8 */ -public class StringToUuidConverter implements Converternull
.
+ * Constructs a new converter instance with the given error message
+ * provider. Empty strings are converted to null
.
*
- * @param errorMessageProvider the error message provider to use if conversion fails
+ * @param errorMessageProvider
+ * the error message provider to use if conversion fails
*/
public StringToUuidConverter(ErrorMessageProvider errorMessageProvider) {
this.errorMessageProvider = errorMessageProvider;
}
@Override
- public Result