Skip to content

Commit

Permalink
comment format
Browse files Browse the repository at this point in the history
  • Loading branch information
tsdeng committed Sep 2, 2014
1 parent ef1fe58 commit 13a609d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ private boolean hasMissingRequiredFieldInGroupType(GroupType requested, GroupTyp

if (requested.containsField(field.getName())) {
Type requestedType = requested.getType(field.getName());
//if a field is in requested schema and the type of it is a group type, then do recursive check
// if a field is in requested schema and the type of it is a group type, then do recursive check
if (!field.isPrimitive()) {
if (hasMissingRequiredFieldInGroupType(requestedType.asGroupType(), field.asGroupType()))
return true;
Expand All @@ -812,7 +812,7 @@ private boolean hasMissingRequiredFieldInGroupType(GroupType requested, GroupTyp
if (field.getRepetition() == Type.Repetition.REQUIRED) {
return true; // if a field is missing in requested schema and it's required
} else {
continue; //The missing field is not required, then continue checking next field
continue; // the missing field is not required, then continue checking next field
}
}
}
Expand Down

0 comments on commit 13a609d

Please sign in to comment.