@@ -192,7 +192,7 @@ private void addBuildListeners(Project project) {
192192 }
193193 }
194194 catch (ClassCastException e ) {
195- String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.{0}_which_was_specified_to_be_a_build_listener_is_not_an_instance_of_org.apache.tools.ant.BuildListener._1" ), clazz );
195+ String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.{0}_which_was_specified_to_be_a_build_listener_is_not_an_instance_of_org.apache.tools.ant.BuildListener._1" ), clazz ); //$NON-NLS-1$
196196 logMessage (null , message , Project .MSG_ERR );
197197 throw new BuildException (message , e );
198198 }
@@ -432,7 +432,7 @@ private void run(List<String> argList) {
432432 }
433433 }
434434
435- getCurrentProject ().log (MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Build_file__{0}_1" ), getBuildFileLocation ()));
435+ getCurrentProject ().log (MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Build_file__{0}_1" ), getBuildFileLocation ())); //$NON-NLS-1$
436436
437437 setTasks ();
438438 setTypes ();
@@ -579,12 +579,12 @@ private BuildLogger createLogger() {
579579 buildLogger = (BuildLogger ) (Class .forName (loggerClassname ).getConstructor ().newInstance ());
580580 }
581581 catch (ClassCastException e ) {
582- String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.{0}_which_was_specified_to_perform_logging_is_not_an_instance_of_org.apache.tools.ant.BuildLogger._2" ), loggerClassname );
582+ String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.{0}_which_was_specified_to_perform_logging_is_not_an_instance_of_org.apache.tools.ant.BuildLogger._2" ), loggerClassname ); //$NON-NLS-1$
583583 logMessage (null , message , Project .MSG_ERR );
584584 throw new BuildException (message , e );
585585 }
586586 catch (Exception e ) {
587- String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Unable_to_instantiate_logger__{0}_6" ), loggerClassname );
587+ String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Unable_to_instantiate_logger__{0}_6" ), loggerClassname ); //$NON-NLS-1$
588588 logMessage (null , message , Project .MSG_ERR );
589589 throw new BuildException (message , e );
590590 }
@@ -684,7 +684,7 @@ private String getAntVersionNumber() throws BuildException {
684684 antVersionNumber = versionNumber ;
685685 }
686686 catch (IOException ioe ) {
687- throw new BuildException (MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_load_the_version_information._{0}_9" ), ioe .getMessage ()), ioe );
687+ throw new BuildException (MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_load_the_version_information._{0}_9" ), ioe .getMessage ()), ioe ); //$NON-NLS-1$
688688 }
689689 catch (NullPointerException npe ) {
690690 throw new BuildException (RemoteAntMessages .getString ("InternalAntRunner.Could_not_load_the_version_information._10" ), npe ); //$NON-NLS-1$
@@ -895,7 +895,7 @@ private boolean processCommandLine(List<String> commands) {
895895 }
896896 catch (IOException e ) {
897897 // just log message and ignore exception
898- logMessage (getCurrentProject (), MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_write_to_the_specified_log_file__{0}._Make_sure_the_path_exists_and_you_have_write_permissions._2" ), arg ), Project .MSG_ERR );
898+ logMessage (getCurrentProject (), MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_write_to_the_specified_log_file__{0}._Make_sure_the_path_exists_and_you_have_write_permissions._2" ), arg ), Project .MSG_ERR ); //$NON-NLS-1$
899899 return false ;
900900 }
901901
@@ -1011,7 +1011,7 @@ private void processUnrecognizedCommands(List<String> commands) {
10111011 }
10121012
10131013 // warn of ignored commands
1014- String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Unknown_argument__{0}_2" ), s .substring (1 ));
1014+ String message = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Unknown_argument__{0}_2" ), s .substring (1 )); //$NON-NLS-1$
10151015 logMessage (currentProject , message , Project .MSG_WARN );
10161016 }
10171017
@@ -1037,7 +1037,7 @@ private void createLogFile(String fileName) throws FileNotFoundException, IOExce
10371037 // this stream is closed in the finally block of run(list)
10381038 out = new PrintStream (new FileOutputStream (logFile ));
10391039 err = out ;
1040- logMessage (getCurrentProject (), MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Using_{0}_file_as_build_log._1" ), logFile .getCanonicalPath ()), Project .MSG_INFO );
1040+ logMessage (getCurrentProject (), MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Using_{0}_file_as_build_log._1" ), logFile .getCanonicalPath ()), Project .MSG_INFO ); //$NON-NLS-1$
10411041 if (buildLogger != null ) {
10421042 buildLogger .setErrorPrintStream (err );
10431043 buildLogger .setOutputPrintStream (out );
@@ -1287,7 +1287,7 @@ private void loadPropertyFiles() {
12871287 props .load (fis );
12881288 }
12891289 catch (IOException e ) {
1290- fEarlyErrorMessage = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_load_property_file_{0}__{1}_4" ), filename , e .getMessage ());
1290+ fEarlyErrorMessage = MessageFormat .format (RemoteAntMessages .getString ("InternalAntRunner.Could_not_load_property_file_{0}__{1}_4" ), filename , e .getMessage ()); //$NON-NLS-1$
12911291 }
12921292 if (userProperties == null ) {
12931293 userProperties = new HashMap <>();
0 commit comments