This is an automated email from the ASF dual-hosted git repository.
pvillard31 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new 0f45af1e5b2 NIFI-16102 Fixed Javadoc declaration problems (#11418)
0f45af1e5b2 is described below
commit 0f45af1e5b23e904f3669313b294794c25ad2a69
Author: dan-s1 <[email protected]>
AuthorDate: Sat Jul 11 01:02:52 2026 -0400
NIFI-16102 Fixed Javadoc declaration problems (#11418)
---
.../service/operation/UpdateConfigurationStrategy.java | 2 +-
.../org/apache/nifi/serialization/record/Record.java | 2 +-
.../util/validator/InstrumentedStandardValidator.java | 16 ++++++++--------
.../java/org/apache/nifi/wali/WriteAheadJournal.java | 1 -
.../org/apache/nifi/controller/queue/FlowFileQueue.java | 4 ++--
.../src/main/java/org/apache/nifi/web/Revision.java | 4 ++--
.../org/apache/nifi/cluster/protocol/NodeIdentifier.java | 4 ++--
.../main/java/org/apache/nifi/cluster/event/Event.java | 2 +-
.../java/org/apache/nifi/controller/ReloadComponent.java | 2 +-
.../main/java/org/apache/nifi/groups/ProcessGroup.java | 2 +-
.../nifi/controller/status/history/ComponentDetails.java | 2 +-
.../main/java/org/apache/nifi/web/NiFiServiceFacade.java | 4 ++--
.../main/java/org/apache/nifi/web/dao/ProcessorDAO.java | 2 +-
.../src/main/java/org/apache/nifi/util/TestRunner.java | 2 +-
.../apache/nifi/registry/client/BundleVersionClient.java | 2 +-
.../registry/serialization/FlowContentSerializer.java | 4 ++--
.../apache/nifi/registry/service/MetadataService.java | 10 +++++-----
.../security/authentication/IdentityProviderUsage.java | 4 ++--
.../security/authorization/AccessPolicyProvider.java | 4 ++--
.../security/authorization/UserGroupProvider.java | 4 ++--
20 files changed, 38 insertions(+), 39 deletions(-)
diff --git
a/c2/c2-client-bundle/c2-client-service/src/main/java/org/apache/nifi/c2/client/service/operation/UpdateConfigurationStrategy.java
b/c2/c2-client-bundle/c2-client-service/src/main/java/org/apache/nifi/c2/client/service/operation/UpdateConfigurationStrategy.java
index 32c82dc61fa..7c7ece2dc8a 100644
---
a/c2/c2-client-bundle/c2-client-service/src/main/java/org/apache/nifi/c2/client/service/operation/UpdateConfigurationStrategy.java
+++
b/c2/c2-client-bundle/c2-client-service/src/main/java/org/apache/nifi/c2/client/service/operation/UpdateConfigurationStrategy.java
@@ -25,9 +25,9 @@ public interface UpdateConfigurationStrategy {
/**
* Updates the MiNiFi agent's flow with the flow passed as parameter
+ * Throws exception if update failed.
*
* @param flow the MiNiFi flow config JSON represented as a byte array
- * @throw exception if update failed.
*/
void update(byte[] flow);
}
diff --git
a/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/Record.java
b/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/Record.java
index 529c1842bda..c5df9cc55b3 100644
---
a/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/Record.java
+++
b/nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/Record.java
@@ -137,7 +137,7 @@ public interface Record {
/**
* Updates the value of the given field to the given value. If the field
specified is not present in this Record's schema,
* this method will track of the field as an 'inactive field', which can
then be added into the Record's schema via the
- * {@link #incorporateInactiveFields} method. This method should not be
called after each invocation of {@link #setValue(RecordField, Object)}
+ * {@link #incorporateInactiveFields} method. This method should not be
called after each invocation of setValue(RecordField, Object),
* but rather should be called only once all updates to the Record have
completed, in order to optimize performance.
*
* If this method changes any value in the Record, any {@link
SerializedForm} that was provided will be removed (i.e., any
diff --git
a/nifi-commons/nifi-utils/src/test/java/org/apache/nifi/util/validator/InstrumentedStandardValidator.java
b/nifi-commons/nifi-utils/src/test/java/org/apache/nifi/util/validator/InstrumentedStandardValidator.java
index 85f20cf21e3..1a1adff0f0f 100644
---
a/nifi-commons/nifi-utils/src/test/java/org/apache/nifi/util/validator/InstrumentedStandardValidator.java
+++
b/nifi-commons/nifi-utils/src/test/java/org/apache/nifi/util/validator/InstrumentedStandardValidator.java
@@ -21,10 +21,10 @@ import org.apache.nifi.components.ValidationResult;
import org.apache.nifi.components.Validator;
/**:
- * InstrumentedStandarValidator wraps a {@class Validator} and provides
statistics on it's interactions.
- * Because many of the {@class Validator} instances returned from {@class
StandardValidator }
- * are not mockable with with mockito, this is required to know, when running
a test, if a
- * {@class Validator} was in fact called, for example.
+ * InstrumentedStandardValidator wraps a {@link
org.apache.nifi.components.Validator} and provides statistics on it's
interactions.
+ * Because many of the {@link org.apache.nifi.components.Validator} instances
returned from {@link org.apache.nifi.processor.util.StandardValidators}
+ * are not mockable with mockito, this is required to know, when running a
test, if a
+ * {@link org.apache.nifi.components.Validator} was in fact called, for
example.
*/
public class InstrumentedStandardValidator implements Validator {
@@ -41,18 +41,18 @@ public class InstrumentedStandardValidator implements
Validator {
private Validator mockedValidator;
/**
- * Constructs a new {@class InstrumentedStandarValidator}.
+ * Constructs a new InstrumentedStandardValidator.
*
- * @param mockedValidator the {@class Validator} to wrap.
+ * @param mockedValidator the {@link org.apache.nifi.components.Validator}
to wrap.
*/
public InstrumentedStandardValidator(Validator mockedValidator) {
this(mockedValidator, false);
}
/**
- * Constructs a new {@class InstrumentedStandarValidator}.
+ * Constructs a new InstrumentedStandardValidator.
*
- * @param mockedValidator the {@class Validator} to wrap.
+ * @param mockedValidator the {@link org.apache.nifi.components.Validator}
to wrap.
*/
public InstrumentedStandardValidator(Validator mockedValidator, boolean
resetOnGet) {
this.mockedValidator = mockedValidator;
diff --git
a/nifi-commons/nifi-write-ahead-log/src/main/java/org/apache/nifi/wali/WriteAheadJournal.java
b/nifi-commons/nifi-write-ahead-log/src/main/java/org/apache/nifi/wali/WriteAheadJournal.java
index d4fb6cbed47..a9c339ec984 100644
---
a/nifi-commons/nifi-write-ahead-log/src/main/java/org/apache/nifi/wali/WriteAheadJournal.java
+++
b/nifi-commons/nifi-write-ahead-log/src/main/java/org/apache/nifi/wali/WriteAheadJournal.java
@@ -45,7 +45,6 @@ public interface WriteAheadJournal<T> extends Closeable {
* Returns information about what was written to the journal
*
* @return A JournalSummary indicating what was written to the journal
- * @throws IOException if unable to write to the underlying storage
mechanism.
*/
JournalSummary getSummary();
diff --git
a/nifi-framework-api/src/main/java/org/apache/nifi/controller/queue/FlowFileQueue.java
b/nifi-framework-api/src/main/java/org/apache/nifi/controller/queue/FlowFileQueue.java
index 2a0f4d6895c..28b01de0cd2 100644
---
a/nifi-framework-api/src/main/java/org/apache/nifi/controller/queue/FlowFileQueue.java
+++
b/nifi-framework-api/src/main/java/org/apache/nifi/controller/queue/FlowFileQueue.java
@@ -212,7 +212,7 @@ public interface FlowFileQueue {
/**
* Cancels the request to drop FlowFiles that has the given identifier.
After this method is called, the request
* will no longer be known by this queue, so subsequent calls to {@link
#getDropFlowFileStatus(String)} or
- * {@link #cancelDropFlowFileRequest(String)} will return <code>null</code>
+ * cancelDropFlowFileRequest(String) will return <code>null</code>
*
* @param requestIdentifier the identifier of the Drop FlowFile Request
* @return the status for the request with the given identifier after it
has been canceled, or <code>null</code> if no
@@ -269,7 +269,7 @@ public interface FlowFileQueue {
/**
* Cancels the request to list FlowFiles that has the given identifier.
After this method is called, the request
* will no longer be known by this queue, so subsequent calls to {@link
#getListFlowFileStatus(String)} or
- * {@link #cancelListFlowFileRequest(String)} will return <code>null</code>
+ * cancelListFlowFileRequest(String) will return <code>null</code>
*
* @param requestIdentifier the identifier of the Drop FlowFile Request
* @return the current status of the List FlowFile Request with the given
identifier or <code>null</code> if no
diff --git a/nifi-framework-api/src/main/java/org/apache/nifi/web/Revision.java
b/nifi-framework-api/src/main/java/org/apache/nifi/web/Revision.java
index 073d2f756a9..e2533b32f8c 100644
--- a/nifi-framework-api/src/main/java/org/apache/nifi/web/Revision.java
+++ b/nifi-framework-api/src/main/java/org/apache/nifi/web/Revision.java
@@ -22,8 +22,8 @@ import java.io.Serializable;
* A model object representing a revision. Equality is defined as matching
* component ID and either a matching version number or matching non-empty
client IDs.
*
- * @Immutable
- * @Threadsafe
+ * Immutable
+ * Threadsafe
*/
public class Revision implements Serializable {
private static final long serialVersionUID = 988658790374170022L;
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/src/main/java/org/apache/nifi/cluster/protocol/NodeIdentifier.java
b/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/src/main/java/org/apache/nifi/cluster/protocol/NodeIdentifier.java
index 97191ca6b98..87d071716ec 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/src/main/java/org/apache/nifi/cluster/protocol/NodeIdentifier.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-protocol/src/main/java/org/apache/nifi/cluster/protocol/NodeIdentifier.java
@@ -38,8 +38,8 @@ import java.util.Set;
* This class overrides hashCode and equals and considers two instances to be
* equal if they have the equal IDs.
*
- * @Immutable
- * @Threadsafe
+ * Immutable
+ * Threadsafe
*/
@XmlRootElement
@XmlAccessorType(XmlAccessType.FIELD)
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/event/Event.java
b/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/event/Event.java
index b6b95f58c58..029636108a2 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/event/Event.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-framework-cluster/src/main/java/org/apache/nifi/cluster/event/Event.java
@@ -25,7 +25,7 @@ import java.util.Date;
* Events describe the occurrence of something noteworthy. They record the
event's source, a timestamp, a description, and a category.
*
*
- * @Immutable
+ * Immutable
*/
public class Event implements NodeEvent {
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/ReloadComponent.java
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/ReloadComponent.java
index f51ca6afbb9..9d68c5c022c 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/ReloadComponent.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/controller/ReloadComponent.java
@@ -100,7 +100,7 @@ public interface ReloadComponent {
* @param newType the fully qualified class name of the new type
* @param bundleCoordinate the bundle coordinate of the new type
* @param additionalUrls additional URLs to be added to the instance class
loader of the new component
- * @throws ReportingTaskInstantiationException if unable to create an
instance of the new type
+ * @throws FlowRepositoryClientInstantiationException if unable to create
an instance of the new type
*/
void reload(FlowRegistryClientNode existingNode, String newType,
BundleCoordinate bundleCoordinate, Set<URL> additionalUrls)
throws FlowRepositoryClientInstantiationException;
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
index 32a261a8064..e901d14e5df 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-framework-core-api/src/main/java/org/apache/nifi/groups/ProcessGroup.java
@@ -630,7 +630,7 @@ public interface ProcessGroup extends
ComponentAuthorizable, Positionable, Versi
ControllerServiceNode findControllerService(String id, boolean
includeDescendantGroups, boolean includeAncestorGroups);
/**
- * @return a List of all Controller Services contained within this
ProcessGroup and any child Process Groups
+ * @return a Set of all Controller Services contained within this
ProcessGroup and any child Process Groups
*/
Set<ControllerServiceNode> findAllControllerServices();
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/ComponentDetails.java
b/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/ComponentDetails.java
index c98196849f2..f20d2033af1 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/ComponentDetails.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-framework-status-history-shared/src/main/java/org/apache/nifi/controller/status/history/ComponentDetails.java
@@ -105,7 +105,7 @@ public class ComponentDetails {
}
/**
- * Returns a {@Link Map} whose keys are those values defined by {@link
StatusHistoryRepository#COMPONENT_DETAIL_GROUP_ID
ComponentStatusRepository.COMPONENT_DETAIL_*}
+ * Returns a {@link Map} whose keys are those values defined by {@link
StatusHistoryRepository#COMPONENT_DETAIL_GROUP_ID
ComponentStatusRepository.COMPONENT_DETAIL_*}
* and values are the values that are populated for this ComponentDetails
object.
*/
public Map<String, String> toMap() {
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java
index df1be3ce68c..14b2e28ad95 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java
@@ -891,7 +891,7 @@ public interface NiFiServiceFacade {
*
* @param groupId group
* @param includeDescendants if processors from descendent groups should
be included
- * @return List of all the Processor transfer object
+ * @return Set of all the Processor transfer object
*/
Set<ProcessorEntity> getProcessors(String groupId, boolean
includeDescendants);
@@ -3388,7 +3388,7 @@ public interface NiFiServiceFacade {
* Get all dynamically defined data ingress ports provided by Listen
Components (e.g., Processors and Controller Services)
*
* @param user the user performing the lookup
- * @return the list of listen Ports accessible to the current user
+ * @return the Set of listen Ports accessible to the current user
*/
Set<ListenPortDTO> getListenPorts(NiFiUser user);
diff --git
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/dao/ProcessorDAO.java
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/dao/ProcessorDAO.java
index 72f7caee872..a5bed8eb126 100644
---
a/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/dao/ProcessorDAO.java
+++
b/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/dao/ProcessorDAO.java
@@ -64,7 +64,7 @@ public interface ProcessorDAO {
*
* @param groupId group id
* @param includeDescendants if processors from descendant groups should
be included
- * @return List of all the Processors
+ * @return Set of all the Processors
*/
Set<ProcessorNode> getProcessors(String groupId, boolean
includeDescendants);
diff --git a/nifi-mock/src/main/java/org/apache/nifi/util/TestRunner.java
b/nifi-mock/src/main/java/org/apache/nifi/util/TestRunner.java
index d678b46df95..5259eb74110 100644
--- a/nifi-mock/src/main/java/org/apache/nifi/util/TestRunner.java
+++ b/nifi-mock/src/main/java/org/apache/nifi/util/TestRunner.java
@@ -767,7 +767,7 @@ public interface TestRunner {
* {@link #addControllerService(String, ControllerService)} or
* {@link #addControllerService(String, ControllerService,
Map)} method or
* if the Controller Service has been removed via the
- * {@link #removeControllerService(ControllerService)} method.
+ * removeControllerService(ControllerService) method.
*
*/
void removeControllerService(ControllerService service);
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/BundleVersionClient.java
b/nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/BundleVersionClient.java
index 2a4dc3d34a7..b017c4bd2b6 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/BundleVersionClient.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-client/src/main/java/org/apache/nifi/registry/client/BundleVersionClient.java
@@ -120,7 +120,7 @@ public interface BundleVersionClient {
*
* The entity contains all of the information about the version, such as
the bucket, bundle, and version metadata.
*
- * The binary content of the bundle can be obtained by calling {@method
getBundleVersionContent}.
+ * The binary content of the bundle can be obtained by calling {@link
#getBundleVersionContent(String, String) getBundleVersionContent}.
*
* @param bundleId the bundle id
* @param version the bundle version
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/serialization/FlowContentSerializer.java
b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/serialization/FlowContentSerializer.java
index f3958647bc5..cb4b53091d7 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/serialization/FlowContentSerializer.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/serialization/FlowContentSerializer.java
@@ -86,8 +86,8 @@ public class FlowContentSerializer {
* If no version could be read from any serializer, then a
SerializationException is thrown.
*
* When deserializing, clients are expected to call this method to obtain
the version, then call
- * {@method isProcessGroupVersion}, which then determines if {@method
deserializeProcessGroup}
- * should be used, or if {@method deserializeFlowContent} should be used.
+ * {@link #isProcessGroupVersion(int) isProcessGroupVersion}, which then
determines if {@link #deserializeProcessGroup(int, InputStream)
deserializeProcessGroup}
+ * should be used, or if {@link #deserializeFlowContent(int, InputStream)
deserializeFlowContent} should be used.
*
* @param input the input stream containing serialized flow content
* @return the data model version from the input stream
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/service/MetadataService.java
b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/service/MetadataService.java
index 6cd704bf96c..52ebcf59544 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/service/MetadataService.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-framework/src/main/java/org/apache/nifi/registry/service/MetadataService.java
@@ -83,14 +83,14 @@ public interface MetadataService {
* Retrieves all buckets with the given ids.
*
* @param bucketIds the ids of the buckets to retrieve
- * @return the set of all buckets
+ * @return the list of all buckets
*/
List<BucketEntity> getBuckets(Set<String> bucketIds);
/**
* Retrieves all buckets.
*
- * @return the set of all buckets
+ * @return the list of all buckets
*/
List<BucketEntity> getAllBuckets();
@@ -100,7 +100,7 @@ public interface MetadataService {
* Retrieves items for the given bucket.
*
* @param bucketId the id of bucket to retrieve items for
- * @return the set of items for the bucket
+ * @return the list of items for the bucket
*/
List<BucketItemEntity> getBucketItems(String bucketId);
@@ -108,7 +108,7 @@ public interface MetadataService {
* Retrieves items for the given buckets.
*
* @param bucketIds the ids of buckets to retrieve items for
- * @return the set of items for the bucket
+ * @return the list of items for the bucket
*/
List<BucketItemEntity> getBucketItems(Set<String> bucketIds);
@@ -451,7 +451,7 @@ public interface MetadataService {
/**
* Retrieves the set of all extension tags.
*
- * @return the set of all extension tags
+ * @return the list of all extension tags
*/
List<TagCountEntity> getAllExtensionTags();
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authentication/IdentityProviderUsage.java
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authentication/IdentityProviderUsage.java
index 6dc2f12d4ad..ee7446fd461 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authentication/IdentityProviderUsage.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authentication/IdentityProviderUsage.java
@@ -45,8 +45,8 @@ public interface IdentityProviderUsage {
AuthType getAuthType();
/**
- * Standard auth types as maintained by IANA:
- * https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml
+ * Standard auth types as maintained by
+ * <a
href="https://www.iana.org/assignments/http-authschemes/http-authschemes.xhtml">IANA</a>
*
* Note, draft and experimental standards are not included, nor are
app-specific custom schemes.
* To create an enum for such a scheme, use OTHER with a custom
httpAuthScheme string, e.g.:
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/AccessPolicyProvider.java
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/AccessPolicyProvider.java
index e034a298a40..e39a3b67aee 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/AccessPolicyProvider.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/AccessPolicyProvider.java
@@ -33,9 +33,9 @@ import java.util.Set;
public interface AccessPolicyProvider {
/**
- * Retrieves all access policies. Must be non null
+ * Retrieves all access policies. Must be non-null
*
- * @return a list of policies
+ * @return a set of policies
* @throws AuthorizationAccessException if there was an unexpected error
performing the operation
*/
Set<AccessPolicy> getAccessPolicies() throws AuthorizationAccessException;
diff --git
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/UserGroupProvider.java
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/UserGroupProvider.java
index 5505e7deef6..8c72376b58c 100644
---
a/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/UserGroupProvider.java
+++
b/nifi-registry/nifi-registry-core/nifi-registry-security-api/src/main/java/org/apache/nifi/registry/security/authorization/UserGroupProvider.java
@@ -35,7 +35,7 @@ public interface UserGroupProvider {
/**
* Retrieves all users. Must be non null
*
- * @return a list of users
+ * @return a set of users
* @throws AuthorizationAccessException if there was an unexpected error
performing the operation
*/
Set<User> getUsers() throws AuthorizationAccessException;
@@ -61,7 +61,7 @@ public interface UserGroupProvider {
/**
* Retrieves all groups. Must be non null
*
- * @return a list of groups
+ * @return a set of groups
* @throws AuthorizationAccessException if there was an unexpected error
performing the operation
*/
Set<Group> getGroups() throws AuthorizationAccessException;