Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Equality check rather than address comparison in setMetricType.

  • Loading branch information...
commit d9a6f86e7f9f1077d89af790078d5115b6428ea7 1 parent 2a07c89
@cderoove authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ExapusRAP/src/exapus/model/view/View.java
View
2  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();
}
Please sign in to comment.
Something went wrong with that request. Please try again.