Merge pull request #257 from RubieV/patch-2

Remove Exception from method signature
This commit is contained in:
Nanne 2016-09-15 20:49:15 +02:00 committed by GitHub
commit aaa69bbf78

View File

@ -38,10 +38,8 @@ public class LabelDebugger implements Serializable {
/** /**
* <p>Sets the status to enabled</p> * <p>Sets the status to enabled</p>
* @param enabled * @param enabled
* @throws Exception if enabled is null
*/ */
public void setEnabled(Boolean enabled) throws Exception { public void setEnabled(boolean enabled) {
if(enabled == null) throw new Exception("Cannot set enabled to null");
this.enabled = enabled; this.enabled = enabled;
} }