Remove illegal FIXME notes 65/81165/3
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Mar 2019 10:13:39 +0000 (11:13 +0100)
committerRobert Varga <robert.varga@pantheon.tech>
Tue, 26 Mar 2019 10:58:38 +0000 (11:58 +0100)
FluentFuture has moved to be inconvenient to proxy and instantiate,
remove the FIXME which advised transitioning to it.

Change-Id: I85ee7b2cda71704c3df24139bc55ec2fe81b334c
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/api/SchemaSourceFilter.java
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/repo/spi/SchemaSourceProvider.java

index 70bbe20a2091418924a0c39bf14c97670ff1e754..cccfc92733e78b5c52536d8224002f0e17a178b2 100644 (file)
@@ -25,11 +25,11 @@ public interface SchemaSourceFilter {
      * A {@link SchemaSourceFilter} which accepts any schema source it is presented with.
      */
     @NonNull SchemaSourceFilter ALWAYS_ACCEPT = new SchemaSourceFilter() {
-        private final Iterable<Class<? extends SchemaSourceRepresentation>> representations =
+        private final ImmutableList<Class<? extends SchemaSourceRepresentation>> representations =
                 ImmutableList.of(SchemaSourceRepresentation.class);
 
         @Override
-        public Iterable<Class<? extends SchemaSourceRepresentation>> supportedRepresentations() {
+        public ImmutableList<Class<? extends SchemaSourceRepresentation>> supportedRepresentations() {
             return representations;
         }
 
@@ -57,6 +57,5 @@ public interface SchemaSourceFilter {
      * @return Promise of a filtering decision. The result should be {@link Boolean#TRUE}
      *         if the source is acceptable.
      */
-    // FIXME: 3.0.0: require FluentFuture
     ListenableFuture<Boolean> apply(SchemaSourceRepresentation schemaSource);
 }
index 4924e8f852aa63ffcc9ed14449b3789c3d2855ec..06c0a2a5cc9725ab06c369b93ef7fcaedfbe9b7f 100644 (file)
@@ -45,6 +45,5 @@ public interface SchemaSourceProvider<T extends SchemaSourceRepresentation> {
      * @param sourceIdentifier source identifier
      * @return future source representation, if supplied YANG module is available
      */
-    // FIXME: 3.0.0: return FluentFuture
     ListenableFuture<? extends T> getSource(SourceIdentifier sourceIdentifier);
 }