Skip to content

Commit

Permalink
Merging error didn't include the update to Assert.State
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrus-dev committed Feb 9, 2021
1 parent 5e4dc8c commit 69cd06d
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,9 @@ public ComponentInfo(final String componentManufacturer,
componentManufacturer,
componentModel,
componentSerial,
componentRevision));
componentRevision),
"ComponentInfo: manufacturer and/or "
+ "model can not be null");
this.componentManufacturer = componentManufacturer.trim();
this.componentModel = componentModel.trim();
if (componentSerial != null) {
Expand Down Expand Up @@ -143,8 +145,9 @@ public ComponentInfo(final String componentManufacturer,
componentManufacturer,
componentModel,
componentSerial,
componentRevision
));
componentRevision),
"ComponentInfo: manufacturer and/or "
+ "model can not be null");
this.componentManufacturer = componentManufacturer.trim();
this.componentModel = componentModel.trim();
if (componentSerial != null) {
Expand Down

0 comments on commit 69cd06d

Please sign in to comment.