Skip to content
Permalink
Browse files

[FIXED JENKINS-15250]: Don't use raw data when comparing warnings.

  • Loading branch information
uhafner committed Sep 25, 2012
1 parent 96b6424 commit d6eae84f2d212b29fba28116bc8a4f2a26dedac3
Showing with 2 additions and 12 deletions.
  1. +2 −12 src/main/java/hudson/plugins/analysis/util/model/AbstractAnnotation.java
@@ -491,20 +491,10 @@ else if (!lineRanges.equals(other.lineRanges)) {
else if (!message.toString().equals(other.message.toString())) {
return false;
}
if (moduleName == null) {
if (other.moduleName != null) {
return false;
}
}
else if (!moduleName.toString().equals(other.moduleName.toString())) {
if (!getModuleName().equals(other.getModuleName())) {
return false;
}
if (packageName == null) {
if (other.packageName != null) {
return false;
}
}
else if (!packageName.toString().equals(other.packageName.toString())) {
if (!getPackageName().equals(other.getPackageName())) {
return false;
}
if (primaryLineNumber != other.primaryLineNumber) {

0 comments on commit d6eae84

Please sign in to comment.
You can’t perform that action at this time.