Skip to content

Commit

Permalink
Explicitly override methods inherited from Base*, for javadoc purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
Maia Everett committed May 17, 2017
1 parent 94397f8 commit f3e3181
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/java/org/lucidfox/jpromises/core/PromiseHandler.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@
* @param <V> the value type
*/
public interface PromiseHandler<V> extends BasePromiseHandler<V, Promise<V>, Resolver<V>> {
@Override
void handle(Resolver<V> resolve) throws Exception;
}
11 changes: 11 additions & 0 deletions src/main/java/org/lucidfox/jpromises/core/Resolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,15 @@
* @param <V> the value type
*/
public interface Resolver<V> extends BaseResolver<V, Promise<V>> {
@Override
void resolve(V value);

@Override
void deferResolve(Thenable<? extends V> thenable);

@Override
void reject(Throwable exception);

@Override
Promise<V> getPromise();
}
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,6 @@
* @param <V> the value type
*/
public interface JsPromiseHandler<V> extends BasePromiseHandler<V, JsPromise<V>, JsResolver<V>> {
@Override
void handle(JsResolver<V> resolve) throws Exception;
}
12 changes: 12 additions & 0 deletions src/main/java/org/lucidfox/jpromises/gwt/JsResolver.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
package org.lucidfox.jpromises.gwt;

import org.lucidfox.jpromises.core.BaseResolver;
import org.lucidfox.jpromises.core.Thenable;

/**
* <p>
Expand All @@ -35,4 +36,15 @@
* @param <V> the value type
*/
public interface JsResolver<V> extends BaseResolver<V, JsPromise<V>> {
@Override
void resolve(V value);

@Override
void deferResolve(Thenable<? extends V> thenable);

@Override
void reject(Throwable exception);

@Override
JsPromise<V> getPromise();
}

0 comments on commit f3e3181

Please sign in to comment.