Propagate @Nonnull and @Nullable annotations
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / SchemaResolutionException.java
index eaca037a51fd0201f0f8c742d09abffbd1191250..bb9618de9ea26300b56cdfb093b76ce0e30ec66c 100644 (file)
@@ -30,7 +30,7 @@ public class SchemaResolutionException extends SchemaSourceException {
     private final Collection<SourceIdentifier> resolvedSources;
 
     public SchemaResolutionException(@Nonnull final String message) {
-        this(message, (Throwable)null);
+        this(message, null);
     }
 
     public SchemaResolutionException(@Nonnull final String message, final Throwable cause) {