File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
src/main/java/com/microfocus/octane/plugins/configuration Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 2020import org .codehaus .jackson .annotate .JsonIgnore ;
2121import org .codehaus .jackson .annotate .JsonIgnoreProperties ;
2222
23+ import java .util .Objects ;
24+
2325@ JsonIgnoreProperties (ignoreUnknown = true )
2426public class SpaceConfiguration {
2527
@@ -98,4 +100,17 @@ public RestConnector getRestConnector() {
98100 public void clearRestConnector () {
99101 restConnector = null ;
100102 }
103+
104+ @ Override
105+ public boolean equals (Object o ) {
106+ if (this == o ) return true ;
107+ if (o == null || getClass () != o .getClass ()) return false ;
108+ SpaceConfiguration that = (SpaceConfiguration ) o ;
109+ return location .equals (that .location ) && locationParts .equals (that .locationParts ) && id .equals (that .id );
110+ }
111+
112+ @ Override
113+ public int hashCode () {
114+ return Objects .hash (location , locationParts , id );
115+ }
101116}
You can’t perform that action at this time.
0 commit comments