Cleanup checkstyle in yang-{data,model}-api
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / SchemaResolutionException.java
index eaca037a51fd0201f0f8c742d09abffbd1191250..608a8f7fbbd1483029d6f219a2d234dcc12d863f 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) {
@@ -64,7 +64,7 @@ public class SchemaResolutionException extends SchemaSourceException {
     }
 
     /**
-     * Return YANG schema source identifier consisting of name and revision of the module which caused this exception
+     * Return YANG schema source identifier consisting of name and revision of the module which caused this exception.
      *
      * @return YANG schema source identifier
      */
@@ -90,7 +90,8 @@ public class SchemaResolutionException extends SchemaSourceException {
 
     @Override
     public final String toString() {
-        return addToStringAttributes(MoreObjects.toStringHelper(this).add("unsatisfiedImports", unsatisfiedImports)).toString();
+        return addToStringAttributes(MoreObjects.toStringHelper(this).add("unsatisfiedImports", unsatisfiedImports))
+            .toString();
     }
 
     protected ToStringHelper addToStringAttributes(final ToStringHelper toStringHelper) {