KarArtifactInstaller::init has incorrect warning logic
------------------------------------------------------

                 Key: KARAF-643
                 URL: https://issues.apache.org/jira/browse/KARAF-643
             Project: Karaf
          Issue Type: Bug
          Components: runtime
    Affects Versions: 2.2.1, 2.2.0
         Environment: Ubuntu Linux (though I believe the issue affects all 
platforms).
            Reporter: Yaytay
            Priority: Trivial


KarArtifactInstaller.java has the following block:
if (new File(timestampPath).mkdirs()) {
  logger.warn("Unable to create directory for Karaf Archive timestamps. Results 
may vary...");
}

which looks as though it's missing a !
mkdirs returns true if and only if the directory was created, along with all 
necessary parent directories; false otherwise.



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to