diff options
Diffstat (limited to 'src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java')
-rw-r--r-- | src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java b/src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java index b9aea47..7b4e581 100644 --- a/src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java +++ b/src/main/java/net/sf/antcontrib/cpptasks/os390/OS390Linker.java @@ -162,14 +162,9 @@ public final class OS390Linker extends CommandLineLinker { public int getMaximumCommandLength() { return Integer.MAX_VALUE; } - 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); } @Override protected String[] getOutputFileSwitch(final CCTask task, String outputFile) { |