diff --git a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/output/MIListThreadGroupsInfo.java b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/output/MIListThreadGroupsInfo.java index b715d421d36..8d190f6afcb 100644 --- a/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/output/MIListThreadGroupsInfo.java +++ b/plugins/org.eclipse.dd.mi/src/org/eclipse/dd/mi/service/command/output/MIListThreadGroupsInfo.java @@ -28,13 +28,13 @@ public class MIListThreadGroupsInfo extends MIInfo { public ThreadGroupInfo(String name, String pidStr) { try { - pid = Integer.parseInt(pidStr); + this.pid = Integer.parseInt(pidStr); } catch (NumberFormatException e) { } this.name = name; } - public ThreadGroupInfo(int pid, String name) { + public ThreadGroupInfo(String name, int pid) { this.pid = pid; this.name = name; }