Skip to content

Commit

Permalink
#39: New Client Metrics Available
Browse files Browse the repository at this point in the history
- adjusted WebVitalData to match latest changes in Data classes
  • Loading branch information
jowerner committed Feb 22, 2024
1 parent 4f62c88 commit 36c0a92
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/main/java/com/xceptance/xlt/api/engine/WebVitalData.java
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ public double getValue()
* {@inheritDoc}
*/
@Override
protected List<String> addValues()
public List<String> toList()
{
final List<String> values = super.addValues();
final List<String> values = super.toList();
values.add(Double.toString(value));
return values;
}
Expand All @@ -97,16 +97,7 @@ protected List<String> addValues()
* {@inheritDoc}
*/
@Override
protected int getMinNoCSVElements()
{
return 4;
}

/**
* {@inheritDoc}
*/
@Override
protected void parseRemainingValues(final List<XltCharBuffer> values)
public void setRemainingValues(final List<XltCharBuffer> values)
{
value = Double.parseDouble(values.get(3).toString());
}
Expand Down

0 comments on commit 36c0a92

Please sign in to comment.