From e8ff63ceabcfb1cd81e9eb2921b9771975ba52cf Mon Sep 17 00:00:00 2001 From: t-burch <119930761+t-burch@users.noreply.github.com> Date: Mon, 2 Sep 2024 00:35:42 +0200 Subject: [PATCH] Update APIProxyKey.java --- .../predic8/membrane/core/openapi/serviceproxy/APIProxyKey.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/com/predic8/membrane/core/openapi/serviceproxy/APIProxyKey.java b/core/src/main/java/com/predic8/membrane/core/openapi/serviceproxy/APIProxyKey.java index 5e29f2973..dc4a61072 100644 --- a/core/src/main/java/com/predic8/membrane/core/openapi/serviceproxy/APIProxyKey.java +++ b/core/src/main/java/com/predic8/membrane/core/openapi/serviceproxy/APIProxyKey.java @@ -114,7 +114,7 @@ public boolean equals(Object obj) { if (obj instanceof APIProxyKey other) { if (!basePaths.equals(other.basePaths)) return false; - return testExpr.equals(other.testExpr); + return Objects.equals(testExpr, other.testExpr); } return false; }