mirror of https://github.com/apache/nifi.git
NIFI-4864: Improvements to PR #2470
This closes #2581. Signed-off-by: Bryan Bende <bbende@apache.org>
This commit is contained in:
parent
69a564e4c8
commit
3612fbe522
|
@ -307,6 +307,12 @@ public abstract class AbstractConfiguredComponent implements ConfigurableCompone
|
|||
*/
|
||||
@Override
|
||||
public synchronized void reloadAdditionalResourcesIfNecessary() {
|
||||
// Components that don't have any PropertyDescriptors marked `dynamicallyModifiesClasspath`
|
||||
// won't have the fingerprint i.e. will be null, in such cases do nothing
|
||||
if (additionalResourcesFingerprint == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
final List<PropertyDescriptor> descriptors = new ArrayList<>(this.getProperties().keySet());
|
||||
final Set<URL> additionalUrls = this.getAdditionalClasspathResources(descriptors);
|
||||
|
||||
|
|
Loading…
Reference in New Issue