From 7ca8e2e22f1d74b155492cea3a5d005cc9664898 Mon Sep 17 00:00:00 2001 From: Andrew Smirnov Date: Wed, 8 Jan 2025 20:33:17 +0300 Subject: [PATCH] #3793 remove unused ctor --- .../src/main/java/org/eolang/ExpectFailureInMust.java | 9 --------- .../src/main/java/org/eolang/ExpectFailureInThat.java | 11 +---------- 2 files changed, 1 insertion(+), 19 deletions(-) diff --git a/eo-runtime/src/main/java/org/eolang/ExpectFailureInMust.java b/eo-runtime/src/main/java/org/eolang/ExpectFailureInMust.java index b3a78f65c2..58c32fa412 100644 --- a/eo-runtime/src/main/java/org/eolang/ExpectFailureInMust.java +++ b/eo-runtime/src/main/java/org/eolang/ExpectFailureInMust.java @@ -44,14 +44,5 @@ class ExpectFailureInMust extends ExFailure { public ExpectFailureInMust(final String cause, final Object... args) { super(String.format(cause, args)); } - - /** - * Ctor. - * @param cause Exception cause - * @param root Cause exception - */ - public ExpectFailureInMust(final String cause, final Throwable root) { - super(cause, root); - } } diff --git a/eo-runtime/src/main/java/org/eolang/ExpectFailureInThat.java b/eo-runtime/src/main/java/org/eolang/ExpectFailureInThat.java index 89eade23d2..08f04a1ca1 100644 --- a/eo-runtime/src/main/java/org/eolang/ExpectFailureInThat.java +++ b/eo-runtime/src/main/java/org/eolang/ExpectFailureInThat.java @@ -34,7 +34,7 @@ class ExpectFailureInThat extends ExFailure { /** * Serialization identifier. */ - private static final long serialVersionUID = 597748358437012215L; + private static final long serialVersionUID = 597748358437012218L; /** * Ctor. @@ -44,14 +44,5 @@ class ExpectFailureInThat extends ExFailure { public ExpectFailureInThat(final String cause, final Object... args) { super(String.format(cause, args)); } - - /** - * Ctor. - * @param cause Exception cause - * @param root Cause exception - */ - public ExpectFailureInThat(final String cause, final Throwable root) { - super(cause, root); - } }