Skip to content

Commit b7787d4

Browse files
committed
removed unnecessary empty lines
1 parent 5ac35d1 commit b7787d4

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

msgpack-core/src/main/java/org/msgpack/value/ValueFactory.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ public static ImmutableMapValue emptyMap() {
133133
return ImmutableMapValueImpl.empty();
134134
}
135135

136-
137136
public static MapValue newMap(Map.Entry<? extends Value, ? extends Value>... pairs) {
138137
MapBuilder b = new MapBuilder();
139138
for(Map.Entry<? extends Value, ? extends Value> p : pairs) {
@@ -142,18 +141,17 @@ public static MapValue newMap(Map.Entry<? extends Value, ? extends Value>... pai
142141
return b.build();
143142
}
144143

145-
146144
public static MapBuilder newMapBuilder() {
147145
return new MapBuilder();
148146
}
149147

150148
public static Map.Entry<Value, Value> newMapEntry(Value key, Value value) {
151149
return new AbstractMap.SimpleEntry<Value, Value>(key, value);
152-
153150
}
154151

155152
public static class MapBuilder {
156153
private final Map<Value, Value> map = new HashMap<Value, Value>();
154+
157155
public MapBuilder() {}
158156

159157
public MapValue build() {

msgpack-core/src/main/java/org/msgpack/value/Variable.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,6 @@ public ValueType getValueType() {
535535
public void writeTo(MessagePacker pk) throws IOException {
536536
pk.packDouble(doubleValue);
537537
}
538-
539538
}
540539

541540

@@ -621,7 +620,6 @@ public void writeTo(MessagePacker pk) throws IOException {
621620
pk.packBinaryHeader(data.length);
622621
pk.writePayload(data);
623622
}
624-
625623
}
626624

627625

0 commit comments

Comments
 (0)