This is an automated email from the ASF dual-hosted git repository.
kdoran pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-api.git
The following commit(s) were added to refs/heads/main by this push:
new 0749478 Update Asset to add default for getOwnerIdentifier (#75)
0749478 is described below
commit 074947830f457a1ffd47a86f7bb9c815043c5c3b
Author: Pierre Villard <[email protected]>
AuthorDate: Thu Mar 5 20:49:37 2026 +0100
Update Asset to add default for getOwnerIdentifier (#75)
Signed-off-by: Kevin Doran <[email protected]>
---
src/main/java/org/apache/nifi/asset/Asset.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/main/java/org/apache/nifi/asset/Asset.java
b/src/main/java/org/apache/nifi/asset/Asset.java
index 2ea52b2..267a1a6 100644
--- a/src/main/java/org/apache/nifi/asset/Asset.java
+++ b/src/main/java/org/apache/nifi/asset/Asset.java
@@ -47,7 +47,9 @@ public interface Asset {
*
* @return Owner Identifier
*/
- String getOwnerIdentifier();
+ default String getOwnerIdentifier() {
+ return getParameterContextIdentifier();
+ }
/**
* Returns the name of the Asset