Skip to content

Commit

Permalink
Merge pull request pentaho#798 from stanislau-strelchanka/PSW-236
Browse files Browse the repository at this point in the history
[PSW-236] Getting NullPointerException error when clicking on View > …
  • Loading branch information
Marc Batchelor authored Dec 20, 2016
2 parents 0d27426 + b120891 commit 7e9dc11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mondrian/src/main/java/mondrian/olap/Mondrian.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@ Revision is $Id$
public boolean equals(Object o) {
if (o instanceof View) {
View that = (View) o;
if (!this.alias.equals(that.alias)) {
if (!Util.equals(this.alias, that.alias)) {
return false;
}
if (this.selects == null || that.selects == null || this.selects.length != that.selects.length) {
Expand Down
2 changes: 1 addition & 1 deletion workbench/src/main/java/mondrian/olap/Mondrian_SW.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1353,7 +1353,7 @@
public boolean equals(Object o) {
if (o instanceof View) {
View that = (View) o;
if (!this.alias.equals(that.alias)) {
if (!Util.equals(this.alias, that.alias)) {
return false;
}
if (this.selects == null || that.selects == null || this.selects.length != that.selects.length) {
Expand Down

0 comments on commit 7e9dc11

Please sign in to comment.