Skip to content

Commit 22fefd3

Browse files
committed
fixed documentation
1 parent d9a70d9 commit 22fefd3

1 file changed

Lines changed: 14 additions & 14 deletions

File tree

apache-rat-core/src/main/java/org/apache/rat/ReportConfiguration.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ public void addIncludedMatcher(final DocumentNameMatcher matcher) {
462462
/**
463463
* Add file patterns that are to be included. These patterns override any exclusion of
464464
* the same files.
465-
* @param patterns the iterable of Strings containing the patterns.
465+
* @param patterns The iterable of Strings containing the patterns.
466466
*/
467467
public void addIncludedPatterns(final Iterable<String> patterns) {
468468
exclusionProcessor.addIncludedPatterns(patterns);
@@ -514,7 +514,7 @@ public void setStyleSheet(final IODescriptor<InputStream> styleSheet) {
514514
* Adds the licenses and approved licenses from the defaults object to the
515515
* configuration. <em>Side effect:</em> if the report should be styled and no
516516
* style sheet has been set the plain stylesheet from the defaults will be used.
517-
* @param defaults the defaults to set.
517+
* @param defaults The defaults to set.
518518
*/
519519
public void setFrom(final Defaults defaults) {
520520
licenseSetFactory.add(defaults.getLicenseSetFactory());
@@ -562,7 +562,7 @@ public void setStyleSheet(final URL styleSheet) {
562562
* times to provide the stream. Suppliers should prepare streams that are
563563
* appended to and that can be closed. If an {@code OutputStream} should not be
564564
* closed consider wrapping it in a {@code CloseShieldOutputStream}
565-
* @param out the OutputStream supplier that provides the output stream to write
565+
* @param out The OutputStream supplier that provides the output stream to write
566566
* the report to. A null value will use System.out.
567567
* @see CloseShieldOutputStream
568568
*/
@@ -596,7 +596,7 @@ public void setOut(final File file) {
596596
/**
597597
* Returns the output stream supplier. If no stream has been set returns a
598598
* supplier for System.out.
599-
* @return the supplier of the output stream to write the report to.
599+
* @return The supplier of the output stream to write the report to.
600600
*/
601601
public IOSupplier<OutputStream> getOutput() {
602602
return getOutputDescriptor().ioSupplier();
@@ -613,7 +613,7 @@ public IODescriptor<OutputStream> getOutputDescriptor() {
613613

614614
/**
615615
* Gets a PrintWriter that wraps the output stream.
616-
* @return a supplier for a PrintWriter that wraps the output stream.
616+
* @return A supplier for a PrintWriter that wraps the output stream.
617617
* @see #getOutput()
618618
*/
619619
public IOSupplier<PrintWriter> getWriter() {
@@ -623,7 +623,7 @@ public IOSupplier<PrintWriter> getWriter() {
623623
/**
624624
* Adds a license to the list of licenses. Does not add the license to the list
625625
* of approved licenses.
626-
* @param license the license to add to the list of licenses.
626+
* @param license The license to add to the list of licenses.
627627
*/
628628
public void addLicense(final ILicense license) {
629629
licenseSetFactory.addLicense(license);
@@ -632,7 +632,7 @@ public void addLicense(final ILicense license) {
632632
/**
633633
* Adds a license to the list of licenses. Does not add the license to the list
634634
* of approved licenses.
635-
* @param builder the license builder to build and add to the list of licenses.
635+
* @param builder The license builder to build and add to the list of licenses.
636636
* @return The ILicense implementation that was added.
637637
*/
638638
public ILicense addLicense(final ILicense.Builder builder) {
@@ -642,7 +642,7 @@ public ILicense addLicense(final ILicense.Builder builder) {
642642
/**
643643
* Adds multiple licenses to the list of licenses. Does not add the licenses to
644644
* the list of approved licenses.
645-
* @param licenses the licenses to add.
645+
* @param licenses The licenses to add.
646646
*/
647647
public void addLicenses(final Collection<ILicense> licenses) {
648648
licenseSetFactory.addLicenses(licenses);
@@ -651,7 +651,7 @@ public void addLicenses(final Collection<ILicense> licenses) {
651651
/**
652652
* Adds a license family to the list of families. Does not add the family to the
653653
* list of approved licenses.
654-
* @param family the license family to add to the list of license families.
654+
* @param family The license family to add to the list of license families.
655655
*/
656656
public void addFamily(final ILicenseFamily family) {
657657
licenseSetFactory.addFamily(family);
@@ -660,7 +660,7 @@ public void addFamily(final ILicenseFamily family) {
660660
/**
661661
* Adds a license family to the list of families. Does not add the family to the
662662
* list of approved licenses.
663-
* @param builder the licenseFamily.Builder to build and add to the list of
663+
* @param builder The licenseFamily.Builder to build and add to the list of
664664
* licenses.
665665
*/
666666
public void addFamily(final ILicenseFamily.Builder builder) {
@@ -670,7 +670,7 @@ public void addFamily(final ILicenseFamily.Builder builder) {
670670
/**
671671
* Adds multiple families to the list of license families. Does not add the
672672
* licenses to the list of approved licenses.
673-
* @param families the license families to add.
673+
* @param families The license families to add.
674674
*/
675675
public void addFamilies(final Collection<ILicenseFamily> families) {
676676
families.forEach(this::addApprovedLicenseCategory);
@@ -723,7 +723,7 @@ public void removeApprovedLicenseCategories(final Collection<String> familyCateg
723723
/**
724724
* Gets the SortedSet of approved license categories. <em>Once a license has
725725
* been removed from the approved list it cannot be re-added</em>
726-
* @param filter the LicenseFilter to filter the categories by.
726+
* @param filter The LicenseFilter to filter the categories by.
727727
* @return the Sorted set of approved license categories.
728728
*/
729729
public SortedSet<String> getLicenseCategories(final LicenseFilter filter) {
@@ -733,7 +733,7 @@ public SortedSet<String> getLicenseCategories(final LicenseFilter filter) {
733733
/**
734734
* Gets the SortedSet of approved license categories. <em>Once a license has
735735
* been removed from the approved list it cannot be re-added</em>
736-
* @param filter the LicenseFilter to filter the licenses by.
736+
* @param filter The LicenseFilter to filter the licenses by.
737737
* @return the Sorted set of approved license categories.
738738
*/
739739
public UnmodifiableSortedSet<ILicense> getLicenses(final LicenseFilter filter) {
@@ -743,7 +743,7 @@ public UnmodifiableSortedSet<ILicense> getLicenses(final LicenseFilter filter) {
743743
/**
744744
* Gets the SortedSet of approved license categories. <em>Once a license has
745745
* been removed from the approved list it cannot be re-added</em>
746-
* @param filter the LicenseFilter to filter the licenses by.
746+
* @param filter The LicenseFilter to filter the licenses by.
747747
* @return the Sorted set of approved license categories.
748748
*/
749749
public SortedSet<String> getLicenseIds(final LicenseFilter filter) {

0 commit comments

Comments
 (0)