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