SGF-435 - Fix apache-geode build due to recent Apache Geode codebase changes that removed the deprecated BridgeServer code.

This commit is contained in:
John Blum
2015-10-08 12:06:45 -07:00
parent 92f84e2b57
commit 01eb4a44a2
2 changed files with 0 additions and 22 deletions

View File

@@ -294,10 +294,6 @@ public abstract class GemfireCacheUtils {
if (ex instanceof VersionException) {
return new DataAccessResourceFailureException(ex.getMessage(), ex);
}
// util.version exception (seems quite similar to the exception above)
if (ex instanceof com.gemstone.gemfire.cache.util.VersionException) {
return new DataAccessResourceFailureException(ex.getMessage(), ex);
}
// admin exception
if (ex instanceof com.gemstone.gemfire.admin.AdminException) {
return new GemfireSystemException(ex);

View File

@@ -379,15 +379,6 @@ public class StubCache implements Cache {
return rootRegions;
}
/* (non-Javadoc)
* @see com.gemstone.gemfire.cache.Cache#addBridgeServer()
*/
@Override
@Deprecated
public com.gemstone.gemfire.cache.util.BridgeServer addBridgeServer() {
throw new UnsupportedOperationException(NOT_IMPLEMENTED);
}
/* (non-Javadoc)
* @see com.gemstone.gemfire.cache.Cache#addCacheServer()
*/
@@ -508,15 +499,6 @@ public class StubCache implements Cache {
throw new UnsupportedOperationException(NOT_IMPLEMENTED);
}
/* (non-Javadoc)
* @see com.gemstone.gemfire.cache.Cache#getBridgeServers()
*/
@Override
@Deprecated
public List<CacheServer> getBridgeServers() {
throw new UnsupportedOperationException(NOT_IMPLEMENTED);
}
/* (non-Javadoc)
* @see com.gemstone.gemfire.cache.Cache#getCacheServers()
*/