summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar De Groot2010-01-26 06:02:31 (EST)
committerCaspar De Groot2010-01-26 06:02:31 (EST)
commit3351dfa8107a3eb87608c3f40aec05fec316b793 (patch)
treefe3d93f1d2ca2791800a25d3acd1f46670ff285a
parent4f900664e1e739b63a5518f184b719b62b3f19da (diff)
downloadcdo-3351dfa8107a3eb87608c3f40aec05fec316b793.zip
cdo-3351dfa8107a3eb87608c3f40aec05fec316b793.tar.gz
cdo-3351dfa8107a3eb87608c3f40aec05fec316b793.tar.bz2
[300642] setPassiveUpdatesEnabled(false) is not communicated to server for empty session
https://bugs.eclipse.org/bugs/show_bug.cgi?id=300642
-rw-r--r--plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
index d118693..1a73526 100644
--- a/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
+++ b/plugins/org.eclipse.emf.cdo/src/org/eclipse/emf/internal/cdo/session/CDOSessionImpl.java
@@ -934,11 +934,8 @@ public abstract class CDOSessionImpl extends Container<CDOView> implements Inter
// Need to refresh if we change state
Map<CDOID, CDOIDAndVersion> allRevisions = getAllCDOIDAndVersion();
- if (!allRevisions.isEmpty())
- {
- int initialChunkSize = collectionLoadingPolicy.getInitialChunkSize();
- getSessionProtocol().setPassiveUpdate(allRevisions, initialChunkSize, passiveUpdateEnabled);
- }
+ int initialChunkSize = collectionLoadingPolicy.getInitialChunkSize();
+ getSessionProtocol().setPassiveUpdate(allRevisions, initialChunkSize, passiveUpdateEnabled);
IListener[] listeners = getListeners();
if (listeners != null)