in src/main/java/org/apache/sling/servlets/resolver/internal/bundle/BundledRenderUnitCapabilityImpl.java [49:67]
private BundledRenderUnitCapabilityImpl(
@NotNull Set<ResourceType> resourceTypes,
@Nullable String path,
@NotNull List<String> selectors,
@Nullable String extension,
@Nullable String method,
@Nullable String extendedResourceType,
@Nullable String scriptEngineName,
@Nullable String scriptExtension) {
this.resourceTypes = resourceTypes;
this.path = path != null && path.isEmpty() ? null : path;
this.selectors = selectors;
this.extension = extension != null && extension.isEmpty() ? null : extension;
this.method = method != null && method.isEmpty() ? null : method;
this.extendedResourceType =
extendedResourceType != null && extendedResourceType.isEmpty() ? null : extendedResourceType;
this.scriptEngineName = scriptEngineName != null && scriptEngineName.isEmpty() ? null : scriptEngineName;
this.scriptExtension = scriptExtension != null && scriptExtension.isEmpty() ? null : scriptExtension;
}