* ===========================================================================
* Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.
*
- * Modifications Copyright (C) 2018 IBM.
+ * Modifications Copyright (C) 2019 IBM.
* ===========================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
char last = 0;
for (int i = 0; i < line.length(); ++i) {
char ch;
- if (Character.isWhitespace(ch = line.charAt(i))) {
+ ch = line.charAt(i);
+ if (Character.isWhitespace(ch)) {
if (start || last==',') {
continue; // trim
} else if (quote != 0) {