Skip to content
This repository has been archived by the owner on May 17, 2021. It is now read-only.

Commit

Permalink
Fix #4515 (NPE for digital items in TA-CMI binding) (#4526)
Browse files Browse the repository at this point in the history
  • Loading branch information
Wolfgang Klimt authored and watou committed Jul 9, 2016
1 parent bbdef4e commit 3f794c6
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,12 @@ public TACmiBindingConfig(int canNode, String portType, int portNumber, TACmiMea
this.canNode = canNode;
this.portType = portType;
this.portNumber = portNumber;
this.measureType = measureType;
if (measureType == null) {
this.measureType = TACmiMeasureType.NONE;
} else {
this.measureType = measureType;
}

this.configurationString = configurationString;
}

Expand Down

0 comments on commit 3f794c6

Please sign in to comment.