Merge pull request #257 from RubieV/patch-2
Remove Exception from method signature
This commit is contained in:
commit
aaa69bbf78
@ -38,10 +38,8 @@ public class LabelDebugger implements Serializable {
|
||||
/**
|
||||
* <p>Sets the status to enabled</p>
|
||||
* @param enabled
|
||||
* @throws Exception if enabled is null
|
||||
*/
|
||||
public void setEnabled(Boolean enabled) throws Exception {
|
||||
if(enabled == null) throw new Exception("Cannot set enabled to null");
|
||||
public void setEnabled(boolean enabled) {
|
||||
this.enabled = enabled;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user