diff --git a/rest-assured/src/main/java/io/restassured/config/LogConfig.java b/rest-assured/src/main/java/io/restassured/config/LogConfig.java
index 3be805f0d..8d45c1441 100644
--- a/rest-assured/src/main/java/io/restassured/config/LogConfig.java
+++ b/rest-assured/src/main/java/io/restassured/config/LogConfig.java
@@ -145,7 +145,7 @@ public LogDetail logDetailOfRequestAndResponseIfValidationFails() {
}
/**
- * Specify a whether or not to enable pretty printing by default.
+ * Specify whether or not to enable pretty printing by default.
*
* @param shouldEnable true
if pretty-printing should be enabled, false
otherwise.
* @return A new LogConfig instance
diff --git a/rest-assured/src/main/java/io/restassured/filter/FilterContext.java b/rest-assured/src/main/java/io/restassured/filter/FilterContext.java
index 5003512e4..55aa4c202 100644
--- a/rest-assured/src/main/java/io/restassured/filter/FilterContext.java
+++ b/rest-assured/src/main/java/io/restassured/filter/FilterContext.java
@@ -27,7 +27,7 @@
public interface FilterContext {
/**
- * Add a value that may be used be subsequent filters.
+ * Add a value that may be used by subsequent filters.
*
* @param name The name of the value
* @param value The value itself
diff --git a/rest-assured/src/main/java/io/restassured/specification/AuthenticationSpecification.java b/rest-assured/src/main/java/io/restassured/specification/AuthenticationSpecification.java
index 48b4c9260..70bc13e1a 100644
--- a/rest-assured/src/main/java/io/restassured/specification/AuthenticationSpecification.java
+++ b/rest-assured/src/main/java/io/restassured/specification/AuthenticationSpecification.java
@@ -99,7 +99,7 @@ public interface AuthenticationSpecification {
RequestSpecification certificate(String certURL, String password, CertificateAuthSettings certificateAuthSettings);
/**
- * OAuth2 sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the the OAuth header
+ * OAuth2 sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the OAuth header
* (so currently it's the same as preemptive oauth2 authentication. The reason why it's located here is to be backward compatible).
* This assumes you've already generated an accessToken for the site you're targeting. The access token will be put in a header.
*
@@ -109,7 +109,7 @@ public interface AuthenticationSpecification {
RequestSpecification oauth2(String accessToken);
/**
- * OAuth2 sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the the OAuth header.
+ * OAuth2 sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the OAuth header.
* This assumes you've already generated an accessToken for the site you're targeting.
*
* @param accessToken The access token
@@ -120,7 +120,7 @@ public interface AuthenticationSpecification {
/**
* Excerpt from the HttpBuilder docs:
- * OAuth sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the the OAuth header.
+ * OAuth sign the request. Note that this currently does not wait for a WWW-Authenticate challenge before sending the OAuth header.
* All requests to all domains will be signed for this instance.
* This assumes you've already generated an accessToken and secretToken for the site you're targeting.
* For more information on how to achieve this, see the Scribe documentation.
* given(). * csrf("/users"). - * formParm("firstName", "John") - * formParm("lastName", "Doe") + * formParm("firstName", "John"). + * formParm("lastName", "Doe"). * when(). * post("/users"). * then(). diff --git a/rest-assured/src/main/java/io/restassured/specification/ResponseSpecification.java b/rest-assured/src/main/java/io/restassured/specification/ResponseSpecification.java index 58e43dec2..6c41566e7 100644 --- a/rest-assured/src/main/java/io/restassured/specification/ResponseSpecification.java +++ b/rest-assured/src/main/java/io/restassured/specification/ResponseSpecification.java @@ -542,7 +542,7 @@ default ResponseSpecification root(String rootPath) { * body("w.something2", is(..)). ** - * This is the same as calling
rootPath("")
but less verbose and the it communicates intent better.
+ * This is the same as calling rootPath("")
but less verbose and it communicates intent better.
*
* @see #rootPath(String)
*/
@@ -658,7 +658,7 @@ default ResponseSpecification appendRoot(String pathToAppend) {
* body("lastName", is(..)).
*
*
- * you can use a append root and do:
+ * you can use a detach root and do:
* * when(). * get(..);