From 7db007e38c4dda23e2d0cf245ab6a929279133a6 Mon Sep 17 00:00:00 2001 From: Bengt Martensson Date: Wed, 22 Mar 2017 22:34:30 +0100 Subject: [PATCH] Removed unneeded code. --- .../org/harctoolbox/irscrutinizer/ParametrizedIrSignal.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/IrScrutinizer/src/main/java/org/harctoolbox/irscrutinizer/ParametrizedIrSignal.java b/IrScrutinizer/src/main/java/org/harctoolbox/irscrutinizer/ParametrizedIrSignal.java index 0c2f0ff8..71dd1677 100644 --- a/IrScrutinizer/src/main/java/org/harctoolbox/irscrutinizer/ParametrizedIrSignal.java +++ b/IrScrutinizer/src/main/java/org/harctoolbox/irscrutinizer/ParametrizedIrSignal.java @@ -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")