Skip to content

Commit 44b3126

Browse files
committed
Fixup spotbugs warnings.
1 parent f5f6836 commit 44b3126

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/src/main/java/com/diffplug/spotless/FileSignature.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public static class Promised implements Serializable {
103103
@SuppressFBWarnings("SE_TRANSIENT_FIELD_NOT_RESTORED")
104104
private transient @Nullable FileSignature cached;
105105

106-
private Promised(List<File> files, FileSignature cached) {
106+
private Promised(List<File> files, @Nullable FileSignature cached) {
107107
this.files = files;
108108
this.cached = cached;
109109
}

lib/src/main/java/com/diffplug/spotless/FormatterStepSerializationRoundtrip.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
import edu.umd.cs.findbugs.annotations.Nullable;
2323

2424
class FormatterStepSerializationRoundtrip<RoundtripState extends Serializable, EqualityState extends Serializable> extends FormatterStepEqualityOnStateSerialization<EqualityState> {
25+
private static final long serialVersionUID = 1L;
2526
private final String name;
2627
private final transient ThrowingEx.Supplier<RoundtripState> initializer;
2728
private @Nullable RoundtripState roundtripStateInternal;

0 commit comments

Comments
 (0)