Commit b3c73487 authored by Andy Wilkinson's avatar Andy Wilkinson

Merge pull request #20525 from dreis2211

* gh-20525:
  Fix method order checkstyle issue

Closes gh-20525
parents 03157241 3e24df3b
...@@ -177,15 +177,6 @@ public class CachingOperationInvoker implements OperationInvoker { ...@@ -177,15 +177,6 @@ public class CachingOperationInvoker implements OperationInvoker {
this.apiVersion = apiVersion; this.apiVersion = apiVersion;
} }
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + this.apiVersion.hashCode();
result = prime * result + ((this.principal == null) ? 0 : this.principal.hashCode());
return result;
}
@Override @Override
public boolean equals(Object obj) { public boolean equals(Object obj) {
if (this == obj) { if (this == obj) {
...@@ -212,6 +203,15 @@ public class CachingOperationInvoker implements OperationInvoker { ...@@ -212,6 +203,15 @@ public class CachingOperationInvoker implements OperationInvoker {
return true; return true;
} }
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + this.apiVersion.hashCode();
result = prime * result + ((this.principal == null) ? 0 : this.principal.hashCode());
return result;
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment