mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Documentation. Gave method package visibility so it can be exercised by junit tests
This commit is contained in:
parent
a7cafc049c
commit
76b5f224e5
1 changed files with 6 additions and 1 deletions
|
@ -150,7 +150,12 @@ public class MIThread {
|
|||
|
||||
private static Pattern fgIdPattern = Pattern.compile("[Tt][Hh][Rr][Ee][Aa][Dd]\\s*(\\d+)\\.\\d+", 0); //$NON-NLS-1$
|
||||
|
||||
private static String parseParentId(String str) {
|
||||
/**
|
||||
* This is used to parse the same ID fed to {@link #parseOsId(String)}. The
|
||||
* difference is that we return the first portion when the ID is in format
|
||||
* "Thread pppp.tttt". If the ID is not in that format, we return null.
|
||||
*/
|
||||
static String parseParentId(String str) {
|
||||
// General format:
|
||||
// "Thread 162.32942"
|
||||
// ^^^
|
||||
|
|
Loading…
Add table
Reference in a new issue