Эх сурвалжийг харах

make checkstyle happy (at least with th at modest configuration)

Eren Yilmaz 6 жил өмнө
parent
commit
5b54605a43

+ 6 - 0
src/processor/StackFrame.java

@@ -34,6 +34,12 @@ public class StackFrame {
     	return type;
     }
     
+    /**
+     * declare a new variable
+     * @param name the name of the variable
+     * @param value the value of the variable
+     * @param <T> the type of the variable
+     */
     public <T> void declare( String name, T value )
     {
         if( data.containsKey( name ) )

+ 2 - 2
src/test/RandomProcessor.java

@@ -6,13 +6,13 @@ import graph.LayeredGraphNode;
 import processor.PseudoCodeNode;
 import processor.PseudoCodeProcessor;
 
-public class RandomProcessor extends PseudoCodeProcessor {
+class RandomProcessor extends PseudoCodeProcessor {
 
     private static final double STEP_OVER = 0.1;
     private static final double STEP_OUT = 0.1;
     private static final int ITERATIONS = 1000;
     
-    public RandomProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
+    RandomProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
         super(start, graph, view);
     }
     

+ 2 - 2
src/test/StepInProcessor.java

@@ -6,9 +6,9 @@ import graph.LayeredGraphNode;
 import processor.PseudoCodeNode;
 import processor.PseudoCodeProcessor;
 
-public class StepInProcessor extends PseudoCodeProcessor{
+class StepInProcessor extends PseudoCodeProcessor{
 
-    public StepInProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
+    StepInProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
         super(start, graph, view);
     }
     

+ 2 - 2
src/test/StepOverProcessor.java

@@ -6,9 +6,9 @@ import graph.LayeredGraphNode;
 import processor.PseudoCodeNode;
 import processor.PseudoCodeProcessor;
 
-public class StepOverProcessor extends PseudoCodeProcessor {
+class StepOverProcessor extends PseudoCodeProcessor {
 
-    public StepOverProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
+    StepOverProcessor(PseudoCodeNode start, LayeredGraphNode graph, JFrame view) {
         super(start, graph, view);
     }