Resolved issue with duplicate properties saves

This commit is contained in:
denny
2016-02-15 20:23:01 -05:00
parent c8328b3eff
commit 5ee4a48ab3
4 changed files with 2 additions and 9 deletions

View File

@@ -493,11 +493,6 @@ public class ProcessingChain implements IChannelEventListener
mLog.error( "Error starting module", e ); mLog.error( "Error starting module", e );
} }
} }
for( Listener<RealBuffer> listener: mUnFilteredRealBufferBroadcaster.getListeners() )
{
mLog.debug( "*** Listener:" + listener.getClass() );
}
} }
else else
{ {

View File

@@ -87,8 +87,8 @@ public class SystemProperties
mProperties.store( out, comments ); mProperties.store( out, comments );
mLog.info( "SystemProperties - saved current properties [" + // mLog.info( "SystemProperties - saved current properties [" +
propsPath.toString() + "]" ); // propsPath.toString() + "]" );
} }
catch( Exception e ) catch( Exception e )
{ {

View File

@@ -186,7 +186,6 @@ public class DFTProcessor implements Listener<ComplexBuffer>,
SystemProperties properties = SystemProperties.getInstance(); SystemProperties properties = SystemProperties.getInstance();
properties.set( FRAME_RATE_PROPERTY, String.valueOf( mFrameRate ) ); properties.set( FRAME_RATE_PROPERTY, String.valueOf( mFrameRate ) );
properties.save();
calculateConsumptionRate(); calculateConsumptionRate();

View File

@@ -235,7 +235,6 @@ public class SpectralDisplayPanel extends JPanel
SystemProperties properties = SystemProperties.getInstance(); SystemProperties properties = SystemProperties.getInstance();
properties.set( FFT_SIZE_PROPERTY, size.name() ); properties.set( FFT_SIZE_PROPERTY, size.name() );
properties.save();
setZoom( 0, 0, 0 ); setZoom( 0, 0, 0 );
} }