Skip to content

Commit

Permalink
1.1.15
Browse files Browse the repository at this point in the history
  • Loading branch information
jeantapias committed Apr 6, 2022
1 parent 78022fd commit 3e6d420
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.myzlab</groupId>
<artifactId>K</artifactId>
<version>1.1.13</version>
<version>1.1.15</version>
<packaging>jar</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/ve/zlab/k/KRow.java
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ public Long getLong(final int n) {
return null;
}

if (o[n] == null) {
return null;
}

if (o[n] instanceof BigInteger) {
return ((BigInteger) o[n]).longValue();
}
Expand All @@ -237,6 +241,10 @@ public Integer getInteger(final int n) {
return null;
}

if (o[n] == null) {
return null;
}

if (o[n] instanceof Short) {
return ((Short) o[n]).intValue();
}
Expand Down

0 comments on commit 3e6d420

Please sign in to comment.