Permalink
Browse files

[nobug] prevent NPE until I get the code completed

  • Loading branch information...
1 parent 72cbc3c commit 006cc67c0fa65e03422f6857ce31899b4e8f93fe @mrennie mrennie committed Feb 6, 2013
@@ -11,6 +11,7 @@
package org.eclipse.wst.jsdt.debug.node.internal.launching;
import java.io.IOException;
+import java.util.HashMap;
import java.util.Map;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
@@ -33,7 +34,9 @@ public NodeAttachConnector() {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
*/
public Map defaultArguments() {
- return null;
+ HashMap args = new HashMap();
+ //TODO add arguments
+ return args;
}
/* (non-Javadoc)
@@ -11,6 +11,7 @@
package org.eclipse.wst.jsdt.debug.node.internal.launching;
import java.io.IOException;
+import java.util.HashMap;
import java.util.Map;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
@@ -33,7 +34,9 @@ public NodeLaunchConnector() {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
*/
public Map defaultArguments() {
- return null;
+ HashMap args = new HashMap();
+ //TODO ad args
+ return args;
}
/* (non-Javadoc)
@@ -11,6 +11,7 @@
package org.eclipse.wst.jsdt.debug.node.internal.launching;
import java.io.IOException;
+import java.util.HashMap;
import java.util.Map;
import org.eclipse.wst.jsdt.debug.core.jsdi.VirtualMachine;
@@ -33,7 +34,9 @@ public NodeListenConnector() {
* @see org.eclipse.wst.jsdt.debug.core.jsdi.connect.Connector#defaultArguments()
*/
public Map defaultArguments() {
- return null;
+ HashMap args = new HashMap();
+ //TODO add args
+ return args;
}
/* (non-Javadoc)

0 comments on commit 006cc67

Please sign in to comment.