| @@ -887,7 +887,7 @@ public class Main implements AntMain { | |||||
| + " that:"); | + " that:"); | ||||
| error.printStackTrace(); | error.printStackTrace(); | ||||
| } | } | ||||
| throw new BuildException(t); | |||||
| throw new BuildException(t); //NOSONAR | |||||
| } | } | ||||
| } else if (error != null) { | } else if (error != null) { | ||||
| project.log(error.toString(), Project.MSG_ERR); | project.log(error.toString(), Project.MSG_ERR); | ||||
| @@ -747,7 +747,7 @@ public class FTP extends Task implements FTPTaskConfig { | |||||
| try { | try { | ||||
| ftp.changeWorkingDirectory(directory); | ftp.changeWorkingDirectory(directory); | ||||
| } catch (IOException ioe) { | } catch (IOException ioe) { | ||||
| throw new BuildException(ioe, getLocation()); | |||||
| throw new BuildException(ioe, getLocation()); //NOSONAR | |||||
| } | } | ||||
| } | } | ||||
| getProject().log("remote system is case sensitive : " + remoteSystemCaseSensitive, | getProject().log("remote system is case sensitive : " + remoteSystemCaseSensitive, | ||||
| @@ -1155,7 +1155,7 @@ public class FTP extends Task implements FTPTaskConfig { | |||||
| Project.MSG_ERR); | Project.MSG_ERR); | ||||
| } finally { | } finally { | ||||
| if (!comeback) { | if (!comeback) { | ||||
| throw new BuildException("could not cd back to " + dir | |||||
| throw new BuildException("could not cd back to " + dir //NOSONAR | |||||
| + " while checking a symlink"); | + " while checking a symlink"); | ||||
| } | } | ||||
| } | } | ||||
| @@ -648,7 +648,7 @@ public class FTPTaskMirrorImpl implements FTPTaskMirror { | |||||
| try { | try { | ||||
| ftp.changeWorkingDirectory(directory); | ftp.changeWorkingDirectory(directory); | ||||
| } catch (IOException ioe) { | } catch (IOException ioe) { | ||||
| throw new BuildException(ioe, task.getLocation()); | |||||
| throw new BuildException(ioe, task.getLocation()); //NOSONAR | |||||
| } | } | ||||
| } | } | ||||
| task.log("remote system is case sensitive : " | task.log("remote system is case sensitive : " | ||||
| @@ -1061,7 +1061,7 @@ public class FTPTaskMirrorImpl implements FTPTaskMirror { | |||||
| Project.MSG_ERR); | Project.MSG_ERR); | ||||
| } finally { | } finally { | ||||
| if (!comeback) { | if (!comeback) { | ||||
| throw new BuildException("could not cd back to " + dir | |||||
| throw new BuildException("could not cd back to " + dir //NOSONAR | |||||
| + " while checking a symlink"); | + " while checking a symlink"); | ||||
| } | } | ||||
| } | } | ||||
| @@ -262,7 +262,7 @@ public class SplashTask extends Task { | |||||
| // swallow if there was an error before so that | // swallow if there was an error before so that | ||||
| // original error will be passed up | // original error will be passed up | ||||
| if (success) { | if (success) { | ||||
| throw new BuildException(ioe); | |||||
| throw new BuildException(ioe); //NOSONAR | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||