Fix Mson NPE

This commit is contained in:
Olof Larsson 2015-10-15 15:02:35 +02:00
parent ac20aa795d
commit 036f7a720e

View File

@ -272,7 +272,7 @@ public class Mson implements Serializable
public Mson add(Iterable<?> parts) public Mson add(Iterable<?> parts)
{ {
List<Mson> extra = new ArrayList<Mson>(this.getExtra()); List<Mson> extra = new MassiveList<Mson>(this.getExtra());
List<Mson> msons = msons(parts); List<Mson> msons = msons(parts);
extra.addAll(msons); extra.addAll(msons);
return this.extra(extra); return this.extra(extra);