This is an automated email from the ASF dual-hosted git repository.

vanzin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-livy.git


The following commit(s) were added to refs/heads/master by this push:
     new d5b27dd  [DOCS] Fix Javadoc 8 errors.
d5b27dd is described below

commit d5b27dd430e8f5d4e149125eb433fd61e3e24c00
Author: Marcelo Vanzin <van...@cloudera.com>
AuthorDate: Mon Apr 1 13:22:31 2019 -0700

    [DOCS] Fix Javadoc 8 errors.
    
    Seems like javadoc 8 doesn't like when you reference nested classes
    from parent types.
    
    Author: Marcelo Vanzin <van...@cloudera.com>
    
    Closes #164 from vanzin/javadoc-fix.
---
 .../main/java/org/apache/livy/client/common/AbstractJobHandle.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/client-common/src/main/java/org/apache/livy/client/common/AbstractJobHandle.java
 
b/client-common/src/main/java/org/apache/livy/client/common/AbstractJobHandle.java
index 72a8fb2..ffefaf7 100644
--- 
a/client-common/src/main/java/org/apache/livy/client/common/AbstractJobHandle.java
+++ 
b/client-common/src/main/java/org/apache/livy/client/common/AbstractJobHandle.java
@@ -36,12 +36,12 @@ public abstract class AbstractJobHandle<T> implements 
JobHandle<T> {
   }
 
   @Override
-  public State getState() {
+  public JobHandle.State getState() {
     return state;
   }
 
   @Override
-  public void addListener(Listener<T> l) {
+  public void addListener(JobHandle.Listener<T> l) {
     synchronized (listeners) {
       listeners.add(l);
       fireStateChange(state, l);
@@ -60,7 +60,7 @@ public abstract class AbstractJobHandle<T> implements 
JobHandle<T> {
    * @param newState The new state to change to.
    * @return Whether the state changed.
    */
-  public boolean changeState(State newState) {
+  public boolean changeState(JobHandle.State newState) {
     synchronized (listeners) {
       if (newState.ordinal() > state.ordinal() && state.ordinal() < 
State.CANCELLED.ordinal()) {
         state = newState;

Reply via email to