Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab.editor/META-INF/MANIFEST.MF2
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab.editor/src/org/eclipse/ecf/example/collab/editor/message/AbstractMessage.java9
2 files changed, 6 insertions, 5 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab.editor/META-INF/MANIFEST.MF b/examples/bundles/org.eclipse.ecf.example.collab.editor/META-INF/MANIFEST.MF
index 839d7dc52..45a6b0855 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab.editor/META-INF/MANIFEST.MF
+++ b/examples/bundles/org.eclipse.ecf.example.collab.editor/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %plugin.name
Bundle-SymbolicName: org.eclipse.ecf.example.collab.editor; singleton:=true
-Bundle-Version: 1.0.100.qualifier
+Bundle-Version: 1.0.200.qualifier
Bundle-Activator: org.eclipse.ecf.example.collab.editor.Activator
Bundle-Localization: plugin
Require-Bundle: org.eclipse.core.runtime,
diff --git a/examples/bundles/org.eclipse.ecf.example.collab.editor/src/org/eclipse/ecf/example/collab/editor/message/AbstractMessage.java b/examples/bundles/org.eclipse.ecf.example.collab.editor/src/org/eclipse/ecf/example/collab/editor/message/AbstractMessage.java
index ff4bef34f..6498ce491 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab.editor/src/org/eclipse/ecf/example/collab/editor/message/AbstractMessage.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab.editor/src/org/eclipse/ecf/example/collab/editor/message/AbstractMessage.java
@@ -17,11 +17,12 @@ import java.io.Serializable;
import org.eclipse.ecf.core.util.ECFException;
public abstract class AbstractMessage implements Serializable {
-
-
+
+ private static final long serialVersionUID = 6948157547330289296L;
+
public byte[] toByteArray() throws IOException, ECFException {
- ByteArrayOutputStream bouts = new ByteArrayOutputStream();
- ObjectOutputStream douts = new ObjectOutputStream(bouts);
+ final ByteArrayOutputStream bouts = new ByteArrayOutputStream();
+ final ObjectOutputStream douts = new ObjectOutputStream(bouts);
douts.writeObject(this);
return bouts.toByteArray();
}

Back to the top