Permalink
Browse files

Equality check rather than address comparison in setMetricType.

  • Loading branch information...
1 parent 2a07c89 commit d9a6f86e7f9f1077d89af790078d5115b6428ea7 @cderoove committed Jan 24, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ExapusRAP/src/exapus/model/view/View.java
@@ -150,7 +150,7 @@ public MetricType getMetricType() {
}
public void setMetricType(MetricType metricType) {
- if(this.metricType != metricType) {
+ if(!metricType.equals(this.metricType)) {
this.metricType = metricType;
makeDirty();
}

0 comments on commit d9a6f86

Please sign in to comment.