Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2007-10-13 20:26:25 -0400
committerslewis2007-10-13 20:26:25 -0400
commit5ec94cd3db03d8360c8b042734921af3fd5ef129 (patch)
tree2e80b1d120514960e21b8252ac2cdc060a7881d5 /examples
parent64ee101acfe317346f4607c6b71080cf91d69195 (diff)
downloadorg.eclipse.ecf-5ec94cd3db03d8360c8b042734921af3fd5ef129.tar.gz
org.eclipse.ecf-5ec94cd3db03d8360c8b042734921af3fd5ef129.tar.xz
org.eclipse.ecf-5ec94cd3db03d8360c8b042734921af3fd5ef129.zip
Update to 1.2.0 version number. Added jdt and jdt ui prefs from equinox and cleaned up resulting warnings. Applied patch from bug 206118.
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