1
0
Fork 0
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:
John Cortell 2011-01-21 16:09:09 +00:00
parent a7cafc049c
commit 76b5f224e5

View file

@ -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"
// ^^^