SGF-435 - Fix apache-geode build due to recent Apache Geode codebase changes that removed the deprecated BridgeServer code.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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()
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user