diff --git a/edexOsgi/com.raytheon.edex.plugin.binlightning/src/com/raytheon/edex/plugin/binlightning/BinLightningDecoder.java b/edexOsgi/com.raytheon.edex.plugin.binlightning/src/com/raytheon/edex/plugin/binlightning/BinLightningDecoder.java index 8c0a552f34..6c673f68dd 100644 --- a/edexOsgi/com.raytheon.edex.plugin.binlightning/src/com/raytheon/edex/plugin/binlightning/BinLightningDecoder.java +++ b/edexOsgi/com.raytheon.edex.plugin.binlightning/src/com/raytheon/edex/plugin/binlightning/BinLightningDecoder.java @@ -134,14 +134,15 @@ public class BinLightningDecoder extends AbstractDecoder { private static DecryptedLightningValidator validator = new DecryptedLightningValidator() { @Override public boolean isValid(byte[] decryptedData) { - return BinLightningDecoderUtil.isKeepAliveRecord(decryptedData) == false - && BinLightningDecoderUtil - .isLightningDataRecords(decryptedData) == false; + return BinLightningDecoderUtil.isKeepAliveRecord(decryptedData) + || BinLightningDecoderUtil + .isLightningDataRecords(decryptedData); /* * use this if keep-alive record could be mixed with lightning * records */ - // return BinLigntningDecoderUtil.isValidMixedRecordData(decryptedData) == false + // return + // BinLigntningDecoderUtil.isValidMixedRecordData(decryptedData); } };