You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/sds-aspect-model-resolver/src/main/java/io/openmanufacturing/sds/aspectmodel/resolver/AspectModelResolver.java
+31-3Lines changed: 31 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -84,7 +84,7 @@ public Try<VersionedModel> resolveAspectModel( final ResolutionStrategy resolver
84
84
85
85
if ( mergedModel.isFailure() ) {
86
86
if ( mergedModel.getCause() instanceofFileNotFoundException ) {
Copy file name to clipboardExpand all lines: core/sds-aspect-model-resolver/src/main/java/io/openmanufacturing/sds/aspectmodel/resolver/ClasspathStrategy.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -173,6 +173,6 @@ public Try<Model> apply( final AspectModelUrn aspectModelUrn ) {
173
173
.getOrElse( false ) )
174
174
.findFirst()
175
175
.orElse( Try.failure( newFileNotFoundException(
176
-
"The AspectModel: " + aspectModelUrn + " could not be found in directory: " + directory ) ) );
176
+
"The model file " + aspectModelUrn + " could not be found in directory: " + directory ) ) );
Copy file name to clipboardExpand all lines: core/sds-aspect-model-resolver/src/main/java/io/openmanufacturing/sds/aspectmodel/resolver/FileSystemStrategy.java
+12-13Lines changed: 12 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
* Copyright (c) 2021 Robert Bosch Manufacturing Solutions GmbH
3
3
*
4
4
* See the AUTHORS file(s) distributed with this work for additional
5
-
* information regarding authorship.
5
+
* information regarding authorship.
6
6
*
7
7
* This Source Code Form is subject to the terms of the Mozilla Public
8
8
* License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -80,17 +80,16 @@ public Try<Model> apply( final AspectModelUrn aspectModelUrn ) {
0 commit comments