trim name
This commit is contained in:
parent
cd49b7281f
commit
5916fd41e1
|
@ -104,7 +104,7 @@ public class Pdh extends Win32 {
|
||||||
public static String getCounterName(int index)
|
public static String getCounterName(int index)
|
||||||
throws Win32Exception {
|
throws Win32Exception {
|
||||||
|
|
||||||
return pdhLookupPerfName(index);
|
return pdhLookupPerfName(index).trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue