Skip to content

Commit c5229c0

Browse files
typo in Resource
1 parent 9a24224 commit c5229c0

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

pom.xml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>io.frictionlessdata</groupId>
55
<artifactId>datapackage-java</artifactId>
6-
<version>0.5.0-SNAPSHOT</version>
6+
<version>0.5.1-SNAPSHOT</version>
77
<packaging>jar</packaging>
88
<issueManagement>
99
<url>https://github.com/frictionlessdata/datapackage-java/issues</url>
@@ -20,7 +20,7 @@
2020
<java.version>8</java.version>
2121
<maven.compiler.source>${java.version}</maven.compiler.source>
2222
<maven.compiler.target>${java.version}</maven.compiler.target>
23-
<tableschema-java-version>0.5.0</tableschema-java-version>
23+
<tableschema-java-version>0.5.1</tableschema-java-version>
2424
<hamcrest.version>1.3</hamcrest.version>
2525
<junit.version>5.9.1</junit.version>
2626
<slf4j-simple.version>2.0.5</slf4j-simple.version>
@@ -263,5 +263,11 @@
263263
<artifactId>tableschema-java</artifactId>
264264
<version>${tableschema-java-version}</version>
265265
</dependency>
266+
<dependency>
267+
<groupId>io.frictionlessdata</groupId>
268+
<artifactId>tableschema-java</artifactId>
269+
<version>0.5.1-SNAPSHOT</version>
270+
<scope>compile</scope>
271+
</dependency>
266272
</dependencies>
267273
</project>

src/main/java/io/frictionlessdata/datapackage/resource/Resource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,15 +79,15 @@ public interface Resource<T,C> {
7979
* The method uses Iterators provided by {@link Table} class, and is roughly implemented after
8080
* https://github.com/frictionlessdata/tableschema-py/blob/master/tableschema/table.py
8181
*
82-
* @param cast true: convert CSV cells to Java objects other than String
8382
* @param keyed true: return table rows as key/value maps
8483
* @param extended true: return table rows in an extended form
84+
* @param cast true: convert CSV cells to Java objects other than String
8585
* @param relations true: follow relations
8686
* @return A list of table rows.
8787
* @throws Exception if parsing the data fails
8888
*
8989
*/
90-
List<Object> getData(boolean cast, boolean keyed, boolean extended, boolean relations) throws Exception;
90+
List<Object> getData(boolean keyed, boolean extended, boolean cast, boolean relations) throws Exception;
9191

9292
/**
9393
* Read all data from a Resource. This can be used for smaller datapackages, but for huge or unknown

0 commit comments

Comments
 (0)