Skip to content

Commit 6e5699b

Browse files
Make resolve-profile 1-arg variant focus independent. (#141)
1 parent 38dea50 commit 6e5699b

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/main/java/gov/nist/secauto/oscal/lib/metapath/function/library/ResolveProfile.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public final class ResolveProfile {
5353
.type(INodeItem.type())
5454
.zeroOrOne()
5555
.build())
56-
.focusDependent()
56+
.focusIndependent()
5757
.contextDependent()
5858
.deterministic()
5959
.returnType(INodeItem.type())
@@ -82,7 +82,7 @@ public final class ResolveProfile {
8282
.type(INodeItem.type())
8383
.zeroOrOne()
8484
.build())
85-
.focusDependent()
85+
.focusIndependent()
8686
.contextDependent()
8787
.deterministic()
8888
.returnType(INodeItem.type())

src/main/java/gov/nist/secauto/oscal/lib/metapath/function/library/ResolveReference.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public final class ResolveReference {
6868
.type(IStringItem.type())
6969
.zeroOrOne()
7070
.build())
71-
.focusDependent()
71+
.focusIndependent()
7272
.contextDependent()
7373
.deterministic()
7474
.returnType(IAnyUriItem.type())
@@ -124,7 +124,7 @@ private static ISequence<?> executeTwoArg(
124124

125125
/**
126126
* Ensure the provided item is a node item.
127-
*
127+
*
128128
* @param item
129129
* the item to check
130130
* @return the item as a node item

src/main/java/gov/nist/secauto/oscal/lib/model/IOscalInstance.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public interface IOscalInstance {
2121

2222
/**
2323
* Lookup a backmatter resource by its UUID value.
24-
*
24+
*
2525
* @param id
2626
* the uuid value
2727
* @return the resource or {@code null} if no resource matched the UUID

0 commit comments

Comments
 (0)