Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Sync with DataIterator interface change in Ballerina
Browse files Browse the repository at this point in the history
  • Loading branch information
Manuri committed Dec 20, 2018
1 parent a0f13c7 commit 1c495d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,19 +87,19 @@ public String getString(int columnIndex) {
}

@Override
public long getInt(int columnIndex) {
public Long getInt(int columnIndex) {
this.checkCurrentRow();
return this.current.getInt(columnIndex - 1);
return (long) this.current.getInt(columnIndex - 1);
}

@Override
public double getFloat(int columnIndex) {
public Double getFloat(int columnIndex) {
this.checkCurrentRow();
return this.current.getFloat(columnIndex - 1);
return (double) this.current.getFloat(columnIndex - 1);
}

@Override
public boolean getBoolean(int columnIndex) {
public Boolean getBoolean(int columnIndex) {
this.checkCurrentRow();
return this.current.getBool(columnIndex - 1);
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@

<properties>
<project.scm.id>my-scm-server</project.scm.id>
<ballerina.version>0.990.0</ballerina.version>
<ballerina.version>0.990.1-SNAPSHOT</ballerina.version>
<cassandra.version>3.6.0</cassandra.version>
<com.google.guava.version>19.0</com.google.guava.version>
<io.dropwizard.metrics.version>3.1.2</io.dropwizard.metrics.version>
Expand Down

0 comments on commit 1c495d9

Please sign in to comment.