diff options
author | jhugunin <jhugunin> | 2004-01-12 11:37:20 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2004-01-12 11:37:20 +0000 |
commit | a4a12342a16145ee4ac835c77827d8e16f6078cb (patch) | |
tree | de0584fb2f9a9f8e61b7c58dd34f36e423afaa1e /util | |
parent | aa9b8df028b35a921025c4b9922f225dd26090e0 (diff) | |
download | aspectj-a4a12342a16145ee4ac835c77827d8e16f6078cb.tar.gz aspectj-a4a12342a16145ee4ac835c77827d8e16f6078cb.zip |
Fix for: Bugzilla Bug 49814
ConfigParser.java:132
Diffstat (limited to 'util')
-rw-r--r-- | util/src/org/aspectj/util/ConfigParser.java | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/util/src/org/aspectj/util/ConfigParser.java b/util/src/org/aspectj/util/ConfigParser.java index 36ed31edc..59ce90b94 100644 --- a/util/src/org/aspectj/util/ConfigParser.java +++ b/util/src/org/aspectj/util/ConfigParser.java @@ -126,15 +126,16 @@ public class ConfigParser { if (!dir.isDirectory()) { showError("can't find " + dir.getPath()); - } + } else { - File[] files = dir.listFiles(filter); - if (files.length == 0) { + File[] files = dir.listFiles(filter); + if (files.length == 0) { showWarning("no matching files found in: " + dir); - } + } - for (int i = 0; i < files.length; i++) { + for (int i = 0; i < files.length; i++) { addFile(files[i]); + } } } |