Skip to content

Commit

Permalink
Fix spotbugs warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed Apr 6, 2023
1 parent a8d5db8 commit c19d3c0
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
import java.util.Map;
import java.util.Properties;

import javax.annotation.Nullable;

import com.diffplug.spotless.FileSignature;
import com.diffplug.spotless.FormatterFunc;
import com.diffplug.spotless.FormatterProperties;
Expand Down Expand Up @@ -53,7 +55,7 @@ public EquoBasedStepBuilder(String formatterName, Provisioner mavenProvisioner,
}

/** Initialize valid default configuration, taking latest version */
public EquoBasedStepBuilder(String formatterName, Provisioner mavenProvisioner, String defaultVersion, ThrowingEx.Function<State, FormatterFunc> stateToFormatter) {
public EquoBasedStepBuilder(String formatterName, Provisioner mavenProvisioner, @Nullable String defaultVersion, ThrowingEx.Function<State, FormatterFunc> stateToFormatter) {
this.formatterName = formatterName;
this.mavenProvisioner = mavenProvisioner;
this.formatterVersion = defaultVersion;
Expand Down

0 comments on commit c19d3c0

Please sign in to comment.