We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83258d7 commit aee2383Copy full SHA for aee2383
src/org/opensolaris/opengrok/history/RepositoryInfo.java
@@ -24,6 +24,7 @@
24
25
import java.io.Serializable;
26
import java.text.SimpleDateFormat;
27
+import java.util.Objects;
28
import org.opensolaris.opengrok.configuration.RuntimeEnvironment;
29
import org.opensolaris.opengrok.util.ClassUtil;
30
@@ -231,4 +232,11 @@ public boolean equals(Object obj) {
231
232
return (ri.getDirectoryNameRelative() == null && this.getDirectoryNameRelative() == null);
233
}
234
235
+
236
+ @Override
237
+ public int hashCode() {
238
+ int hash = 7;
239
+ hash = 89 * hash + Objects.hashCode(this.directoryNameRelative);
240
+ return hash;
241
+ }
242
0 commit comments