Remove argument checks for piVersion in internal pod state representation
This commit is contained in:
parent
341474295f
commit
906b8c2585
1 changed files with 0 additions and 6 deletions
|
@ -490,12 +490,6 @@ public abstract class PodStateManager {
|
||||||
}
|
}
|
||||||
|
|
||||||
void setPiVersion(FirmwareVersion piVersion) {
|
void setPiVersion(FirmwareVersion piVersion) {
|
||||||
if (this.piVersion != null) {
|
|
||||||
throw new IllegalStateException("piVersion has already been set");
|
|
||||||
}
|
|
||||||
if (piVersion == null) {
|
|
||||||
throw new IllegalArgumentException("piVersion can not be null");
|
|
||||||
}
|
|
||||||
this.piVersion = piVersion;
|
this.piVersion = piVersion;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue