mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Made some generic methods static.
This commit is contained in:
parent
6cd5aaeef0
commit
b3b077cfc3
2 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2006-03-29 Mikhail Khodjaiants
|
||||||
|
Made some generic methods static.
|
||||||
|
* AbstractCLaunchDelegate.java
|
||||||
|
|
||||||
2006-03-27 Mikhail Khodjaiants
|
2006-03-27 Mikhail Khodjaiants
|
||||||
Moved the extraction of the stop symbol to the launch.
|
Moved the extraction of the stop symbol to the launch.
|
||||||
* LocalCDILaunchDelegate.java
|
* LocalCDILaunchDelegate.java
|
||||||
|
|
|
@ -248,7 +248,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
||||||
*
|
*
|
||||||
* @return the program arguments as a String
|
* @return the program arguments as a String
|
||||||
*/
|
*/
|
||||||
public String getProgramArguments(ILaunchConfiguration config) throws CoreException {
|
public static String getProgramArguments(ILaunchConfiguration config) throws CoreException {
|
||||||
String args = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, (String)null);
|
String args = config.getAttribute(ICDTLaunchConfigurationConstants.ATTR_PROGRAM_ARGUMENTS, (String)null);
|
||||||
if (args != null) {
|
if (args != null) {
|
||||||
args = getStringVariableManager().performStringSubstitution(args);
|
args = getStringVariableManager().performStringSubstitution(args);
|
||||||
|
@ -261,7 +261,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
||||||
*
|
*
|
||||||
* @return the program arguments as an array of individual arguments
|
* @return the program arguments as an array of individual arguments
|
||||||
*/
|
*/
|
||||||
public String[] getProgramArgumentsArray(ILaunchConfiguration config) throws CoreException {
|
public static String[] getProgramArgumentsArray(ILaunchConfiguration config) throws CoreException {
|
||||||
return parseArguments(getProgramArguments(config));
|
return parseArguments(getProgramArguments(config));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -833,7 +833,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
|
||||||
* does not include the default environment of the target.
|
* does not include the default environment of the target.
|
||||||
* @deprecated
|
* @deprecated
|
||||||
*/
|
*/
|
||||||
protected Properties getEnvironmentProperty(ILaunchConfiguration config) {
|
public static Properties getEnvironmentProperty(ILaunchConfiguration config) {
|
||||||
Properties prop = new Properties();
|
Properties prop = new Properties();
|
||||||
Map env = null;
|
Map env = null;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Add table
Reference in a new issue