From caf95b0522a792b398ae9d4f404ed62b4bf8ac93 Mon Sep 17 00:00:00 2001 From: "Archie L. Cobbs" Date: Sat, 30 Dec 2017 18:26:12 -0600 Subject: [PATCH] Remove development patch that was committed accidentally. --- .../main/java/io/permazen/core/FieldType.java | 21 ------------------- 1 file changed, 21 deletions(-) diff --git a/permazen-coreapi/src/main/java/io/permazen/core/FieldType.java b/permazen-coreapi/src/main/java/io/permazen/core/FieldType.java index 378045440a..b0475d4303 100644 --- a/permazen-coreapi/src/main/java/io/permazen/core/FieldType.java +++ b/permazen-coreapi/src/main/java/io/permazen/core/FieldType.java @@ -18,7 +18,6 @@ import java.io.Serializable; import java.util.Comparator; -import java.util.regex.Pattern; /** * Defines the encoding, ordering, and range of possible values for a {@link SimpleField}. @@ -42,8 +41,6 @@ *
  • All possible values can be encoded/decoded into a self-delimiting binary string (i.e., {@code byte[]} array) * without losing information, and these binary strings, when sorted lexicographically using unsigned comparison, * sort consistently with the {@linkplain #compare total ordering} of the corresponding Java values.
  • - *
  • Instances provide a {@linkplain #getHexPattern regular expression} that exactly matches a binary encoded value - * when expressed as a hexadecimal string (this is used to facilitate limited manipulation at the key/value layer)
  • *
  • All possible values can be encoded/decoded to/from {@link String}s without losing information, * with both a {@linkplain #toString(Object) regular string form} for non-null values and a * {@linkplain #toParseableString self-delimiting string form} for any value including null @@ -301,24 +298,6 @@ public T fromString(String string) { */ public abstract T fromParseableString(ParseContext context); - /** - * Get a {@link Pattern} that exactly matches a binary encoded value when expressed as a hexadecimal string. - * - *

    - * Restrictions: - *

    - * - * @return patten matching binary-encoded values - */ - //public abstract Pattern getHexPattern(); - public Pattern getHexPattern() { - throw new UnsupportedOperationException(); - } - /** * Attempt to convert a value from the given {@link FieldType} into a value of this {@link FieldType}. *