diff options
author | Michi Henning <michi@zeroc.com> | 2007-06-04 01:42:43 +0000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-06-04 01:42:43 +0000 |
commit | 341b55e48dd532257fcc7a79018175632839e900 (patch) | |
tree | 016a9e43fdf84ac73efcdbbbbc7106b544bbe24a /java/src/IceInternal/ReferenceFactory.java | |
parent | Bug 1597. (diff) | |
download | ice-341b55e48dd532257fcc7a79018175632839e900.tar.bz2 ice-341b55e48dd532257fcc7a79018175632839e900.tar.xz ice-341b55e48dd532257fcc7a79018175632839e900.zip |
Bug 1597.
Diffstat (limited to 'java/src/IceInternal/ReferenceFactory.java')
-rw-r--r-- | java/src/IceInternal/ReferenceFactory.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/java/src/IceInternal/ReferenceFactory.java b/java/src/IceInternal/ReferenceFactory.java index 374d3549d25..d886185489f 100644 --- a/java/src/IceInternal/ReferenceFactory.java +++ b/java/src/IceInternal/ReferenceFactory.java @@ -546,24 +546,28 @@ public final class ReferenceFactory if(properties.getProperty(property).length() != 0) { ref = ref.changeLocator(Ice.LocatorPrxHelper.uncheckedCast(_communicator.propertyToProxy(property))); + /* if(ref.getType() == Reference::TypeDirect) { String s = "`" + property + "=" + properties.getProperty(property) + "': cannot set a locator on a direct reference; setting ignored"; _instance.initializationData().logger.warning(s); } + */ } property = propertyPrefix + ".LocatorCacheTimeout"; if(properties.getProperty(property).length() != 0) { ref = ref.changeLocatorCacheTimeout(properties.getPropertyAsInt(property)); + /* if(ref.getType() == Reference::TypeDirect) { String s = "`" + property + "=" + properties.getProperty(property) + "': cannot set a locator cache timeout on a direct reference; setting ignored"; _instance.initializationData().logger.warning(s); } + */ } property = propertyPrefix + ".Router"; |