| CODENOTIFIER | HelpYou are not signed inSign in |
Project: Terracotta
Revision: 9960
Author: jgalang
Date: 03 Sep 2008 21:06:45
Changes:small fix: call to method was eating elements of argList
Files:| ... | ...@@ -60,8 +60,10 @@ | |
| 60 | 60 | } |
| 61 | 61 | |
| 62 | 62 | // TODO NEED TEST |
| 63 | public List<Module> find(List<String> args) { | |
| 63 | public List<Module> find(List<String> argList) { | |
| 64 | 64 | List<Module> list = new ArrayList<Module>(); |
| 65 | List<String> args = new ArrayList<String>(argList); | |
| 66 | ||
| 65 | 67 | String artifactId = args.remove(0); |
| 66 | 68 | String version = args.isEmpty() ? null : args.remove(0); |
| 67 | 69 | String groupId = args.isEmpty() ? null : args.remove(0); |