From: jjenista Date: Wed, 26 Oct 2011 15:48:44 +0000 (+0000) Subject: the static inner classes are not being used, but Subu's work is seeing them and compl... X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d367783741bc962274ab7c75b82b4a0bd32825bd;p=IRC.git the static inner classes are not being used, but Subu's work is seeing them and complaining, so I moved them out. Also twiddled the Player code to generate a normal and error output sampling for experiments, WITHOUT SSJAVA notation, so the analysis won't run on this benchmark at the moment --- diff --git a/Robust/src/Benchmarks/SSJava/MP3Decoder/Decoder.java b/Robust/src/Benchmarks/SSJava/MP3Decoder/Decoder.java index 12287b1c..ae6e87a6 100644 --- a/Robust/src/Benchmarks/SSJava/MP3Decoder/Decoder.java +++ b/Robust/src/Benchmarks/SSJava/MP3Decoder/Decoder.java @@ -232,6 +232,11 @@ public class Decoder implements DecoderErrors { protected DecoderException newDecoderException(int errorcode, Throwable throwable) { return new DecoderException(errorcode, throwable); } +} + + + + /** * The Params class presents the customizable aspects of the @@ -239,7 +244,7 @@ public class Decoder implements DecoderErrors { *

* Instances of this class are not thread safe. */ - public static class Params implements Cloneable { + public class Params implements Cloneable { // private OutputChannels outputChannels = OutputChannels.BOTH; private OutputChannels outputChannels = new OutputChannels(0); @@ -292,5 +297,4 @@ public class Decoder implements DecoderErrors { return equalizer; } - }; -} + } \ No newline at end of file diff --git a/Robust/src/Benchmarks/SSJava/MP3Decoder/LayerIIIDecoder.java b/Robust/src/Benchmarks/SSJava/MP3Decoder/LayerIIIDecoder.java index af6ac25c..031113ff 100644 --- a/Robust/src/Benchmarks/SSJava/MP3Decoder/LayerIIIDecoder.java +++ b/Robust/src/Benchmarks/SSJava/MP3Decoder/LayerIIIDecoder.java @@ -32,6 +32,8 @@ *---------------------------------------------------------------------- */ + + /** * Class Implementing Layer 3 Decoder. * @@ -2388,134 +2390,6 @@ final class LayerIIIDecoder implements FrameDecoder { // This may be adjusted for performance without any problems. // public static final int POW_TABLE_LIMIT=512; - /************************************************************/ - /* L3TABLE */ - /************************************************************/ - - @LATTICE("N