mirror of
https://github.com/fankes/moshi.git
synced 2025-10-19 16:09:21 +08:00
Merge pull request #127 from square/jw/redundant
Remove redundant loop variable.
This commit is contained in:
@@ -52,7 +52,7 @@ final class JsonScope {
|
|||||||
*/
|
*/
|
||||||
static String getPath(int stackSize, int[] stack, String[] pathNames, int[] pathIndices) {
|
static String getPath(int stackSize, int[] stack, String[] pathNames, int[] pathIndices) {
|
||||||
StringBuilder result = new StringBuilder().append('$');
|
StringBuilder result = new StringBuilder().append('$');
|
||||||
for (int i = 0, size = stackSize; i < size; i++) {
|
for (int i = 0; i < stackSize; i++) {
|
||||||
switch (stack[i]) {
|
switch (stack[i]) {
|
||||||
case EMPTY_ARRAY:
|
case EMPTY_ARRAY:
|
||||||
case NONEMPTY_ARRAY:
|
case NONEMPTY_ARRAY:
|
||||||
|
Reference in New Issue
Block a user