* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
- */
+ */
package org.wamblee.io;
import java.io.File;
* @author Erik Brakkee
*/
public final class FileSystemUtils {
- private static final Logger LOG = Logger.getLogger(FileSystemUtils.class.getName());
+ private static final Logger LOG = Logger.getLogger(FileSystemUtils.class
+ .getName());
/**
* Test output directory relative to the sub project.
path = URLDecoder.decode(location.getPath(), "UTF-8");
} catch (UnsupportedEncodingException e) {
// ignore it.. just don't decode
- LOG.log(Level.WARNING, "Decoding path failed: '" + location.getPath() + "'", e);
+ LOG.log(Level.WARNING, "Decoding path failed: '" +
+ location.getPath() + "'", e);
}
return new File(new File(path).getParentFile(), aRelativePath);
Assert.assertTrue(aSrc.isDirectory());
Assert.assertTrue(!aTarget.exists());
- if (!aTarget.mkdirs()) {
+ if (!aTarget.mkdirs()) {
Assert.fail("Could not create target directory '" + aTarget + "'");
}
/**
* Remove all regular files within a given directory.
*
- * @param outputDirName
+ * @param aDir Directory to clean.
*/
public static void cleanDir(File aDir) {
if (!aDir.exists()) {