Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/ScenarioSelect.java @ 4049:8e66293c5369
Removed dead code
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 06 Oct 2012 11:57:10 +0200 |
parents | c11da3540b70 |
children | 442fbb290fa8 |
comparison
equal
deleted
inserted
replaced
4048:6ed8ebd48d6e | 4049:8e66293c5369 |
---|---|
142 FLYSUtils.XPATH_SHAPEFILE_DIR); | 142 FLYSUtils.XPATH_SHAPEFILE_DIR); |
143 | 143 |
144 File artifactDir = new File(shapePath, artifact.identifier()); | 144 File artifactDir = new File(shapePath, artifact.identifier()); |
145 | 145 |
146 if (artifactDir.exists()) { | 146 if (artifactDir.exists()) { |
147 logger.info("Delete directory: " + artifactDir.getAbsolutePath()); | 147 logger.debug("Delete directory: " + artifactDir.getAbsolutePath()); |
148 boolean success = FileTools.deleteRecursive(artifactDir); | 148 boolean success = FileTools.deleteRecursive(artifactDir); |
149 if (!success) { | |
150 logger.warn("could not remove dir '" + artifactDir + "'"); | |
151 } | |
149 } | 152 } |
150 else { | 153 else { |
151 logger.debug("There is no directory to remove."); | 154 logger.debug("There is no directory to remove."); |
152 } | 155 } |
153 } | 156 } |