fix warnings

This commit is contained in:
Mike Barry
2022-02-23 20:45:56 -05:00
parent 262d510fef
commit 8ef6f97282
5 changed files with 10 additions and 10 deletions

View File

@@ -387,7 +387,7 @@ public class Generate {
}
/** The {@code rowClass} of an imposm3 table row and its constructor coerced to a {@link Constructor}. */
public static record RowClassAndConstructor(
public record RowClassAndConstructor(
Class<? extends Row> rowClass,
Constructor create
) {}
@@ -401,7 +401,7 @@ public class Generate {
}
/** The {@code handlerClass} of a layer handler and it's {@code process} method coerced to a {@link RowHandler}. */
public static record RowHandlerAndClass<T extends Row>(
public record RowHandlerAndClass<T extends Row>(
Class<?> handlerClass,
RowHandler<T> handler
) {}
@@ -436,7 +436,7 @@ public class Generate {
tablesClass.append("""
/** An OSM element that would appear in the {@code %s} table generated by imposm3. */
public static record %s(%s) implements Row, %s {
public record %s(%s) implements Row, %s {
public %s(SourceFeature source, String mappingKey) {
this(%s);
}