From 6a340050c6fbb6a134564d7430cd3df59e4d7beb Mon Sep 17 00:00:00 2001 From: Denny Date: Fri, 10 Feb 2017 06:41:45 -0500 Subject: [PATCH] #165 - cleanup of logging and comments in TunerChannelSource --- src/source/tuner/TunerChannelSource.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/source/tuner/TunerChannelSource.java b/src/source/tuner/TunerChannelSource.java index 13be8ba9..fa0cef46 100644 --- a/src/source/tuner/TunerChannelSource.java +++ b/src/source/tuner/TunerChannelSource.java @@ -310,11 +310,6 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang public void shutdown() { - if(getTunerChannel().getFrequency() == 460500000) - { - mLog.debug("************** Shutdown has been invoked on the P25 primary control channel: 460500000"); - } - mProcessing = false; } @@ -372,8 +367,6 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang } catch(Exception e) { - mLog.error("Error encountered during decimation process", e); - /* Only log the stack trace if we're still processing */ if(mProcessing) { @@ -382,7 +375,7 @@ public class TunerChannelSource extends ComplexSource implements IFrequencyChang } catch(Throwable throwable) { - mLog.error("Bad Error", throwable); + mLog.error("Code error encountered during decimation process - channel thread will probably die", throwable); } /* Check to see if we've been shutdown */