1 | String[] outputTargets = null;↵ | | 1 | String[] errorTargets = null;↵
|
2 | try {↵ | | 2 | try {↵
|
3 | outputTargets =↵ | | 3 | errorTargets =↵
|
4 | outputMapper.getImplementation().mapFileName(sourcefile);↵ | | 4 | errorMapper.getImplementation().mapFileName(sourcefile);↵
|
5 | } catch (NullPointerException enPeaEx) {↵ | | 5 | } catch (NullPointerException enPeaEx) {↵
|
6 | if (sourcefile != null) {↵ | | 6 | if (sourcefile != null) {↵
|
7 | throw enPeaEx;↵ | | 7 | throw enPeaEx;↵
|
8 | }↵ | | 8 | }↵
|
9 | }↵ | | 9 | }↵
|
10 | if (outputTargets != null && outputTargets.length > 0) {↵ | | 10 | if (errorTargets != null && errorTargets.length > 0) {↵
|
11 | redirector.setOutput(toFileArray(outputTargets));↵ | | 11 | redirector.setError(toFileArray(errorTargets));↵
|
12 | } | | 12 | }
|