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:
parent
56328ac878
commit
db0da96c2a
1 changed files with 3 additions and 9 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue