diff --git a/src/main/java/io/vertx/json/schema/ValidationException.java b/src/main/java/io/vertx/json/schema/ValidationException.java index 3d949f87..48883e30 100644 --- a/src/main/java/io/vertx/json/schema/ValidationException.java +++ b/src/main/java/io/vertx/json/schema/ValidationException.java @@ -48,30 +48,6 @@ protected ValidationException(String message, Throwable cause, String keyword, O this.input = input; } - /** - * @deprecated just use {@link #create(String, String, Object, Collection)} - */ - @Deprecated - public static ValidationException createException(String message, String keyword, Object input, Collection causes) { - return new ValidationExceptionImpl(message, causes, keyword, input); - } - - /** - * @deprecated just use {@link #create(String, String, Object, Throwable)} - */ - @Deprecated - public static ValidationException createException(String message, String keyword, Object input, Throwable cause) { - return new ValidationExceptionImpl(message, cause, keyword, input); - } - - /** - * @deprecated just use {@link #create(String, String, Object)} - */ - @Deprecated - public static ValidationException createException(String message, String keyword, Object input) { - return new ValidationExceptionImpl(message, keyword, input); - } - public static ValidationException create(String message, String keyword, Object input, Collection causes) { return new ValidationExceptionImpl(message, causes, keyword, input); } diff --git a/src/main/java/io/vertx/json/schema/common/dsl/NumberSchemaBuilder.java b/src/main/java/io/vertx/json/schema/common/dsl/NumberSchemaBuilder.java index 004407f5..8a6c6e5e 100644 --- a/src/main/java/io/vertx/json/schema/common/dsl/NumberSchemaBuilder.java +++ b/src/main/java/io/vertx/json/schema/common/dsl/NumberSchemaBuilder.java @@ -23,10 +23,4 @@ public NumberSchemaBuilder asInteger() { type(SchemaType.INTEGER); return this; } - - public boolean isIntegerSchema() { - // for legacy, while the deprecation is still in place - return this.type.equals(SchemaType.INT) || this.type.equals(SchemaType.INTEGER); - } - } diff --git a/src/main/java/io/vertx/json/schema/common/dsl/SchemaType.java b/src/main/java/io/vertx/json/schema/common/dsl/SchemaType.java index 3ecbfde3..0bea93e5 100644 --- a/src/main/java/io/vertx/json/schema/common/dsl/SchemaType.java +++ b/src/main/java/io/vertx/json/schema/common/dsl/SchemaType.java @@ -11,8 +11,6 @@ package io.vertx.json.schema.common.dsl; public enum SchemaType { - @Deprecated - INT("integer"), INTEGER("integer"), NUMBER("number"), BOOLEAN("boolean"),