Mail Archive Home | fractal-commits List | April 2008 Index
| <-- Date Index --> | <-- Thread Index --> |
Simplify code which has become unecessarily complicated.
--- trunk/fractaladl/juliac/compiler/src/main/java/org/objectweb/fractal/adl/juliac/CompilationRound.java 2008-04-29 14:31:39 UTC (rev 7548)
+++ trunk/fractaladl/juliac/compiler/src/main/java/org/objectweb/fractal/adl/juliac/CompilationRound.java 2008-04-29 14:42:01 UTC (rev 7549)
@@ -40,14 +40,8 @@
this.classDir = classDir;
}
- public void addInput( SourceFile sf ) throws IOException {
- inputFiles.add(sf);
- }
-
public void addInput( List<SourceFile> sfs ) throws IOException {
- for (SourceFile isf : sfs) {
- addInput(isf);
- }
+ inputFiles.addAll(sfs);
}
public void addGenerated( SourceFile sf ) {
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 2006-2007, OW2 Consortium | contact | webmaster.