Correct typo in comment

git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@441775 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2006-09-09 10:26:01 +00:00
parent 4e31646af4
commit 224e098352

View File

@ -697,8 +697,8 @@ class RubyWriter extends JSONWriter {
// bytes into the string.
//
// Use single quoted strings for safety since no evaluation is done within them.
// Also, there are very few escapes recognized in a singe quoted string, so
// only escape the backspace and single quote.
// Also, there are very few escapes recognized in a single quoted string, so
// only escape the backslash and single quote.
writer.write('\'');
// it might be more efficient to use a stringbuilder or write substrings
// if writing chars to the stream is slow.