Skip to content

Commit

Permalink
Removed unneeded code.
Browse files Browse the repository at this point in the history
  • Loading branch information
bengtmartensson committed Mar 22, 2017
1 parent 95c0110 commit 7db007e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -182,11 +182,6 @@ public String toPrintString() {


public Command toCommand() throws IrpMasterException {
if (protocolName == null || protocolName.isEmpty())
throw new IrpMasterException("Protocol name is empty");
if (parameters == null || parameters.isEmpty())
throw new IrpMasterException("Parameters missing");

// Strip out parameter named "hex" before sending to IrpMaster
// (not used by any current protocols, just causes noisy warnings).
@SuppressWarnings("unchecked")
Expand Down

0 comments on commit 7db007e

Please sign in to comment.