Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Claudenw committed May 12, 2024
1 parent a64c094 commit 7777690
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apache-rat-core/src/main/java/org/apache/rat/Report.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ public String desc() {
* Specify the processing of STANDARD files.
*/
static final Option STANDARD = Option.builder().longOpt("standard").hasArg().argName("ProcessingType")
.desc(format("Specifies the level of detail in STANDARD file reporting.. (default is %s)",
.desc(format("Specifies the level of detail in STANDARD file reporting. (default is %s)",
Defaults.STANDARD_PROCESSING))
.converter(s -> ReportConfiguration.Processing.valueOf(s.toUpperCase()))
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public DefaultAnalyser(ReportConfiguration config, final Collection<ILicense> li
}

/**
* Generates a predicateo to filter out licnses that should not be reported.
* Generates a predicate to filter out licenses that should not be reported.
* @param proc the processing status to filter.
* @return a Predicate to do the filtering.
*/
Expand All @@ -94,8 +94,8 @@ private Predicate<ILicense> licenseFilter(ReportConfiguration.Processing proc)
return false;
}
};

}

@Override
public void analyse(Document document) throws RatDocumentAnalysisException {

Expand Down
2 changes: 1 addition & 1 deletion apache-rat/src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ usage: java -jar apache-rat/target/apache-rat-${project.version}.jar [options] [
external xsl file may be specified or one of the internal named sheets: plain-rat (default),
missing-headers, or unapproved-licenses
--scan-hidden-directories Scan hidden directories
--standard <ProcessingType> Specifies the level of detail in STANDARD file reporting.. (default is ABSENCE)
--standard <ProcessingType> Specifies the level of detail in STANDARD file reporting. (default is ABSENCE)
-x,--xml Output the report in raw XML format. Not compatible with -s

====== Argument Types ======
Expand Down
2 changes: 1 addition & 1 deletion src/changes/changes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ https://maven.apache.org/plugins/maven-changes-plugin/xsd/changes-1.0.0.xsd
-->
<release version="0.17-SNAPSHOT" date="xxxx-yy-zz" description="Current SNAPSHOT - release to be done">
<action issue="RAT-377" type="add" dev="claudenw">
Added ability to specify the leverl of reporting on STANDARD files within a project. This necessitated an addition
Added ability to specify the level of reporting on STANDARD files within a project. This necessitated an addition
of a command line option "standard" to limit specify the level of detail in the STANDARD file reporting. See command line
help for more details. By default, there is no change in the reporting and only the presence of archives are reported.
</action>
Expand Down

0 comments on commit 7777690

Please sign in to comment.