Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
VladislavBakshanskij committed Oct 22, 2024
1 parent 690545b commit ee67b1c
Showing 1 changed file with 4 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
import java.util.Collection;
import java.util.List;
import java.util.Objects;

import lombok.AccessLevel;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
Expand All @@ -30,6 +33,7 @@
* equally esoteric, you may prefer to implement {@link Persistor} from the ground up.
*/
@Slf4j
@AllArgsConstructor(access = AccessLevel.PROTECTED)
public class DefaultPersistor implements Persistor, Validatable {

private static final int DEFAULT_WRITE_LOCK_TIMEOUT_SECONDS = 2;
Expand Down Expand Up @@ -94,21 +98,6 @@ protected DefaultPersistor(Dialect dialect) {
InvocationSerializer.createDefaultJsonSerializer());
}

protected DefaultPersistor(
int writeLockTimeoutSeconds,
Dialect dialect,
SequenceGenerator sequenceGenerator,
String tableName,
boolean migrate,
InvocationSerializer serializer) {
this.writeLockTimeoutSeconds = writeLockTimeoutSeconds;
this.dialect = dialect;
this.sequenceGenerator = sequenceGenerator;
this.tableName = tableName;
this.migrate = migrate;
this.serializer = serializer;
}

public static DefaultPersistorBuilder builder() {
return new DefaultPersistorBuilder();
}
Expand Down

0 comments on commit ee67b1c

Please sign in to comment.