Skip to content

Commit

Permalink
Shorten too-long lines
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerbertrand committed Jun 20, 2024
1 parent 28147cf commit ccd4aeb
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,8 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe

protected final MapProperty<String, Object> optionsProperty = project.objects.mapProperty(String, Object)
protected final MapProperty<String, Object> attributesProperty = project.objects.mapProperty(String, Object)
protected final ListProperty<AsciidoctorAttributeProvider> attributeProviderProperty = project.objects.listProperty(AsciidoctorAttributeProvider)
protected final ListProperty<AsciidoctorAttributeProvider> attributeProviderProperty = project.objects
.listProperty(AsciidoctorAttributeProvider)
protected FileCollection configurationsFileCollection
protected final ListProperty<Pattern> fatalWarningsProperty = project.objects.listProperty(Pattern)
protected final ListProperty<String> requiresProperty = project.objects.listProperty(String)
Expand Down Expand Up @@ -141,7 +142,7 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe
} as Provider<FileCollection>

private final Provider<Map<String, Map<String, Object>>> attributesByLangProvider = project.provider {
def attributesByLang = new HashMap<String, Map<String, Object>>()
def attributesByLang = [:]
languagesAsOptionals.each { lang ->
if (lang.isPresent()) {
attributesByLang.put(lang.get(), getAsciidoctorJExtension().getAttributesForLang(lang.get()))
Expand Down Expand Up @@ -401,8 +402,8 @@ class AbstractAsciidoctorTask extends AbstractJvmModelExecTask<AsciidoctorJvmExe
*/
@Override
Set<Configuration> getReportableConfigurations() {
([getAsciidoctorJExtension().configuration] + projectOperations.configurations.asConfigurations(asciidocConfigurations))
.toSet()
([getAsciidoctorJExtension().configuration] + projectOperations.configurations
.asConfigurations(asciidocConfigurations)).toSet()
}

/**
Expand Down

0 comments on commit ccd4aeb

Please sign in to comment.