You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2023/02/08 17:58:20 UTC
[cxf] branch 3.6.x-fixes updated: Fix checkstyle violations
This is an automated email from the ASF dual-hosted git repository.
reta pushed a commit to branch 3.6.x-fixes
in repository https://gitbox.apache.org/repos/asf/cxf.git
The following commit(s) were added to refs/heads/3.6.x-fixes by this push:
new aa74b1f2c5 Fix checkstyle violations
aa74b1f2c5 is described below
commit aa74b1f2c53b89b4bd7107cd7ec06588bae55b81
Author: Andriy Redko <dr...@gmail.com>
AuthorDate: Wed Feb 8 12:58:05 2023 -0500
Fix checkstyle violations
---
core/src/main/java/org/apache/cxf/helpers/NSDecl.java | 2 +-
.../java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/src/main/java/org/apache/cxf/helpers/NSDecl.java b/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
index ca3d34ee32..f64fdc4a26 100644
--- a/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
+++ b/core/src/main/java/org/apache/cxf/helpers/NSDecl.java
@@ -31,7 +31,7 @@ public final class NSDecl {
this.prefix = pfx.intern();
}
this.uri = ur.intern();
- this.hashCode = (toString()).hashCode();
+ this.hashCode = toString().hashCode();
}
public String getPrefix() {
diff --git a/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java b/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
index a25dd9244e..70441089c2 100644
--- a/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
+++ b/systests/uncategorized/src/test/java/org/apache/cxf/systest/type_test/AbstractTypeTestClient2.java
@@ -163,7 +163,7 @@ public abstract class AbstractTypeTestClient2 extends AbstractTypeTestClient {
return (Double.compare(x.getVarFloat(), y.getVarFloat()) == 0)
&& (x.getVarInt().compareTo(y.getVarInt()) == 0)
&& (x.getVarString().equals(y.getVarString()))
- && (equalsNilable(x.getVarAttrString(), y.getVarAttrString()));
+ && equalsNilable(x.getVarAttrString(), y.getVarAttrString());
}
@Test
public void testSimpleStruct() throws Exception {