Skip to content

Commit

Permalink
Merge pull request #138 from OpenLiberty/qa
Browse files Browse the repository at this point in the history
Merge qa to master: revert to use \\s+
  • Loading branch information
gkwan-ibm authored Jan 14, 2021
2 parents 1963d54 + 607c7f9 commit 175513e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ private Map<String, Integer> getIntMetrics(List<String> metrics, String metricNa
Map<String, Integer> output = new HashMap<String, Integer>();
for (String metric : metrics) {
if (metric.startsWith(metricName)) {
String[] mSplit = metric.split("\\s+");
String[] mSplit = metric.split(" ");
String key = mSplit[0];
Integer value = Integer.parseInt(mSplit[mSplit.length - 1]);
output.put(key, value);
Expand Down

0 comments on commit 175513e

Please sign in to comment.