Skip to content

Commit

Permalink
fix checkstyle fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jerry-024 committed Dec 13, 2024
1 parent f2ed305 commit fdd386c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ static DatabaseChange removeProperty(String property) {

String apply(Map<String, String> parameter);

public static final class SetProperty implements DatabaseChange {
/** Set property for database change. */
final class SetProperty implements DatabaseChange {
private final String property;
private final String value;

Expand All @@ -55,7 +56,8 @@ public String apply(Map<String, String> parameter) {
}
}

public static final class RemoveProperty implements DatabaseChange {
/** Remove property for database change. */
final class RemoveProperty implements DatabaseChange {
private final String property;

private RemoveProperty(String property) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ public void createDatabaseRequestParseTest() throws Exception {
String requestStr = mapper.writeValueAsString(request);
CreateDatabaseRequest parseData = mapper.readValue(requestStr, CreateDatabaseRequest.class);
assertEquals(request.getName(), parseData.getName());
assertEquals(request.getIgnoreIfExists(), parseData.getIgnoreIfExists());
assertEquals(request.getOptions().size(), parseData.getOptions().size());
}

Expand Down

0 comments on commit fdd386c

Please sign in to comment.