bug 415302
Patch to protect against null input's. -=david=- Signed-off-by: David Harrigan <dharrigan@gmail.com>
This commit is contained in:
parent
8951c4c773
commit
e351f04002
|
@ -340,6 +340,9 @@ public class QuotedStringTokenizer
|
|||
*/
|
||||
public static void quoteOnly(Appendable buffer, String input)
|
||||
{
|
||||
if(input==null)
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
buffer.append('"');
|
||||
|
@ -366,6 +369,9 @@ public class QuotedStringTokenizer
|
|||
*/
|
||||
public static void quote(Appendable buffer, String input)
|
||||
{
|
||||
if(input==null)
|
||||
return;
|
||||
|
||||
try
|
||||
{
|
||||
buffer.append('"');
|
||||
|
|
Loading…
Reference in New Issue