codacy concern addressed
@@ -48,9 +48,10 @@ public interface ColumnType {
case "LOCAL_DATE_TIME": return DateTimeColumn.create(name);
case "LOCAL_TIME": return TimeColumn.create(name);
case "SKIP": throw new IllegalArgumentException("Cannot create column of type SKIP");
- }
+ default:
throw new UnsupportedOperationException("Column type " + name() + " doesn't support column creation");
}
+ }
String name();
