Remove argument checks for piVersion in internal pod state representation
This commit is contained in:
parent
341474295f
commit
906b8c2585
|
@ -490,12 +490,6 @@ public abstract class PodStateManager {
|
|||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue