1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-09-10 12:03:16 +02:00

Comment out evaluateCommand method that is never called

This commit is contained in:
Leo Treggiari 2005-11-13 23:32:08 +00:00
parent 56328ac878
commit db0da96c2a

View file

@ -192,15 +192,9 @@ public class BuildToolSettingsPage extends BuildSettingsPage {
/** /**
* Look for ${VALUE} in the command string * Look for ${VALUE} in the command string
*/ */
private String evaluateCommand( String command, String values ) { //private String evaluateCommand( String command, String values ) {
if( command == null ) return values.trim(); // return (((Tool)clonedTool).evaluateCommand(command, values));
if( command.indexOf( "${" ) >= 0 ) { //$NON-NLS-1$ //}
return command.replaceAll( "\\$\\{[vV][aA][lL][uU][eE]\\}", values.trim() ).trim(); //$NON-NLS-1$
}
else {
return (new String(command + values)).trim();
}
}
/** /**
* Answers <code>true</code> if the receiver manages settings for the * Answers <code>true</code> if the receiver manages settings for the