}
String[] pathParts = completePath.split("\\" + File.separator);
ProjectFileImpl currentProjectFile = rootProjectFile;
- for (String pathPart: pathParts) {
+ for (String pathPart : pathParts) {
currentProjectFile = currentProjectFile.getFile(pathPart);
if (currentProjectFile == null) {
return null;
if (!directory.isDirectory()) {
return;
}
- for (File file: directory.listFiles()) {
+ for (File file : directory.listFiles()) {
ProjectFileImpl projectFileChild = projectFile.addFile(file.getName(), file.length(), file.isDirectory(), file.isHidden());
if (file.isDirectory()) {
scanDirectory(file, projectFileChild);
if (!isDirectory()) {
return null;
}
- for (ProjectFileImpl projectFile: childProjectFiles) {
+ for (ProjectFileImpl projectFile : childProjectFiles) {
if (projectFile.getName().equals(name)) {
return projectFile;
}