Skip to content

Commit ef4d13d

Browse files
authored
#14: Fixed Javadoc warnings and reproducible build issues (#16)
1 parent 98f3542 commit ef4d13d

File tree

4 files changed

+25
-15
lines changed

4 files changed

+25
-15
lines changed

doc/changes/changes_1.0.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ A Java library to read Parquet files that we extracted into its own repository.
1717
* #6: Fixed dependency vulnerability and broken links.
1818
* #11: Updated Scala library to `2.12.14` version.
1919

20+
## Bug
21+
22+
* #14: Fixed Javadoc warnings and reordered plugins.
23+
2024
## Dependency Updates
2125

2226
### Compile Dependency Updates

pom.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -377,20 +377,6 @@
377377
<reportShowOrigin>true</reportShowOrigin>
378378
</configuration>
379379
</plugin>
380-
<plugin>
381-
<groupId>io.github.zlika</groupId>
382-
<artifactId>reproducible-build-maven-plugin</artifactId>
383-
<version>0.13</version>
384-
<executions>
385-
<execution>
386-
<id>strip-jar</id>
387-
<phase>package</phase>
388-
<goals>
389-
<goal>strip-jar</goal>
390-
</goals>
391-
</execution>
392-
</executions>
393-
</plugin>
394380
<plugin>
395381
<groupId>org.apache.maven.plugins</groupId>
396382
<artifactId>maven-failsafe-plugin</artifactId>
@@ -494,9 +480,23 @@
494480
<serialwarn>true</serialwarn>
495481
<failOnError>true</failOnError>
496482
<failOnWarnings>true</failOnWarnings>
497-
<sourcepath>${project.basedir}/src/main/scala</sourcepath>
483+
<sourcepath>${project.basedir}/src/main/java</sourcepath>
498484
</configuration>
499485
</plugin>
486+
<plugin>
487+
<groupId>io.github.zlika</groupId>
488+
<artifactId>reproducible-build-maven-plugin</artifactId>
489+
<version>0.13</version>
490+
<executions>
491+
<execution>
492+
<id>strip-jar</id>
493+
<phase>package</phase>
494+
<goals>
495+
<goal>strip-jar</goal>
496+
</goals>
497+
</execution>
498+
</executions>
499+
</plugin>
500500
</plugins>
501501
<pluginManagement>
502502
<plugins>

src/main/java/com/exasol/parquetio/data/GenericRow.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public GenericRow(final MessageType schema, final List<Object> values) {
3838
* A factory method to create a new instance.
3939
*
4040
* @param values list of values
41+
* @return an instance of {@link GenericRow}
4142
*/
4243
public static GenericRow of(final Object... values) {
4344
return new GenericRow(Arrays.asList(values));
@@ -48,6 +49,7 @@ public static GenericRow of(final Object... values) {
4849
*
4950
* @param schema schema of a row
5051
* @param values list of values
52+
* @return an instance of {@link GenericRow}
5153
*/
5254
public static GenericRow of(final MessageType schema, final Object... values) {
5355
return new GenericRow(schema, Arrays.asList(values));

src/main/java/com/exasol/parquetio/reader/RowParquetReader.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ private RowParquetReader() {
2323
/**
2424
* Creates a new builder for {@link RowParquetReader}.
2525
*
26+
* @param file input file to read from
2627
* @return new {@link Builder}
2728
*/
2829
public static Builder builder(final InputFile file) {
@@ -35,6 +36,8 @@ public static Builder builder(final InputFile file) {
3536
public static class Builder extends ParquetReader.Builder<Row> {
3637
/**
3738
* A constructor for the builder of {@link RowParquetReader}.
39+
*
40+
* @param file input file to read from
3841
*/
3942
protected Builder(final InputFile file) {
4043
super(file);
@@ -51,6 +54,7 @@ protected ReadSupport<Row> getReadSupport() {
5154
*
5255
* @param file an input file
5356
* @return Parquet file schema
57+
* @throws IOException if it cannot open the file for reading
5458
*/
5559
public static MessageType getSchema(InputFile file) throws IOException {
5660
try (final var reader = ParquetFileReader.open(file)) {

0 commit comments

Comments
 (0)