Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'launch/org.eclipse.cdt.launch')
-rw-r--r--launch/org.eclipse.cdt.launch/ChangeLog4
-rw-r--r--launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java6
2 files changed, 7 insertions, 3 deletions
diff --git a/launch/org.eclipse.cdt.launch/ChangeLog b/launch/org.eclipse.cdt.launch/ChangeLog
index 58ced545125..a55cc6f7cb6 100644
--- a/launch/org.eclipse.cdt.launch/ChangeLog
+++ b/launch/org.eclipse.cdt.launch/ChangeLog
@@ -1,3 +1,7 @@
+2006-03-29 Mikhail Khodjaiants
+ Made some generic methods static.
+ * AbstractCLaunchDelegate.java
+
2006-03-27 Mikhail Khodjaiants
Moved the extraction of the stop symbol to the launch.
* LocalCDILaunchDelegate.java
diff --git a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
index 3d94b3d5817..be2447ef81c 100644
--- a/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
+++ b/launch/org.eclipse.cdt.launch/src/org/eclipse/cdt/launch/AbstractCLaunchDelegate.java
@@ -248,7 +248,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
*
* @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);
if (args != null) {
args = getStringVariableManager().performStringSubstitution(args);
@@ -261,7 +261,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
*
* @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));
}
@@ -833,7 +833,7 @@ abstract public class AbstractCLaunchDelegate extends LaunchConfigurationDelegat
* does not include the default environment of the target.
* @deprecated
*/
- protected Properties getEnvironmentProperty(ILaunchConfiguration config) {
+ public static Properties getEnvironmentProperty(ILaunchConfiguration config) {
Properties prop = new Properties();
Map env = null;
try {

Back to the top