diff --git a/Kieker.WebGUI/.settings/org.eclipse.jdt.core.prefs b/Kieker.WebGUI/.settings/org.eclipse.jdt.core.prefs index 6c11a6dcbcd0592369564c1556361e7d71854743..3ac53bb216167a65cc077f43c5eba5af3903d0df 100644 --- a/Kieker.WebGUI/.settings/org.eclipse.jdt.core.prefs +++ b/Kieker.WebGUI/.settings/org.eclipse.jdt.core.prefs @@ -9,8 +9,15 @@ org.eclipse.jdt.core.codeComplete.staticFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFieldSuffixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldPrefixes= org.eclipse.jdt.core.codeComplete.staticFinalFieldSuffixes= +org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 +org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve org.eclipse.jdt.core.compiler.compliance=1.6 +org.eclipse.jdt.core.compiler.debug.lineNumber=generate +org.eclipse.jdt.core.compiler.debug.localVariable=generate +org.eclipse.jdt.core.compiler.debug.sourceFile=generate +org.eclipse.jdt.core.compiler.problem.assertIdentifier=error +org.eclipse.jdt.core.compiler.problem.enumIdentifier=error org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning org.eclipse.jdt.core.compiler.source=1.6 org.eclipse.jdt.core.formatter.align_type_members_on_columns=false diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CurrentAnalysisEditorBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CurrentAnalysisEditorBean.java index 35b266bbf632b4cc113b5c42664dca044834b93d..cc661b73122fd8146db34be96b7ecd47bfe6bb19 100644 --- a/Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CurrentAnalysisEditorBean.java +++ b/Kieker.WebGUI/src/main/java/kieker/webgui/web/beans/view/CurrentAnalysisEditorBean.java @@ -98,8 +98,8 @@ public final class CurrentAnalysisEditorBean { * Creates a new instance of this class. <b>Do not call this constructor manually. It will only be accessed by Spring.</b> */ public CurrentAnalysisEditorBean() { - this.availableComponents = new ComponentListContainer(Collections.<PluginContainer> emptyList(), Collections.<PluginContainer> emptyList(), - Collections.<RepositoryContainer> emptyList()); + this.availableComponents = new ComponentListContainer(Collections.<PluginContainer>emptyList(), Collections.<PluginContainer>emptyList(), + Collections.<RepositoryContainer>emptyList()); } /** @@ -373,16 +373,29 @@ public final class CurrentAnalysisEditorBean { this.setModificationsFlag(); } + /** + * This method sets the property {@link CurrentAnalysisEditorBean#unsavedModifications} to false and refreshes the necessary components within the analysis + * editor * to make this visible. + */ private synchronized void clearModificationsFlag() { this.unsavedModifications = false; RequestContext.getCurrentInstance().update("menuForm"); } + /** + * This method sets the property {@link CurrentAnalysisEditorBean#unsavedModifications} to true and refreshes the necessary components within the analysis editor + * to make this visible. + */ private synchronized void setModificationsFlag() { this.unsavedModifications = true; RequestContext.getCurrentInstance().update("menuForm"); } + /** + * Getter for the property {@link CurrentAnalysisEditorBean#unsavedModifications}. + * + * @return The current value of the property. + */ public synchronized boolean isUnsavedModification() { return this.unsavedModifications; }