This is an automated email from the ASF dual-hosted git repository.
pvillard 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 7abf5f759cd NIFI-15665: Remove duplicate description call in
PROP_BROKER_URI
7abf5f759cd is described below
commit 7abf5f759cd0e17358c852ae9ca43b912b1831f9
Author: machov <[email protected]>
AuthorDate: Wed Mar 4 03:50:54 2026 -0500
NIFI-15665: Remove duplicate description call in PROP_BROKER_URI
Fixes duplicate description() method calls in AbstractMQTTProcessor where
PROP_BROKER_URI had two description() calls. The first call was redundant
since the second call overrides it.
Removed the first description call to improve code clarity and ensure
users see the complete, detailed description with URI scheme information.
Fixes NIFI-15665
This closes #10960.
Signed-off-by: Pierre Villard <[email protected]>
---
.../org/apache/nifi/processors/mqtt/common/AbstractMQTTProcessor.java | 1 -
1 file changed, 1 deletion(-)
diff --git
a/nifi-extension-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/common/AbstractMQTTProcessor.java
b/nifi-extension-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/common/AbstractMQTTProcessor.java
index 1cb8a2259ac..b820fe262a9 100644
---
a/nifi-extension-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/common/AbstractMQTTProcessor.java
+++
b/nifi-extension-bundles/nifi-mqtt-bundle/nifi-mqtt-processors/src/main/java/org/apache/nifi/processors/mqtt/common/AbstractMQTTProcessor.java
@@ -109,7 +109,6 @@ public abstract class AbstractMQTTProcessor extends
AbstractSessionFactoryProces
public static final PropertyDescriptor PROP_BROKER_URI = new
PropertyDescriptor.Builder()
.name("Broker URI")
- .description("Broker URI(s)")
.description("The URI(s) to use to connect to the MQTT broker
(e.g., tcp://localhost:1883). The 'tcp', 'ssl', 'ws' and 'wss' schemes are
supported. " +
"In order to use 'ssl', the SSL Context Service property
must be set. When a comma-separated URI list is set (e.g.,
tcp://localhost:1883,tcp://localhost:1884), " +
"the processor will use a round-robin algorithm to connect
to the brokers on connection failure.")