[infrastructure] add external null-annotations (#8848)

Signed-off-by: Jan N. Klug <jan.n.klug@rub.de>
This commit is contained in:
J-N-K
2020-10-31 00:29:03 +01:00
committed by GitHub
parent 47d05055db
commit bd664ff0c8
162 changed files with 933 additions and 575 deletions

View File

@@ -13,6 +13,7 @@
package org.openhab.binding.enturno.internal.connection;
import org.eclipse.jdt.annotation.NonNullByDefault;
import org.eclipse.jdt.annotation.Nullable;
/**
* The {@link EnturCommunicationException} is a communication exception for the connections to Entur API.
@@ -24,11 +25,11 @@ public class EnturCommunicationException extends RuntimeException {
private static final long serialVersionUID = 1L;
public EnturCommunicationException(String message) {
public EnturCommunicationException(@Nullable String message) {
super(message);
}
public EnturCommunicationException(String message, Throwable cause) {
public EnturCommunicationException(@Nullable String message, @Nullable Throwable cause) {
super(message, cause);
}
}