summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java')
-rw-r--r--src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java b/src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java
index e942628..08c6055 100644
--- a/src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java
+++ b/src/main/java/net/sf/antcontrib/cpptasks/os400/IccLinker.java
@@ -215,13 +215,8 @@ public final class IccLinker extends CommandLineLinker {
}
return rc;
}
- public String[] getOutputFileNames(String baseName, VersionInfo versionInfo) {
- String[] baseNames = super.getOutputFileNames(baseName, versionInfo);
- if (outputPrefix.length() > 0) {
- for(int i = 0; i < baseNames.length; i++) {
- baseNames[i] = outputPrefix + baseNames[i];
- }
- }
- return baseNames;
+ @Override
+ public String getOutputFileName(final String baseName, final VersionInfo versionInfo) {
+ return outputPrefix + super.getOutputFileName(baseName, versionInfo);
}
}