From 566c609f78e90b2dcfc6c565d6ab9a0185ce1f98 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Tue, 26 Apr 2016 20:17:24 +0200 Subject: [PATCH] Small change formater --- OsmAnd-java/src/net/osmand/binary/BinaryInspector.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java index 0227018053..36c4f4cab5 100644 --- a/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java +++ b/OsmAnd-java/src/net/osmand/binary/BinaryInspector.java @@ -579,7 +579,11 @@ public class BinaryInspector { if (obj.restrictions != null) { b.append(" restrictions ["); for (int i = 0; i < obj.restrictions.length; i++) { - b.append(obj.getRestrictionId(i)).append(" (").append(obj.getRestrictionType(i)).append(") ").append(","); + if (i > 0) { + b.append(", "); + } + b.append(obj.getRestrictionId(i)).append(" (").append(obj.getRestrictionType(i)).append(") "); + } b.append("] "); }