Skip to content

Commit e950084

Browse files
committed
Delombok test code.
Closes #1398
1 parent 386f0b7 commit e950084

File tree

58 files changed

+3373
-740
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+3373
-740
lines changed

spring-data-cassandra/src/test/java/org/springframework/data/cassandra/core/AsyncOptimisticLockingIntegrationTests.java

+24-5
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717

1818
import static org.assertj.core.api.Assertions.*;
1919

20-
import lombok.Data;
21-
import lombok.experimental.Wither;
22-
2320
import java.util.concurrent.Future;
2421

2522
import org.junit.jupiter.api.BeforeEach;
@@ -141,8 +138,6 @@ private static <T> T getUninterruptibly(Future<T> future) {
141138
}
142139
}
143140

144-
@Data
145-
@Wither
146141
static class VersionedEntity {
147142

148143
@Id final long id;
@@ -161,5 +156,29 @@ private VersionedEntity(long id, long version, String name) {
161156
this.version = version;
162157
this.name = name;
163158
}
159+
160+
public long getId() {
161+
return this.id;
162+
}
163+
164+
public long getVersion() {
165+
return this.version;
166+
}
167+
168+
public String getName() {
169+
return this.name;
170+
}
171+
172+
public VersionedEntity withId(long id) {
173+
return new VersionedEntity(id, this.version, this.name);
174+
}
175+
176+
public VersionedEntity withVersion(long version) {
177+
return new VersionedEntity(this.id, version, this.name);
178+
}
179+
180+
public VersionedEntity withName(String name) {
181+
return new VersionedEntity(this.id, this.version, name);
182+
}
164183
}
165184
}

0 commit comments

Comments
 (0)