diff options
author | Eike Stepper | 2008-08-13 08:36:06 +0000 |
---|---|---|
committer | Eike Stepper | 2008-08-13 08:36:06 +0000 |
commit | 4edaf98c74c62bf5c53203572b68da6c7cf4ab25 (patch) | |
tree | 84241d4eb3fc1a1b16721784a9f21b294af44232 /plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java | |
parent | f17a186f3fad071dcb09d9f6cba5389a6b6a46d7 (diff) | |
download | cdo-4edaf98c74c62bf5c53203572b68da6c7cf4ab25.tar.gz cdo-4edaf98c74c62bf5c53203572b68da6c7cf4ab25.tar.xz cdo-4edaf98c74c62bf5c53203572b68da6c7cf4ab25.zip |
[243987] Decouple Signal from IChannel
https://bugs.eclipse.org/bugs/show_bug.cgi?id=243987
Diffstat (limited to 'plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java')
-rw-r--r-- | plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java index 45b5063cf5..e9ea05abaa 100644 --- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java +++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/protocol/OpenSessionRequest.java @@ -33,7 +33,7 @@ import java.text.MessageFormat; */ public class OpenSessionRequest extends RequestWithConfirmation<OpenSessionResult> { - private static final ContextTracer PROTOCOL = new ContextTracer(OM.DEBUG_PROTOCOL, OpenSessionRequest.class); + private static final ContextTracer PROTOCOL_TRACER = new ContextTracer(OM.DEBUG_PROTOCOL, OpenSessionRequest.class); private String repositoryName; @@ -59,23 +59,23 @@ public class OpenSessionRequest extends RequestWithConfirmation<OpenSessionResul @Override protected void requesting(ExtendedDataOutputStream out) throws IOException { - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Writing repositoryName: {0}", repositoryName); + PROTOCOL_TRACER.format("Writing repositoryName: {0}", repositoryName); } out.writeString(repositoryName); - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Writing legacySupportEnabled: {0}", legacySupportEnabled); + PROTOCOL_TRACER.format("Writing legacySupportEnabled: {0}", legacySupportEnabled); } out.writeBoolean(legacySupportEnabled); - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Writing passiveUpdateEnabled: {0}", passiveUpdateEnabled); + PROTOCOL_TRACER.format("Writing passiveUpdateEnabled: {0}", passiveUpdateEnabled); } out.writeBoolean(passiveUpdateEnabled); @@ -97,21 +97,21 @@ public class OpenSessionRequest extends RequestWithConfirmation<OpenSessionResul throw new ServerException(msg); } - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Read sessionID: {0}", sessionID); + PROTOCOL_TRACER.format("Read sessionID: {0}", sessionID); } String repositoryUUID = in.readString(); - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Read repositoryUUID: {0}", repositoryUUID); + PROTOCOL_TRACER.format("Read repositoryUUID: {0}", repositoryUUID); } CDOIDLibraryDescriptor libraryDescriptor = CDOIDUtil.readLibraryDescriptor(in); - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Read libraryDescriptor: {0}", libraryDescriptor); + PROTOCOL_TRACER.format("Read libraryDescriptor: {0}", libraryDescriptor); } OpenSessionResult result = new OpenSessionResult(sessionID, repositoryUUID, libraryDescriptor); @@ -127,10 +127,10 @@ public class OpenSessionRequest extends RequestWithConfirmation<OpenSessionResul boolean dynamic = in.readBoolean(); CDOIDMetaRange metaIDRange = CDOIDUtil.readMetaRange(in); String parentURI = in.readString(); - if (PROTOCOL.isEnabled()) + if (PROTOCOL_TRACER.isEnabled()) { - PROTOCOL.format("Read package info: uri={0}, dynamic={1}, metaIDRange={2}, parentURI={3}", packageURI, dynamic, - metaIDRange, parentURI); + PROTOCOL_TRACER.format("Read package info: uri={0}, dynamic={1}, metaIDRange={2}, parentURI={3}", packageURI, + dynamic, metaIDRange, parentURI); } result.addPackageInfo(packageURI, dynamic, metaIDRange, parentURI); |