Skip to content

Commit

Permalink
Rely on package default for NonNull
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Aug 15, 2024
1 parent 683bbce commit 3edc23c
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

import lombok.EqualsAndHashCode;
import lombok.Value;
import org.jspecify.annotations.NonNull;
import org.openrewrite.*;
import org.openrewrite.analysis.constantfold.ConstantFold;
import org.openrewrite.analysis.util.CursorUtil;
Expand Down Expand Up @@ -47,13 +46,11 @@ public String getDescription() {
@Option(displayName = "Feature flag key",
description = "The key of the feature flag to remove.",
example = "flag-key-123abc")
@NonNull
String featureKey;

@Option(displayName = "Default value",
description = "The default value to use in feature flag invocations.",
example = "true")
@NonNull
String defaultValue;

private static final MethodMatcher BOOL_VARIATION_MATCHER = new MethodMatcher("com.launchdarkly.sdk.server.LDClient boolVariation(String, com.launchdarkly.sdk.*, boolean)", true);
Expand Down

0 comments on commit 3edc23c

Please sign in to comment.