diff --git a/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java b/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java index 6513a65..4f891eb 100644 --- a/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java +++ b/AlgebraicDataflowArchitectureModel/src/application/editor/Editor.java @@ -45,7 +45,6 @@ protected String curFilePath = null; protected ArrayList codes = null; - // FIXME These variables should be named by camel-case because they are not constant. public static DataFlowModelingStage STAGE_DATA_FLOW_MODELING = null; public static PushPullSelectionStage STAGE_PUSH_PULL_SELECTION = null; @@ -85,7 +84,9 @@ } public boolean changeStage(Stage nextStage) { - if (!nextStage.canChangeFrom(curStage)) return false; + if (!nextStage.canChangeFrom(curStage)) { + return false; + } nextStage.init(curStage); graphComponent.setCellEditor(nextStage.createCellEditor(graphComponent));