apex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tweise <...@git.apache.org>
Subject [GitHub] incubator-apex-malhar pull request: Clean corrent temp directories...
Date Tue, 05 Jan 2016 00:13:05 GMT
Github user tweise commented on a diff in the pull request:

    https://github.com/apache/incubator-apex-malhar/pull/152#discussion_r48799418
  
    --- Diff: contrib/src/test/java/com/datatorrent/contrib/kafka/KafkaInputOperatorTest.java
---
    @@ -251,9 +263,9 @@ protected void starting(Description description)
           String methodName = description.getMethodName();
           String className = description.getClassName();
           baseDir = "target/" + className + "/" + methodName;
    -      recoveryDir = baseDir + "/" + "recovery";
    +      recoveryDir = "recovery";
           try {
    -        FileUtils.deleteDirectory(new File(recoveryDir));
    +        FileUtils.deleteDirectory(new File(baseDir + "/" + "recovery"));
    --- End diff --
    
    Use File constructor with separate parameters.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message