Improve StringListWriter constructor.
This commit is contained in:
parent
397a34b5f0
commit
304c354d2c
1 changed files with 15 additions and 0 deletions
|
@ -31,6 +31,21 @@ public class StringListWriter extends Writer
|
||||||
this.out = new StringList(size);
|
this.out = new StringList(size);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
*/
|
||||||
|
StringListWriter(final StringList target)
|
||||||
|
{
|
||||||
|
if (target == null)
|
||||||
|
{
|
||||||
|
throw new NullPointerException("target is null.");
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.out = target;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue