geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [1/3] geode git commit: 2632: 1st pass cleaning up GemFireCacheImpl [Forced Update!]
Date Thu, 20 Apr 2017 18:00:04 GMT
Repository: geode
Updated Branches:
  refs/heads/feature/GEODE-2632-6 c64994713 -> 625e71b3e (forced update)


http://git-wip-us.apache.org/repos/asf/geode/blob/625e71b3/geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java b/geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java
index 709308b..9e8a0b7 100644
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/InternalCache.java
@@ -76,7 +76,7 @@ public interface InternalCache extends Cache, Extensible<Cache> {
 
   FilterProfile getFilterProfile(String regionName);
 
-  Region getRegion(String path, boolean returnDestroyedRegion);
+  <K, V> Region<K, V> getRegion(String path, boolean returnDestroyedRegion);
 
   MemoryAllocator getOffHeapStore();
 

http://git-wip-us.apache.org/repos/asf/geode/blob/625e71b3/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java
----------------------------------------------------------------------
diff --git a/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java
b/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java
index a5f0fc2..d80fe16 100755
--- a/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java
+++ b/geode-core/src/main/java/org/apache/geode/internal/cache/xmlcache/CacheCreation.java
@@ -1727,7 +1727,7 @@ public class CacheCreation implements InternalCache {
   }
 
   @Override
-  public Region getRegion(final String path, final boolean returnDestroyedRegion) {
+  public <K, V> Region<K, V> getRegion(final String path, final boolean returnDestroyedRegion)
{
     throw new UnsupportedOperationException(LocalizedStrings.SHOULDNT_INVOKE.toLocalizedString());
   }
 


Mime
View raw message