Skip to content

Commit

Permalink
Merge pull request #27 from code77se/void-value2
Browse files Browse the repository at this point in the history
Move VOID value to Value class and step version to 15
  • Loading branch information
code77se authored Nov 21, 2016
2 parents 3dd75c6 + 93f6f6e commit 8442ad9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions jq/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ android {
defaultConfig {
minSdkVersion 3
targetSdkVersion 23
versionCode 14
versionName "1.1.3"
versionCode 15
versionName "1.1.4"
}
buildTypes {
}
Expand Down
5 changes: 0 additions & 5 deletions jq/src/main/java/se/code77/jq/JQ.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@
* static counterparts to most instance methods on {@link Promise}.
*/
public final class JQ {
/**
* Return value for Void callbacks
*/
public static final Future<Void> VOID = null;

private static final ExecutorService DEFAULT_EXECUTOR = Executors.newCachedThreadPool();

/**
Expand Down
5 changes: 5 additions & 0 deletions jq/src/main/java/se/code77/jq/Value.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
* @param <V> Type of the value being wrapped
*/
public final class Value<V> implements Future<V> {
/**
* Return value for Void callbacks
*/
public static final Value<Void> VOID = null;

private final V mValue;

private Value(V value) {
Expand Down

0 comments on commit 8442ad9

Please sign in to comment.