[CALCITE-4188] Add hints from review #188
Annotations
2 errors and 1 warning
Test:
task ':core:autostyleJavaCheck'#L1
Execution failed for task ':core:autostyleJavaCheck':
See 'What went wrong' below
|
Test
Execution failed for task ':core:autostyleJavaCheck'.
> The following files have format violations:
core/src/main/java/org/apache/calcite/adapter/jdbc/JdbcCorrelationDataContext.java
@@ -51,7 +51,7 @@
@OverRide public @nullable Object get(String name) {
if (name.startsWith("?")) {
-······int·index·=·Integer.parseInt(name.substring(1));␊
+······int·index·=·parseInt(name.substring(1));␊
if (index >= OFFSET && index < OFFSET + parameters.length) {
return parameters[index - OFFSET];
}
Run './gradlew autostyleApply' to fix the violations.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading