We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3d4089 commit 1162882Copy full SHA for 1162882
logstash-core/src/main/java/org/logstash/common/BufferedTokenizer.java
@@ -91,11 +91,7 @@ public synchronized String next() {
91
* @return true iff a next complete token is available.
92
*/
93
private boolean matchNextSeparatorIdx() {
94
- if (nextSeparatorIdx == -1) {
95
- nextSeparatorIdx = accumulator.indexOf(separator, currentIdx);
96
- } else {
97
98
- }
+ nextSeparatorIdx = accumulator.indexOf(separator, currentIdx);
99
100
// clean up accumulator if no next separator found
101
if (nextSeparatorIdx == -1 && currentIdx > 0) {
0 commit comments