Skip to content

Commit

Permalink
convertor package added
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita committed Jul 16, 2015
1 parent 2024094 commit 51adf33
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 8 deletions.
3 changes: 2 additions & 1 deletion src/main/java/org/redisson/RedissonList.java
Expand Up @@ -23,8 +23,9 @@
import java.util.ListIterator;
import java.util.NoSuchElementException;

import org.redisson.client.protocol.BooleanReplayConvertor;
import org.redisson.client.protocol.RedisCommand;
import org.redisson.client.protocol.convertor.BooleanReplayConvertor;

import static org.redisson.client.protocol.RedisCommands.*;
import org.redisson.connection.ConnectionManager;
import org.redisson.core.RList;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/org/redisson/RedissonMap.java
Expand Up @@ -28,10 +28,10 @@
import java.util.NoSuchElementException;
import java.util.Set;

import org.redisson.client.protocol.BooleanReplayConvertor;
import org.redisson.client.protocol.LongReplayConvertor;
import org.redisson.client.protocol.RedisCommand;
import org.redisson.client.protocol.RedisCommand.ValueType;
import org.redisson.client.protocol.convertor.BooleanReplayConvertor;
import org.redisson.client.protocol.convertor.LongReplayConvertor;
import org.redisson.client.protocol.RedisCommands;
import org.redisson.client.protocol.StringCodec;
import org.redisson.client.protocol.decoder.MapScanResult;
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/redisson/client/protocol/RedisCommand.java
Expand Up @@ -18,6 +18,8 @@
import java.util.Arrays;
import java.util.List;

import org.redisson.client.protocol.convertor.Convertor;
import org.redisson.client.protocol.convertor.EmptyConvertor;
import org.redisson.client.protocol.decoder.MultiDecoder;

public class RedisCommand<R> {
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/org/redisson/client/protocol/RedisCommands.java
Expand Up @@ -19,6 +19,8 @@
import java.util.Map;

import org.redisson.client.protocol.RedisCommand.ValueType;
import org.redisson.client.protocol.convertor.BooleanReplayConvertor;
import org.redisson.client.protocol.convertor.VoidReplayConvertor;
import org.redisson.client.protocol.decoder.KeyValueObjectDecoder;
import org.redisson.client.protocol.decoder.ListScanResult;
import org.redisson.client.protocol.decoder.ListScanResultReplayDecoder;
Expand Down
Expand Up @@ -15,6 +15,7 @@
*/
package org.redisson.client.protocol;

import org.redisson.client.protocol.convertor.Convertor;
import org.redisson.client.protocol.decoder.MultiDecoder;

public class RedisStrictCommand<T> extends RedisCommand<T> {
Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.redisson.client.protocol;
package org.redisson.client.protocol.convertor;

public class BooleanReplayConvertor implements Convertor<Boolean> {

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.redisson.client.protocol;
package org.redisson.client.protocol.convertor;

public interface Convertor<R> {

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.redisson.client.protocol;
package org.redisson.client.protocol.convertor;

public class EmptyConvertor<R> implements Convertor<R> {

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.redisson.client.protocol;
package org.redisson.client.protocol.convertor;

public class LongReplayConvertor implements Convertor<Long> {

Expand Down
Expand Up @@ -13,7 +13,7 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.redisson.client.protocol;
package org.redisson.client.protocol.convertor;

public class VoidReplayConvertor implements Convertor<Void> {

Expand Down

0 comments on commit 51adf33

Please sign in to comment.