Return value of mkdirs() is not checked and no error handling occurs
--------------------------------------------------------------------

                 Key: RAT-109
                 URL: https://issues.apache.org/jira/browse/RAT-109
             Project: RAT
          Issue Type: Bug
    Affects Versions: 0.9
         Environment: Revision: 1208077

            Reporter: Hugo Hirsch


The code contains calls to mkdir() without checking its return value.

Patch attached for classes:
*       apache-rat-plugin/src/main/java/org/apache/rat/mp/RatReportMojo.java
*       apache-rat-plugin/src/main/java/org/apache/rat/mp/RatCheckMojo.java
*       apache-rat-tasks/src/test/java/org/apache/rat/anttasks/ReportTest.java


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to