From 43b67389cfd1777c48a3b3e42a775b596dd1b1f5 Mon Sep 17 00:00:00 2001 From: Dmitry Kryukov Date: Tue, 14 May 2024 21:09:53 +0300 Subject: [PATCH] HHH-18118 fixed comparison of class field with itself --- .../tool/schema/internal/exec/ScriptSourceInputFromUrl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ScriptSourceInputFromUrl.java b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ScriptSourceInputFromUrl.java index f2545a671e..2f85f4a068 100644 --- a/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ScriptSourceInputFromUrl.java +++ b/hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/ScriptSourceInputFromUrl.java @@ -69,7 +69,7 @@ public class ScriptSourceInputFromUrl extends AbstractScriptSourceInput { @Override public boolean containsScript(URL url) { - return url.equals( url ); + return this.url.equals( url ); } @Override