Improve StringListWriter constructor.

This commit is contained in:
Christian P. MOMON 2013-09-15 00:26:23 +02:00
parent 397a34b5f0
commit 304c354d2c

View file

@ -31,6 +31,21 @@ public class StringListWriter extends Writer
this.out = new StringList(size);
}
/**
*
*/
StringListWriter(final StringList target)
{
if (target == null)
{
throw new NullPointerException("target is null.");
}
else
{
this.out = target;
}
}
/*
*
*/