Skip to content

Commit

Permalink
Remove Blank lines (googleapis#475)
Browse files Browse the repository at this point in the history
  • Loading branch information
geri-m committed Sep 23, 2018
1 parent 809a7dd commit 7e50b2d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ private static boolean parseElementInternal(XmlPullParser parser,
if (fieldType instanceof ParameterizedType) {
fieldClass = Types.getRawClass((ParameterizedType) fieldType);
}

boolean isArray = Types.isArray(fieldType);
// text content
boolean ignore = field == null && destinationMap == null && genericXml == null;
Expand Down Expand Up @@ -492,8 +491,7 @@ private static boolean parseElementInternal(XmlPullParser parser,
}
collectionValue.add(elementValue);
}
}
else {
} else {
// not an array/iterable or a map, but we do have a field
Object value = Types.newInstance(fieldClass);
int contextSize = context.size();
Expand All @@ -508,9 +506,6 @@ private static boolean parseElementInternal(XmlPullParser parser,
setValue(value, field, destination, genericXml, destinationMap, fieldName);
}
}



if (isStopped || parser.getEventType() == XmlPullParser.END_DOCUMENT) {
isStopped = true;
break main;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,6 @@ private void computeAliases(Object element, SortedSet<String> aliases) {
computeAliases(value, aliases);
}
}

}
}
}
Expand Down

0 comments on commit 7e50b2d

Please sign in to comment.