Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carterkozak committed Apr 13, 2022
1 parent 29f2e6b commit 0f4b5cc
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public final class KebabCaseEnforcingAnnotationInspectorTest {

private static final ObjectMapper mapper = ConjureParser.createConjureParserObjectMapper();

private static final class ValidTarget {
static final class ValidTarget {
String fooBar;

@JsonProperty("foo-bar")
Expand All @@ -44,7 +44,7 @@ public void testValidDefinitionsCarryJsonPropertyAnnotationsOnSetters() throws E
.isEqualToComparingFieldByField(new ValidTarget().setFooBar("baz"));
}

private static final class NoAnnotationInvalidTarget {
static final class NoAnnotationInvalidTarget {
String fooBar;

void setFooBar(String fooBar) {
Expand All @@ -60,7 +60,7 @@ public void testSetterWithoutAnnotationIsInvalid() throws Exception {
+ "@JsonProperty annotations: setFooBar");
}

private static final class NonKebabCaseAnnotationInvalidTarget {
static final class NonKebabCaseAnnotationInvalidTarget {
String fooBar;

@JsonProperty("fooBar")
Expand Down

0 comments on commit 0f4b5cc

Please sign in to comment.