Skip to content

Commit

Permalink
Remove unnessary Lombok noise.
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-simons committed Aug 23, 2021
1 parent b773784 commit 7ea6c15
Show file tree
Hide file tree
Showing 46 changed files with 30 additions and 132 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,16 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonTypeInfo;
import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;

import java.util.Map;

@Setter
@Getter
@NoArgsConstructor
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, include=JsonTypeInfo.As.PROPERTY, property="name")
@JsonTypeInfo(use=JsonTypeInfo.Id.NAME, property="name")
public class AuthorizationToken
{
@JsonProperty("data")
private Map<String,String> tokens;

}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.MultiDBSupport;
Expand All @@ -30,7 +30,6 @@

@Setter
@Getter
@NoArgsConstructor
public class CheckMultiDBSupport implements TestkitRequest
{
private CheckMultiDBSupportBody data;
Expand Down Expand Up @@ -63,7 +62,6 @@ private MultiDBSupport createResponse( boolean available )

@Setter
@Getter
@NoArgsConstructor
public static class CheckMultiDBSupportBody
{
private String driverId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;

import java.util.List;

@Setter
@Getter
@NoArgsConstructor
public class DomainNameResolutionCompleted implements TestkitCallbackResult
{
private DomainNameResolutionCompletedBody data;
Expand All @@ -39,7 +38,6 @@ public String getCallbackId()

@Setter
@Getter
@NoArgsConstructor
public static class DomainNameResolutionCompletedBody
{
private String requestId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.Driver;
Expand All @@ -30,7 +30,6 @@

@Setter
@Getter
@NoArgsConstructor
public class DriverClose implements TestkitRequest
{
private DriverCloseBody data;
Expand Down Expand Up @@ -58,7 +57,6 @@ private Driver createResponse()

@Setter
@Getter
@NoArgsConstructor
private static class DriverCloseBody
{
private String driverId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.FeatureList;
Expand All @@ -35,7 +35,6 @@

@Setter
@Getter
@NoArgsConstructor
public class GetFeatures implements TestkitRequest
{
private static final Set<String> COMMON_FEATURES = new HashSet<>( Arrays.asList(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.RoutingTable;
Expand All @@ -42,7 +42,6 @@

@Setter
@Getter
@NoArgsConstructor
public class GetRoutingTable implements TestkitRequest
{
private GetRoutingTableBody data;
Expand Down Expand Up @@ -86,7 +85,6 @@ public CompletionStage<Optional<TestkitResponse>> processAsync( TestkitState tes

@Setter
@Getter
@NoArgsConstructor
public static class GetRoutingTableBody
{
private String driverId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

import com.fasterxml.jackson.annotation.JacksonInject;
import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.RequiredArgsConstructor;
import lombok.Setter;
import neo4j.org.testkit.backend.CommandProcessor;
Expand Down Expand Up @@ -242,7 +242,6 @@ private Optional<TestkitResponse> handleExceptionAsErrorResponse( TestkitState t

@Setter
@Getter
@NoArgsConstructor
public static class NewDriverBody
{
private String uri;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.AsyncSessionState;
import neo4j.org.testkit.backend.SessionState;
Expand All @@ -42,7 +42,6 @@

@Setter
@Getter
@NoArgsConstructor
public class NewSession implements TestkitRequest
{
private NewSessionBody data;
Expand Down Expand Up @@ -98,7 +97,6 @@ private AsyncSessionState createAsyncSessionState( Driver driver, SessionConfig

@Setter
@Getter
@NoArgsConstructor
public static class NewSessionBody
{
private String driverId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,13 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;

import java.util.List;

@Setter
@Getter
@NoArgsConstructor
public class ResolverResolutionCompleted implements TestkitCallbackResult
{
private ResolverResolutionCompletedBody data;
Expand All @@ -39,7 +38,6 @@ public String getCallbackId()

@Setter
@Getter
@NoArgsConstructor
public static class ResolverResolutionCompletedBody
{
private String requestId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.NullRecord;
Expand All @@ -34,7 +34,6 @@

@Setter
@Getter
@NoArgsConstructor
public class ResultConsume implements TestkitRequest
{
private ResultConsumeBody data;
Expand Down Expand Up @@ -78,7 +77,6 @@ private Summary createResponse( org.neo4j.driver.summary.ResultSummary summary )

@Setter
@Getter
@NoArgsConstructor
public static class ResultConsumeBody
{
private String resultId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.Record;
Expand All @@ -33,7 +33,6 @@

@Setter
@Getter
@NoArgsConstructor
public class ResultList implements TestkitRequest
{
private ResultListBody data;
Expand Down Expand Up @@ -65,7 +64,6 @@ private RecordList createResponse( List<org.neo4j.driver.Record> records )

@Setter
@Getter
@NoArgsConstructor
public static class ResultListBody
{
private String resultId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.NullRecord;
Expand All @@ -34,7 +34,6 @@

@Setter
@Getter
@NoArgsConstructor
public class ResultNext implements TestkitRequest
{
private ResultNextBody data;
Expand Down Expand Up @@ -69,7 +68,6 @@ private Record createResponse( org.neo4j.driver.Record record )

@Setter
@Getter
@NoArgsConstructor
public static class ResultNextBody
{
private String resultId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.AsyncSessionState;
import neo4j.org.testkit.backend.SessionState;
Expand All @@ -32,7 +32,6 @@

@Setter
@Getter
@NoArgsConstructor
public class RetryableNegative implements TestkitRequest
{
private RetryableNegativeBody data;
Expand Down Expand Up @@ -69,7 +68,6 @@ public CompletionStage<Optional<TestkitResponse>> processAsync( TestkitState tes

@Setter
@Getter
@NoArgsConstructor
public static class RetryableNegativeBody
{
private String sessionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.SessionState;
import neo4j.org.testkit.backend.TestkitState;
Expand All @@ -31,7 +31,6 @@

@Setter
@Getter
@NoArgsConstructor
public class RetryablePositive implements TestkitRequest
{
private RetryablePositiveBody data;
Expand All @@ -57,7 +56,6 @@ public CompletionStage<Optional<TestkitResponse>> processAsync( TestkitState tes

@Setter
@Getter
@NoArgsConstructor
public static class RetryablePositiveBody
{
private String sessionId;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.AsyncSessionState;
import neo4j.org.testkit.backend.SessionState;
Expand All @@ -37,7 +37,6 @@

@Setter
@Getter
@NoArgsConstructor
public class SessionBeginTransaction implements TestkitRequest
{
private SessionBeginTransactionBody data;
Expand Down Expand Up @@ -101,7 +100,6 @@ private Transaction transaction( String txId )
}

@Getter
@NoArgsConstructor
@Setter
public static class SessionBeginTransactionBody
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
package neo4j.org.testkit.backend.messages.requests;

import lombok.Getter;
import lombok.NoArgsConstructor;

import lombok.Setter;
import neo4j.org.testkit.backend.TestkitState;
import neo4j.org.testkit.backend.messages.responses.Session;
Expand All @@ -30,7 +30,6 @@

@Setter
@Getter
@NoArgsConstructor
public class SessionClose implements TestkitRequest
{
private SessionCloseBody data;
Expand Down Expand Up @@ -58,7 +57,6 @@ private Session createResponse()

@Setter
@Getter
@NoArgsConstructor
private static class SessionCloseBody
{
private String sessionId;
Expand Down
Loading

0 comments on commit 7ea6c15

Please sign in to comment.