File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
core/src/main/java/com/scalar/db/common Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -391,7 +391,7 @@ public void alterColumnType(
391391 if (currentColumnType == newColumnType ) {
392392 return ;
393393 }
394- if (!isTypeConversionSupported (currentColumnType , newColumnType )) {
394+ if (!isTypeConversionValid (currentColumnType , newColumnType )) {
395395 throw new IllegalArgumentException (
396396 CoreError .INVALID_COLUMN_TYPE_CONVERSION .buildMessage (
397397 currentColumnType , newColumnType , columnName ));
@@ -531,7 +531,7 @@ public void close() {
531531 admin .close ();
532532 }
533533
534- private boolean isTypeConversionSupported (DataType from , DataType to ) {
534+ private boolean isTypeConversionValid (DataType from , DataType to ) {
535535 if (from == to ) {
536536 return true ;
537537 }
You can’t perform that action at this time.
0 commit comments