From da42fbc0e9e0951f6f12130ee01161bd570bb8bd Mon Sep 17 00:00:00 2001
From: Nils Christian Ehmke <nie@informatik.uni-kiel.de>
Date: Mon, 11 Jun 2012 11:39:53 +0200
Subject: [PATCH] Removed the serializable-interfaces, as the whole ecore-model
 is not implementing java.io.Serializable.

---
 .../beans/session/CurrentAnalysisCockpitProjectBean.java  | 8 +-------
 .../webgui/beans/session/CurrentCockpitEditorBean.java    | 7 +------
 .../webgui/beans/session/CurrentControllerBean.java       | 8 +-------
 .../webgui/beans/session/CurrentWorkSpaceProjectBean.java | 7 +------
 4 files changed, 4 insertions(+), 26 deletions(-)

diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisCockpitProjectBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisCockpitProjectBean.java
index d79388a8..e649f888 100644
--- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisCockpitProjectBean.java
+++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentAnalysisCockpitProjectBean.java
@@ -20,8 +20,6 @@
 
 package kieker.webgui.beans.session;
 
-import java.io.Serializable;
-
 import javax.faces.bean.ManagedBean;
 import javax.faces.bean.SessionScoped;
 
@@ -42,12 +40,8 @@ import kieker.webgui.common.Global;
  */
 @ManagedBean
 @SessionScoped
-public class CurrentAnalysisCockpitProjectBean implements Serializable {
+public class CurrentAnalysisCockpitProjectBean {
 
-	/**
-	 * The serial version UID.
-	 */
-	private static final long serialVersionUID = 3547633191203876924L;
 	/**
 	 * This is the name of the stored project. It can be used as an identifier within the FS-Manager
 	 */
diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentCockpitEditorBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentCockpitEditorBean.java
index bda6523b..aae4ee4b 100644
--- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentCockpitEditorBean.java
+++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentCockpitEditorBean.java
@@ -21,7 +21,6 @@
 package kieker.webgui.beans.session;
 
 import java.io.IOException;
-import java.io.Serializable;
 import java.lang.reflect.Method;
 import java.util.ArrayList;
 import java.util.List;
@@ -55,11 +54,7 @@ import org.primefaces.event.TabChangeEvent;
  */
 @ManagedBean
 @SessionScoped
-public class CurrentCockpitEditorBean implements Serializable {
-	/**
-	 * The serial version UID.
-	 */
-	private static final long serialVersionUID = -7805981069286797493L;
+public class CurrentCockpitEditorBean {
 	/**
 	 * This is the log for errors, exceptions etc.
 	 */
diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentControllerBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentControllerBean.java
index c9c1a8fe..be688ed4 100644
--- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentControllerBean.java
+++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentControllerBean.java
@@ -21,7 +21,6 @@
 package kieker.webgui.beans.session;
 
 import java.io.IOException;
-import java.io.Serializable;
 
 import javax.faces.application.FacesMessage;
 import javax.faces.application.FacesMessage.Severity;
@@ -49,12 +48,7 @@ import kieker.webgui.common.exception.ProjectStillRunningException;
  */
 @ManagedBean
 @SessionScoped
-public class CurrentControllerBean implements Serializable {
-
-	/**
-	 * The serial version UID.
-	 */
-	private static final long serialVersionUID = 2070646497643630097L;
+public class CurrentControllerBean {
 	/**
 	 * This is the log for errors, exceptions etc.
 	 */
diff --git a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentWorkSpaceProjectBean.java b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentWorkSpaceProjectBean.java
index 406c9bea..b2460efe 100644
--- a/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentWorkSpaceProjectBean.java
+++ b/Kieker.WebGUI/src/main/java/kieker/webgui/beans/session/CurrentWorkSpaceProjectBean.java
@@ -21,7 +21,6 @@
 package kieker.webgui.beans.session;
 
 import java.io.IOException;
-import java.io.Serializable;
 import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Modifier;
 import java.net.MalformedURLException;
@@ -84,11 +83,7 @@ import org.eclipse.emf.ecore.EObject;
 // TODO Clean the connections when someone removes a plugin/repository
 @ManagedBean
 @SessionScoped
-public final class CurrentWorkSpaceProjectBean implements Serializable {
-	/**
-	 * The serial version UID.
-	 */
-	private static final long serialVersionUID = -6957852548314885573L;
+public final class CurrentWorkSpaceProjectBean {
 	/**
 	 * This is the log for errors, exceptions etc.
 	 */
-- 
GitLab