Skip to content

Commit

Permalink
simplified if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
doneill committed Nov 3, 2015
1 parent 20acbe4 commit 178c5a7
Showing 1 changed file with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,13 @@ public static boolean isFieldValidForEditing(Field field) {

int fieldType = field.getFieldType();

if (field.isEditable() && fieldType != Field.esriFieldTypeOID
return field.isEditable() && fieldType != Field.esriFieldTypeOID
&& fieldType != Field.esriFieldTypeGeometry
&& fieldType != Field.esriFieldTypeBlob
&& fieldType != Field.esriFieldTypeRaster
&& fieldType != Field.esriFieldTypeGUID
&& fieldType != Field.esriFieldTypeXML) {
&& fieldType != Field.esriFieldTypeXML;

return true;

}

return false;
}

/**
Expand Down

0 comments on commit 178c5a7

Please sign in to comment.