Skip to content

Commit f75cf49

Browse files
DATAREDIS-564 - Polishing.
Remove white spaces, update license header. Add ticket reference to existing testcase. Original Pull Request: spring-projects#228
1 parent 9d1e517 commit f75cf49

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/main/java/org/springframework/data/redis/connection/jedis/JedisConnection.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2011-2016 the original author or authors.
2+
* Copyright 2011-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -1036,7 +1036,7 @@ public Long ttl(byte[] key, TimeUnit timeUnit) {
10361036
}
10371037

10381038
public Boolean pExpire(byte[] key, long millis) {
1039-
1039+
10401040
Assert.notNull(key, "Key must not be null!");
10411041

10421042
try {
@@ -1055,9 +1055,9 @@ public Boolean pExpire(byte[] key, long millis) {
10551055
}
10561056

10571057
public Boolean pExpireAt(byte[] key, long unixTimeInMillis) {
1058-
1058+
10591059
Assert.notNull(key, "Key must not be null!");
1060-
1060+
10611061
try {
10621062
if (isPipelined()) {
10631063
pipeline(new JedisResult(pipeline.pexpireAt(key, unixTimeInMillis), JedisConverters.longToBoolean()));

src/test/java/org/springframework/data/redis/connection/jedis/JedisConnectionIntegrationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ public void testExecuteShouldConvertArrayReplyCorrectly() {
356356
"cool".getBytes(), "supercalifragilisticexpialidocious".getBytes())));
357357
}
358358

359-
@Test // DATAREDIS-286
359+
@Test // DATAREDIS-286, DATAREDIS-564
360360
public void expireShouldSupportExiprationForValuesLargerThanInteger() {
361361

362362
connection.set("expireKey", "foo");

0 commit comments

Comments
 (0)