diff options
author | slewis | 2008-10-05 20:02:42 +0000 |
---|---|---|
committer | slewis | 2008-10-05 20:02:42 +0000 |
commit | 5c278fa69d32359f4d0e5fa93bb24db9017ddf88 (patch) | |
tree | a5a8bd30b9ac781bc45f47b4b84ee289ac14d614 /framework/bundles/org.eclipse.ecf.sync | |
parent | 93dc1354e9dc0de080e256f3ed253d2eb857985f (diff) | |
download | org.eclipse.ecf-5c278fa69d32359f4d0e5fa93bb24db9017ddf88.tar.gz org.eclipse.ecf-5c278fa69d32359f4d0e5fa93bb24db9017ddf88.tar.xz org.eclipse.ecf-5c278fa69d32359f4d0e5fa93bb24db9017ddf88.zip |
Renamed deserialize method
Diffstat (limited to 'framework/bundles/org.eclipse.ecf.sync')
3 files changed, 4 insertions, 4 deletions
diff --git a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/cola/ColaSynchronizationStrategy.java b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/cola/ColaSynchronizationStrategy.java index 96d3a44df..e9d4362be 100644 --- a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/cola/ColaSynchronizationStrategy.java +++ b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/cola/ColaSynchronizationStrategy.java @@ -203,7 +203,7 @@ public class ColaSynchronizationStrategy implements IDocumentSynchronizationStra /* (non-Javadoc) * @see org.eclipse.ecf.sync.doc.IDocumentSynchronizationStrategy#toDocumentChangeMessage(byte[]) */ - public IDocumentChange deserializeToDocumentChange(byte[] bytes) throws SerializationException { + public IDocumentChange deserializeRemoteChange(byte[] bytes) throws SerializationException { return DocumentChangeMessage.deserialize(bytes); } diff --git a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/identity/IdentitySynchronizationStrategy.java b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/identity/IdentitySynchronizationStrategy.java index 796e0cd78..d6bdaf924 100644 --- a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/identity/IdentitySynchronizationStrategy.java +++ b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/internal/sync/doc/identity/IdentitySynchronizationStrategy.java @@ -25,7 +25,7 @@ public class IdentitySynchronizationStrategy implements IDocumentSynchronization /* (non-Javadoc) * @see org.eclipse.ecf.sync.doc.IDocumentSynchronizationStrategy#deserializeToDocumentChange(byte[]) */ - public IDocumentChange deserializeToDocumentChange(byte[] bytes) throws SerializationException { + public IDocumentChange deserializeRemoteChange(byte[] bytes) throws SerializationException { return DocumentChangeMessage.deserialize(bytes); } diff --git a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/sync/doc/IDocumentSynchronizationStrategy.java b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/sync/doc/IDocumentSynchronizationStrategy.java index 776e66861..972e56942 100644 --- a/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/sync/doc/IDocumentSynchronizationStrategy.java +++ b/framework/bundles/org.eclipse.ecf.sync/src/org/eclipse/ecf/sync/doc/IDocumentSynchronizationStrategy.java @@ -20,7 +20,7 @@ package org.eclipse.ecf.sync.doc; * should call {@link #registerLocalChange(IDocumentChange)} when local * changes occur, and then serialize returned {@link IDocumentChangeMessage}s and * deliver the change message to remotes. When remote change messages are received, - * they should first be deserized via {@link #deserializeToDocumentChange(byte[])}, and then + * they should first be deserized via {@link #deserializeRemoteChange(byte[])}, and then * passed to {@link #transformRemoteChange(IDocumentChange)} to transform * the change so that when the returned IDocumentChanges are applied to the local * document its state will be consistent with other client(s). @@ -54,5 +54,5 @@ public interface IDocumentSynchronizationStrategy { * @return IDocumentChange instance from bytes. Will not be <code>null</code>. * @throws SerializationException thrown if some problem deserializing given bytes. */ - public IDocumentChange deserializeToDocumentChange(byte[] bytes) throws SerializationException; + public IDocumentChange deserializeRemoteChange(byte[] bytes) throws SerializationException; } |