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("] "); }