Profile.getValuesList: don't add trailing newline.

This commit is contained in:
Johannes Mockenhaupt 2017-08-17 21:43:16 +02:00
parent a6351f4455
commit 5991f307af
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -212,7 +212,8 @@ public class Profile {
retValue += format.format(o2.getDouble("value"));
}
retValue += " " + units;
retValue += "\n";
if (index + 1 < array.length())
retValue += "\n";
} catch (JSONException e) {
e.printStackTrace();
}