File tree Expand file tree Collapse file tree 1 file changed +3
-11
lines changed
src/main/java/com/github/dockerjava/core/util Expand file tree Collapse file tree 1 file changed +3
-11
lines changed Original file line number Diff line number Diff line change 11package com .github .dockerjava .core .util ;
22
3+ import org .apache .commons .lang .builder .EqualsBuilder ;
4+
35import java .util .Arrays ;
46import java .util .HashMap ;
57import java .util .List ;
@@ -47,22 +49,12 @@ public List<String> getNames() {
4749 return getFilter ("names" );
4850 }
4951
50- // CHECKSTYLE:OFF
5152 @ Override
5253 public boolean equals (Object o ) {
53- if (this == o )
54- return true ;
55- if (o == null || getClass () != o .getClass ())
56- return false ;
57-
58- ServiceFiltersBuilder filters1 = (ServiceFiltersBuilder ) o ;
59-
60- return filters .equals (filters1 .filters );
54+ return EqualsBuilder .reflectionEquals (this , o );
6155
6256 }
6357
64- // CHECKSTYLE:ON
65-
6658 @ Override
6759 public int hashCode () {
6860 return filters .hashCode ();
You can’t perform that action at this time.
0 commit comments