Skip to content

Commit

Permalink
Move IRedisManager back to root
Browse files Browse the repository at this point in the history
  • Loading branch information
alexy committed Sep 7, 2020
1 parent e36d35e commit b38fa01
Show file tree
Hide file tree
Showing 11 changed files with 2 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.crazycake.shiro.common;
package org.crazycake.shiro;

import java.util.Set;

Expand Down
2 changes: 0 additions & 2 deletions src/main/java/org/crazycake/shiro/RedisCache.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,10 @@
import org.apache.shiro.cache.CacheException;
import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.util.CollectionUtils;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.exception.CacheManagerPrincipalIdNotAssignedException;
import org.crazycake.shiro.exception.PrincipalIdNullException;
import org.crazycake.shiro.exception.PrincipalInstanceException;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.RedisSerializer;
import org.crazycake.shiro.serializer.StringSerializer;
import org.slf4j.Logger;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/crazycake/shiro/RedisCacheManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.apache.shiro.cache.Cache;
import org.apache.shiro.cache.CacheException;
import org.apache.shiro.cache.CacheManager;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.RedisSerializer;
import org.crazycake.shiro.serializer.StringSerializer;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/crazycake/shiro/RedisClusterManager.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.crazycake.shiro;

import org.crazycake.shiro.common.IRedisManager;
import redis.clients.jedis.*;

import java.util.HashSet;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/crazycake/shiro/RedisManager.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.crazycake.shiro;

import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.common.WorkAloneRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPool;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.crazycake.shiro;

import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.common.WorkAloneRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisSentinelPool;
Expand Down
1 change: 0 additions & 1 deletion src/main/java/org/crazycake/shiro/RedisSessionDAO.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import org.apache.shiro.session.Session;
import org.apache.shiro.session.UnknownSessionException;
import org.apache.shiro.session.mgt.eis.AbstractSessionDAO;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.common.SessionInMemory;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectSerializer;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.crazycake.shiro.common;

import org.crazycake.shiro.IRedisManager;
import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisPoolConfig;
import redis.clients.jedis.ScanParams;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package org.crazycake.shiro;

import org.apache.shiro.cache.Cache;
import org.crazycake.shiro.common.IRedisManager;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/org/crazycake/shiro/RedisCacheTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package org.crazycake.shiro;

import org.apache.shiro.subject.PrincipalCollection;
import org.apache.shiro.subject.SimplePrincipalCollection;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.StringSerializer;
Expand Down
1 change: 0 additions & 1 deletion src/test/java/org/crazycake/shiro/RedisSessionDAOTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import org.apache.shiro.session.InvalidSessionException;
import org.apache.shiro.session.Session;
import org.crazycake.shiro.common.IRedisManager;
import org.crazycake.shiro.exception.SerializationException;
import org.crazycake.shiro.serializer.ObjectSerializer;
import org.crazycake.shiro.serializer.StringSerializer;
Expand Down

0 comments on commit b38fa01

Please sign in to comment.