summaryrefslogtreecommitdiffstats
path: root/vespa-http-client
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2017-05-29 12:16:28 +0200
committerArne H Juul <arnej@yahoo-inc.com>2017-05-29 12:16:28 +0200
commitc14c7c135197f29aed8c194e2a6022891cba8e0e (patch)
treea0aa69093b9393d8eeda39bd9820e35b84deaa0e /vespa-http-client
parenteafee523715af6137523fb084977c8d51fafe51d (diff)
convenience method is convenient
Diffstat (limited to 'vespa-http-client')
-rw-r--r--vespa-http-client/src/main/java/com/yahoo/vespa/http/client/Result.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/Result.java b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/Result.java
index addb762e10e..4a306b1e5de 100644
--- a/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/Result.java
+++ b/vespa-http-client/src/main/java/com/yahoo/vespa/http/client/Result.java
@@ -143,12 +143,10 @@ public class Result {
}
/**
- * @deprecated use getResultType.
- * Returns true if the operation was successful.
+ * Check if operation was successful.
*
* @return true if the operation was successful.
*/
- @Deprecated
public boolean isSuccess() {
return resultType == ResultType.OPERATION_EXECUTED;
}