Hello together,
maybe I’m already in a holiday mood, but the following code fragment does not go through the test:
@NonNullByDefault
public class UnknownTranslation implements TranslationProvider {
@Override
public @Nullable String getText(@Nullable Bundle bundle, @Nullable String key, @Nullable String defaultText,
@Nullable Locale locale) {
return null;
}
@Override
public @Nullable String getText(@Nullable Bundle bundle, @Nullable String key, @Nullable String defaultText,
@Nullable Locale locale, @Nullable Object @Nullable... arguments) {
return null;
}
}
The ...
varargs seems to confuse the test - resulting in:
[INFO] --- sat-plugin:0.8.0:checkstyle (sat-all) @ org.openhab.binding.velux ---
[INFO] Adding dependency to checkstyle:0.8.0
[INFO] Adding dependency to checkstyle:8.12
UnknownTranslation.java:44:64: unexpected token: ...