ottlinger commented on code in PR #257:
URL: https://github.com/apache/creadur-rat/pull/257#discussion_r1614885492


##########
apache-rat-tasks/src/main/java/org/apache/rat/anttasks/Report.java:
##########
@@ -93,128 +103,230 @@ public void add(ResourceCollection rc) {
         nestedResources.add(rc);
     }
 
-    public void setInputFileFilter(FilenameFilter inputFileFilter) {
-        configuration.setFilesToIgnore(inputFileFilter);
+    /**
+     * Adds an input file filter.
+     * @param inputFileFilter The input file filter to add.
+     */
+    @Deprecated
+    public void setInputFileFilter(IOFileFilter inputFileFilter) {
+        deprecatedConfig.inputFileFilter = inputFileFilter;
     }
 
+    /**
+     * Sets the report file.
+     * @param reportFile the report file.
+     * @deprecated use {@link #setOut(String)}
+     */
+    @Deprecated
     public void setReportFile(File reportFile) {
-        configuration.setOut(reportFile);
+        setOut(reportFile.getAbsolutePath());
     }
 
-    public void addLicense(License lic) {
-        licenses.add(lic);
+    /**
+     * Adds an inline License definition to the system.
+     * @param license the license to add.
+     */
+    public void addLicense(License license) {
+        licenses.add(license);
     }
 
+    /**
+     * Add an inline license family defintion to the system.

Review Comment:
   typo: definition



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@creadur.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to