We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 343dfb6 commit 9db236eCopy full SHA for 9db236e
core/esmf-aspect-meta-model-java/src/main/java/org/eclipse/esmf/aspectmodel/loader/AspectModelLoader.java
@@ -181,8 +181,8 @@ public AspectModel load( final InputStream inputStream ) {
181
public AspectModel loadFromArchive( final String pathToArchive ) {
182
File zipFile = new File( pathToArchive );
183
184
- if (!zipFile.exists() || !zipFile.isFile()) {
185
- throw new RuntimeException(new FileNotFoundException("The specified file does not exist or is not a file."));
+ if ( !zipFile.exists() || !zipFile.isFile() ) {
+ throw new RuntimeException( new FileNotFoundException( "The specified file does not exist or is not a file." ) );
186
}
187
188
List<AspectModelFile> aspectModelFiles = new ArrayList<>();
0 commit comments