We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0aa9ff commit 57f5c53Copy full SHA for 57f5c53
src/main/java/synapticloop/h2zero/model/Table.java
@@ -173,7 +173,7 @@ private void populateFields(JSONObject jsonObject) throws H2ZeroParseException {
173
}
174
175
type = fieldObject.optString("type", null);
176
- if(null == type) {
+ if(null == type || type.trim().length() == 0) {
177
throw new H2ZeroParseException("No 'type' value found for field '" + fieldName + "'.");
178
179
0 commit comments