Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2006-03-29 19:29:53 +0000
committerMikhail Khodjaiants2006-03-29 19:29:53 +0000
commitb3b077cfc366b619104e1a7950d9aead65efe9a1 (patch)
tree8a8fb55a6324544f9edfc64e1cf0d328cf324df4 /launch/org.eclipse.cdt.launch
parent6cd5aaeef0f4e5dff7702897aeb82581a3e4a607 (diff)
downloadorg.eclipse.cdt-b3b077cfc366b619104e1a7950d9aead65efe9a1.tar.gz
org.eclipse.cdt-b3b077cfc366b619104e1a7950d9aead65efe9a1.tar.xz
org.eclipse.cdt-b3b077cfc366b619104e1a7950d9aead65efe9a1.zip
Made some generic methods static.
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