DATAREDIS-692 - Polishing.

Add NonNullFields to packages. Add missing Nullable annotations. Extend Javadoc. Replace simple equals/hashCode methods using Lomboks EqualsAndHashCode annotation. Use RequiredArgsConstructor for private classes in favor of own constructors. Replace null-checks with qualified access whether objects are empty/applicable. Rearrange methods according to interface ordering.

Remove demo code from KeyspaceConfiguration.

Original pull request: #277.
This commit is contained in:
Mark Paluch
2017-09-19 12:25:13 +02:00
parent 5ca5e9f9c3
commit 6cc383b10a
210 changed files with 5833 additions and 3308 deletions

View File

@@ -436,8 +436,8 @@ public class RedisConnectionUnitTests {
delegate.pSubscribe(listener, patterns);
}
public void rename(byte[] oldName, byte[] newName) {
delegate.rename(oldName, newName);
public void rename(byte[] sourceKey, byte[] targetKey) {
delegate.rename(sourceKey, targetKey);
}
public boolean isPipelined() {
@@ -464,8 +464,8 @@ public class RedisConnectionUnitTests {
return delegate.sInter(keys);
}
public Boolean renameNX(byte[] oldName, byte[] newName) {
return delegate.renameNX(oldName, newName);
public Boolean renameNX(byte[] sourceKey, byte[] targetKey) {
return delegate.renameNX(sourceKey, targetKey);
}
public Long zRank(byte[] key, byte[] value) {
@@ -696,8 +696,8 @@ public class RedisConnectionUnitTests {
return delegate.zRangeByScore(key, min, max, offset, count);
}
public byte[] getRange(byte[] key, long begin, long end) {
return delegate.getRange(key, begin, end);
public byte[] getRange(byte[] key, long start, long end) {
return delegate.getRange(key, start, end);
}
public void setClientName(byte[] name) {