Kaydet (Commit) 5d5e14e9 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326899 HE: Equal objects must have equal hashcodes

and...

coverity#1326898 HE: Equal objects must have equal hashcodes
coverity#1326897 HE: Equal objects must have equal hashcodes
coverity#1326896 HE: Equal objects must have equal hashcodes
coverity#1326895 HE: Equal objects must have equal hashcodes

Change-Id: Ic9cb7542c1bf0608a97e5b4756b737cdf1bb4bd8
üst 99b21cc9
......@@ -85,6 +85,11 @@ public class ScriptEntry implements Cloneable {
location.equals(other.getLocation());
}
@Override
public int hashCode() {
return 0;
}
public Map<String, String> getLanguageProperties() {
return languagedepprops;
}
......
......@@ -70,6 +70,11 @@ public class ScriptMetaData extends ScriptEntry {
return super.equals(other) && hasSource == other.hasSource();
}
@Override
public int hashCode() {
return 0;
}
public String getScriptFullURL() {
String url = "vnd.sun.star.script:" + parent.getName() + "."
+ getLanguageName() + "?" + "language=" + getLanguage()
......
......@@ -351,4 +351,10 @@ public final class PalmDB {
return bool;
}
}
\ No newline at end of file
@Override
public int hashCode() {
return 0;
}
}
......@@ -167,4 +167,10 @@ public final class Record {
}
return false;
}
}
\ No newline at end of file
@Override
public int hashCode() {
return 0;
}
}
......@@ -175,6 +175,11 @@ public final class Difference {
return false;
}
@Override
public int hashCode() {
return 0;
}
/**
* Display debug information.
*
......@@ -215,4 +220,4 @@ public final class Difference {
return orgPosition + " " + modPosition + " " + operation;
}
}
\ No newline at end of file
}
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