Repository: cassandra Updated Branches: refs/heads/trunk 189d51f04 -> 9b6aabef5
make cache serializer inner classes static Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/6e6863d4 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/6e6863d4 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/6e6863d4 Branch: refs/heads/trunk Commit: 6e6863d4d14161027a419ef606916c95f59e7f41 Parents: 20bc924 Author: Dave Brosius <dbros...@mebigfatguy.com> Authored: Thu Mar 27 22:29:10 2014 -0400 Committer: Dave Brosius <dbros...@mebigfatguy.com> Committed: Thu Mar 27 22:29:10 2014 -0400 ---------------------------------------------------------------------- src/java/org/apache/cassandra/service/CacheService.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/6e6863d4/src/java/org/apache/cassandra/service/CacheService.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/service/CacheService.java b/src/java/org/apache/cassandra/service/CacheService.java index 2060d98..b164eb9 100644 --- a/src/java/org/apache/cassandra/service/CacheService.java +++ b/src/java/org/apache/cassandra/service/CacheService.java @@ -382,7 +382,7 @@ public class CacheService implements CacheServiceMBean logger.debug("cache saves completed"); } - public class CounterCacheSerializer implements CacheSerializer<CounterCacheKey, ClockAndCount> + public static class CounterCacheSerializer implements CacheSerializer<CounterCacheKey, ClockAndCount> { public void serialize(CounterCacheKey key, DataOutputPlus out) throws IOException { @@ -425,7 +425,7 @@ public class CacheService implements CacheServiceMBean } } - public class RowCacheSerializer implements CacheSerializer<RowCacheKey, IRowCacheEntry> + public static class RowCacheSerializer implements CacheSerializer<RowCacheKey, IRowCacheEntry> { public void serialize(RowCacheKey key, DataOutputPlus out) throws IOException { @@ -448,7 +448,7 @@ public class CacheService implements CacheServiceMBean } } - public class KeyCacheSerializer implements CacheSerializer<KeyCacheKey, RowIndexEntry> + public static class KeyCacheSerializer implements CacheSerializer<KeyCacheKey, RowIndexEntry> { public void serialize(KeyCacheKey key, DataOutputPlus out) throws IOException {