// PART METHODS
//
- /**
- * {@inheritDoc}
- */
@Override
public Iterable<Part> parse(SoneTextParserContext context, Reader source) throws IOException {
PartContainer parts = new PartContainer();
* don’t use create=true above, we don’t want
* the empty shell.
*/
- sone = Optional.<Sone>of(new DefaultSone(database, soneId, false));
+ sone = Optional.<Sone>of(new DefaultSone(database, soneId, false, null));
}
parts.add(new SonePart(sone.get()));
line = line.substring(50);