Skip to content

Commit cdb81be

Browse files
committed
- try another way to fix Integer to Double class cast exception
1 parent c07eeea commit cdb81be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bigbluebutton-apps/src/main/java/org/bigbluebutton/conference/service/recorder/whiteboard/AddShapeWhiteboardRecordEvent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public void addAnnotation(Map<String, Object> annotation) {
2626

2727
private String pointsToString(ArrayList<Double> points){
2828
String datapoints = "";
29-
for (Double i : points) {
30-
datapoints += i + ",";
29+
for (int i = 0; i < points.size(); i++) {
30+
datapoints += (points.get(i)).toString() + ",";
3131
}
3232
// Trim the trailing comma
3333
return datapoints.substring(0, datapoints.length() - 1);

0 commit comments

Comments
 (0)