Skip to content

Commit 909bdf3

Browse files
committed
fixed method typo
1 parent b42895e commit 909bdf3

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

client-v2/src/main/java/com/clickhouse/client/api/data_formats/internal/BinaryStreamReader.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import java.time.Instant;
2323
import java.time.LocalDate;
2424
import java.time.LocalDateTime;
25-
import java.time.LocalTime;
2625
import java.time.Period;
2726
import java.time.ZonedDateTime;
2827
import java.time.temporal.TemporalAmount;
@@ -183,7 +182,7 @@ public <T> T readValue(ClickHouseColumn column, Class<?> typeHint) throws IOExce
183182
case Date:
184183
return (T) readDateAsLocalDate();
185184
case Date32:
186-
return (T) readDate32AaLocalDate();
185+
return (T) readDate32AsLocalDate();
187186
case DateTime:
188187
return convertDateTime(readDateTime32(timezone), typeHint);
189188
case DateTime32:
@@ -975,7 +974,7 @@ public LocalDate readDateAsLocalDate() throws IOException {
975974
return LocalDate.ofEpochDay(readUnsignedShortLE());
976975
}
977976

978-
public LocalDate readDate32AaLocalDate() throws IOException {
977+
public LocalDate readDate32AsLocalDate() throws IOException {
979978
return LocalDate.ofEpochDay(readIntLE());
980979
}
981980

0 commit comments

Comments
 (0)