Skip to content

Commit

Permalink
OGM-896 Remove warning and avoid getting the dialect in integretion test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Aug 19, 2015
1 parent db10247 commit ea1d6cd
Showing 1 changed file with 1 addition and 2 deletions.
Expand Up @@ -88,10 +88,9 @@ public void testTtlIsSet() throws InterruptedException {
phoneNumberService.createPhoneNumber( "Michael", "123-456" );

RedisDatastoreProvider provider = getProvider();
RedisDialect dialect = getDialect( provider );

// when
byte[] key = dialect.toBytes( "PhoneNumber:Michael" );
byte[] key = RedisDialect.toBytes( "PhoneNumber:Michael" );
RedisConnection<byte[], byte[]> connection = provider.getConnection();
Boolean exists = connection.exists( key );
byte[] value = connection.get( key );
Expand Down

0 comments on commit ea1d6cd

Please sign in to comment.