</properties>
<dependencies>
- <dependency>
- <groupId>com.github.spotbugs</groupId>
- <artifactId>spotbugs-annotations</artifactId>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>com.google.guava</groupId>
- <artifactId>guava</artifactId>
- </dependency>
<dependency>
<groupId>org.eclipse.jdt</groupId>
<artifactId>org.eclipse.jdt.annotation</artifactId>
*/
package org.opendaylight.yangtools.yang.test.util;
-import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import java.io.File;
import java.io.FileFilter;
import java.io.IOException;
* @param config parser configuration
* @return effective schema context
*/
- @SuppressFBWarnings(value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE", justification = "Wrong inferent on listFiles")
public static @NonNull EffectiveModelContext parseYangResourceDirectory(final String resourcePath,
final Set<QName> supportedFeatures, final YangParserConfiguration config) {
final URI directoryPath;
Arrays.stream(sources).map(YangParserTestUtils::createYangTextSource).toList());
}
- @SuppressFBWarnings(value = "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE", justification = "Wrong inferent on listFiles")
private static Collection<File> getYangFiles(final String resourcePath) {
final URI directoryPath;
try {