mirror of
https://github.com/apache/lucene.git
synced 2025-02-22 18:27:21 +00:00
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:
parent
4e31646af4
commit
224e098352
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user