Hide ResourceYangTextSchemaSource
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / repo / api / ResourceYangTextSchemaSource.java
index c0aed5f703e6b32bde3930b137039f24e5426f0e..8250fedada9d6021ae033226a0420ca7f94a95c6 100644 (file)
@@ -9,21 +9,19 @@ package org.opendaylight.yangtools.yang.model.repo.api;
 
 import static java.util.Objects.requireNonNull;
 
-import com.google.common.annotations.Beta;
 import com.google.common.base.MoreObjects.ToStringHelper;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.URL;
 import java.util.Optional;
+import org.eclipse.jdt.annotation.NonNull;
 import org.opendaylight.yangtools.concepts.Delegator;
 
 /**
  * A resource-backed {@link YinTextSchemaSource}.
  */
-@Beta
-// FIXME: YANGTOOLS-849: 3.0.0: hide this class
-public final class ResourceYangTextSchemaSource extends YangTextSchemaSource implements Delegator<URL> {
-    private final URL url;
+final class ResourceYangTextSchemaSource extends YangTextSchemaSource implements Delegator<URL> {
+    private final @NonNull URL url;
 
     ResourceYangTextSchemaSource(final SourceIdentifier identifier, final URL url) {
         super(identifier);