mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Re-order param to be consistent with other constructor
This commit is contained in:
parent
432390d270
commit
baa0551cab
1 changed files with 2 additions and 2 deletions
|
@ -28,13 +28,13 @@ public class MIListThreadGroupsInfo extends MIInfo {
|
||||||
|
|
||||||
public ThreadGroupInfo(String name, String pidStr) {
|
public ThreadGroupInfo(String name, String pidStr) {
|
||||||
try {
|
try {
|
||||||
pid = Integer.parseInt(pidStr);
|
this.pid = Integer.parseInt(pidStr);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
}
|
}
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
public ThreadGroupInfo(int pid, String name) {
|
public ThreadGroupInfo(String name, int pid) {
|
||||||
this.pid = pid;
|
this.pid = pid;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue