ARROW-4741: [Java] Add missing type javadoc and enable checkstyle#4374
ARROW-4741: [Java] Add missing type javadoc and enable checkstyle#4374emkornfield wants to merge 5 commits intoapache:masterfrom
Conversation
- Also make private constructors to static utility method classes as they were encountered. - Remove redundant public declarions in interfaces.
java/flight/src/main/java/org/apache/arrow/flight/CallOptions.java
Outdated
Show resolved
Hide resolved
java/flight/src/main/java/org/apache/arrow/flight/FlightService.java
Outdated
Show resolved
Hide resolved
| import org.apache.arrow.flight.impl.Flight.PutResult; | ||
|
|
||
| /** | ||
| * A {@link FlightProducer} that throws on all operations. |
There was a problem hiding this comment.
i am not sure why a noop producer throws on all operations :) should we change this (in another jira probably?)
There was a problem hiding this comment.
It could be changed later, but the Javadoc is fine. (It's just meant to provide default implementations - guess no-op is misleading for what it does though.)
java/vector/src/main/java/org/apache/arrow/vector/types/IntervalUnit.java
Outdated
Show resolved
Hide resolved
emkornfield
left a comment
There was a problem hiding this comment.
@praveenbingo thank you for the review I think I addressed all your comments.
java/flight/src/main/java/org/apache/arrow/flight/CallOptions.java
Outdated
Show resolved
Hide resolved
java/flight/src/main/java/org/apache/arrow/flight/FlightService.java
Outdated
Show resolved
Hide resolved
| import org.apache.arrow.flight.impl.Flight.PutResult; | ||
|
|
||
| /** | ||
| * A {@link FlightProducer} that throws on all operations. |
java/vector/src/main/java/org/apache/arrow/vector/types/IntervalUnit.java
Outdated
Show resolved
Hide resolved
|
@emkornfield |
|
@praveenbingo Build is green. |
|
@BryanCutler did you want to take a look before I merge? |
praveenbingo
left a comment
There was a problem hiding this comment.
@emkornfield Thanks a ton for doing this. LGTM.
| package org.apache.arrow.flight; | ||
|
|
||
| /** | ||
| * Unused?. |
There was a problem hiding this comment.
I'm not sure what this is for and I don't see where it is used either, maybe @jacques-n can comment?
BryanCutler
left a comment
There was a problem hiding this comment.
LGTM, thanks for doing this
|
Merged to master |
This change: 1. Enables a check style rule on all public, protected and package visible classes/enums. 2. Adds missing javadocs to make the rule pass 3. Adds some private constructors to static method utility classes (some of these are little bit short, and in some cases especially flight some of the purposes of classes was a littler hard to infer). 4. Cleans up redundant public qualifier on interfaces when found. Author: Micah Kornfield <emkornfield@gmail.com> Closes apache#4374 from emkornfield/class_javadoc and squashes the following commits: 10ff97a <Micah Kornfield> fix last gandiva issue cb3175b <Micah Kornfield> Fix gandiva docs 32a4a18 <Micah Kornfield> address review feedback a64f658 <Micah Kornfield> the rest of the classes 3e3d6d6 <Micah Kornfield> ARROW-4741: Add type javadoc.
This change: