| | |
| | | { |
| | | long recentGCCount = gcCount - lastGCCount; |
| | | long recentGCTime = gcTime - lastGCTime; |
| | | recentGCDuration = (recentGCTime / recentGCCount); |
| | | recentGCDuration = recentGCTime / recentGCCount; |
| | | } |
| | | |
| | | lastGCCounts.put(gcName, gcCount); |
| | |
| | | if (Character.isUpperCase(c)) |
| | | { |
| | | char lowerCaseCharacter = Character.toLowerCase(c); |
| | | if ((buffer.length() > 0) && (! lastWasUppercase) && (! lastWasDash)) |
| | | if (buffer.length() > 0 && !lastWasUppercase && !lastWasDash) |
| | | { |
| | | buffer.append('-'); |
| | | } |
| | |
| | | lastWasUppercase = false; |
| | | lastWasDash = false; |
| | | } |
| | | else if ((c == ' ') || (c == '_') || (c == '-')) |
| | | else if (c == ' ' || c == '_' || c == '-') |
| | | { |
| | | if (! lastWasDash) |
| | | { |