polygene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From paulmer...@apache.org
Subject [49/50] polygene-java git commit: :extensions:cache-ehcache refine
Date Mon, 15 May 2017 11:03:54 GMT
:extensions:cache-ehcache refine


Project: http://git-wip-us.apache.org/repos/asf/polygene-java/repo
Commit: http://git-wip-us.apache.org/repos/asf/polygene-java/commit/5dc26dd2
Tree: http://git-wip-us.apache.org/repos/asf/polygene-java/tree/5dc26dd2
Diff: http://git-wip-us.apache.org/repos/asf/polygene-java/diff/5dc26dd2

Branch: refs/heads/develop
Commit: 5dc26dd2b8c8eb7d33f07445e6caafa78c6c0946
Parents: ee6d104
Author: Paul Merlin <paulmerlin@apache.org>
Authored: Mon May 15 11:35:23 2017 +0200
Committer: Paul Merlin <paulmerlin@apache.org>
Committed: Mon May 15 11:35:23 2017 +0200

----------------------------------------------------------------------
 .../org/apache/polygene/cache/ehcache/EhCacheConfiguration.java   | 3 +--
 .../java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java  | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/polygene-java/blob/5dc26dd2/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCacheConfiguration.java
----------------------------------------------------------------------
diff --git a/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCacheConfiguration.java
b/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCacheConfiguration.java
index 699e767..b75e8b7 100644
--- a/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCacheConfiguration.java
+++ b/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCacheConfiguration.java
@@ -21,12 +21,11 @@ package org.apache.polygene.cache.ehcache;
 
 import org.apache.polygene.api.common.Optional;
 import org.apache.polygene.api.common.UseDefaults;
-import org.apache.polygene.api.configuration.ConfigurationComposite;
 import org.apache.polygene.api.property.Property;
 import org.apache.polygene.library.constraints.annotation.OneOf;
 
 // START SNIPPET: config
-public interface EhCacheConfiguration extends ConfigurationComposite {
+public interface EhCacheConfiguration {
 
     /**
      * Heap tier size.

http://git-wip-us.apache.org/repos/asf/polygene-java/blob/5dc26dd2/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java
----------------------------------------------------------------------
diff --git a/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java
b/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java
index dbf9ed4..958610f 100644
--- a/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java
+++ b/extensions/cache-ehcache/src/main/java/org/apache/polygene/cache/ehcache/EhCachePoolMixin.java
@@ -43,7 +43,6 @@ import static org.ehcache.expiry.Expirations.*;
 public abstract class EhCachePoolMixin
     implements EhCachePoolService
 {
-    private static final long DEFAULT_HEAP_SIZE = 1024 * 1024;
     private final ConcurrentHashMap<String, EhCacheImpl<?>> caches = new ConcurrentHashMap<>();
 
     @This


Mime
View raw message