DATAREDIS-564 - Polishing.

Remove white spaces, update license header.
Add ticket reference to existing testcase.

Original Pull Request: #228
This commit is contained in:
Christoph Strobl
2017-01-13 08:10:22 +01:00
parent 9d1e517099
commit f75cf494f6
2 changed files with 5 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2011-2016 the original author or authors.
* Copyright 2011-2017 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -1036,7 +1036,7 @@ public class JedisConnection extends AbstractRedisConnection {
}
public Boolean pExpire(byte[] key, long millis) {
Assert.notNull(key, "Key must not be null!");
try {
@@ -1055,9 +1055,9 @@ public class JedisConnection extends AbstractRedisConnection {
}
public Boolean pExpireAt(byte[] key, long unixTimeInMillis) {
Assert.notNull(key, "Key must not be null!");
try {
if (isPipelined()) {
pipeline(new JedisResult(pipeline.pexpireAt(key, unixTimeInMillis), JedisConverters.longToBoolean()));

View File

@@ -356,7 +356,7 @@ public class JedisConnectionIntegrationTests extends AbstractConnectionIntegrati
"cool".getBytes(), "supercalifragilisticexpialidocious".getBytes())));
}
@Test // DATAREDIS-286
@Test // DATAREDIS-286, DATAREDIS-564
public void expireShouldSupportExiprationForValuesLargerThanInteger() {
connection.set("expireKey", "foo");