From cb6e530a3cfc1b44aa9e52dc7a32402eb86b1b37 Mon Sep 17 00:00:00 2001 From: Dustin Rodrigues Date: Sat, 18 Mar 2023 19:53:38 -0400 Subject: [PATCH] NIFI-11301 Fixed typos in ISPEnrichIP and DistributeLoad This closes #7056 Signed-off-by: David Handermann --- .../src/main/java/org/apache/nifi/processors/ISPEnrichIP.java | 2 +- .../org/apache/nifi/processors/standard/DistributeLoad.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java index 7365c2f960..8a03d2ae0b 100644 --- a/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java +++ b/nifi-nar-bundles/nifi-enrich-bundle/nifi-enrich-processors/src/main/java/org/apache/nifi/processors/ISPEnrichIP.java @@ -47,7 +47,7 @@ import java.util.concurrent.TimeUnit; @Tags({"ISP", "enrich", "ip", "maxmind"}) @InputRequirement(Requirement.INPUT_REQUIRED) @CapabilityDescription("Looks up ISP information for an IP address and adds the information to FlowFile attributes. The " - + "ISP data is provided as a MaxMind ISP database (Note that this is NOT the same as the GeoLite database utilized" + + + "ISP data is provided as a MaxMind ISP database. (Note that this is NOT the same as the GeoLite database utilized " + "by some geo enrichment tools). The attribute that contains the IP address to lookup is provided by the " + "'IP Address Attribute' property. If the name of the attribute provided is 'X', then the the attributes added by" + " enrichment will take the form X.isp.") diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/DistributeLoad.java b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/DistributeLoad.java index fd4ac28b4d..812730d9c2 100644 --- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/DistributeLoad.java +++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/DistributeLoad.java @@ -61,7 +61,7 @@ import org.apache.nifi.processor.util.StandardValidators; @TriggerWhenAnyDestinationAvailable @Tags({"distribute", "load balance", "route", "round robin", "weighted"}) @CapabilityDescription("Distributes FlowFiles to downstream processors based on a Distribution Strategy. If using the Round Robin " - + "strategy, the default is to assign each destination a weighting of 1 (evenly distributed). However, optional properties" + + "strategy, the default is to assign each destination a weighting of 1 (evenly distributed). However, optional properties " + "can be added to the change this; adding a property with the name '5' and value '10' means that the relationship with name " + "'5' will be receive 10 FlowFiles in each iteration instead of 1.") @DynamicProperty(name = "The relationship name (positive number)", value = "The relationship Weight (positive number)", description = "Adding a "