提交 a273cb37 authored 作者: Noel Grandin's avatar Noel Grandin

use consistent ordering in method names

上级 cd8d23ff
...@@ -777,7 +777,7 @@ public abstract class Value { ...@@ -777,7 +777,7 @@ public abstract class Value {
case Value.INTERVAL_HOUR_TO_MINUTE: case Value.INTERVAL_HOUR_TO_MINUTE:
case Value.INTERVAL_HOUR_TO_SECOND: case Value.INTERVAL_HOUR_TO_SECOND:
case Value.INTERVAL_MINUTE_TO_SECOND: case Value.INTERVAL_MINUTE_TO_SECOND:
return convertToDayTimeInterval(targetType); return convertToIntervalDayTime(targetType);
case ARRAY: case ARRAY:
return convertToArray(); return convertToArray();
case RESULT_SET: case RESULT_SET:
...@@ -1250,7 +1250,7 @@ public abstract class Value { ...@@ -1250,7 +1250,7 @@ public abstract class Value {
throw getDataConversionError(targetType); throw getDataConversionError(targetType);
} }
private ValueInterval convertToDayTimeInterval(int targetType) { private ValueInterval convertToIntervalDayTime(int targetType) {
switch (getType()) { switch (getType()) {
case Value.STRING: case Value.STRING:
case Value.STRING_IGNORECASE: case Value.STRING_IGNORECASE:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论