Skip to content

GH-65 Fix "Paramters" typo #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 2, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,10 @@

# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
hs_err_pid*

# Maven build
target/

# IDEA internal
*.iml
.idea
Original file line number Diff line number Diff line change
Expand Up @@ -960,11 +960,19 @@ public void setQueryStringParameters(Map<String, String> queryStringParameters)
* @param queryStringParameters The query string parameters that were part of the request
* @return APIGatewayProxyRequestEvent
*/
public APIGatewayProxyRequestEvent withQueryStringParamters(Map<String, String> queryStringParameters) {
public APIGatewayProxyRequestEvent withQueryStringParameters(Map<String, String> queryStringParameters) {
this.setQueryStringParameters(queryStringParameters);
return this;
}

/**
* @deprecated Because of typo in method's name, use {@link #withQueryStringParameters} instead.
*/
@Deprecated
public APIGatewayProxyRequestEvent withQueryStringParamters(Map<String, String> queryStringParameters) {
return withQueryStringParameters(queryStringParameters);
}

/**
* @return The multi value query string parameters that were part of the request
*/
Expand Down Expand Up @@ -1003,14 +1011,22 @@ public void setPathParameters(Map<String, String> pathParameters) {
}

/**
* @param pathParameters The path paramters that were part of the request
* @param pathParameters The path parameters that were part of the request
* @return APIGatewayProxyRequestEvent object
*/
public APIGatewayProxyRequestEvent withPathParamters(Map<String, String> pathParameters) {
public APIGatewayProxyRequestEvent withPathParameters(Map<String, String> pathParameters) {
this.setPathParameters(pathParameters);
return this;
}

/**
* @deprecated Because of typo in method's name, use {@link #withPathParameters} instead.
*/
@Deprecated
public APIGatewayProxyRequestEvent withPathParamters(Map<String, String> pathParameters) {
return withPathParameters(pathParameters);
}

/**
* @return The stage variables defined for the stage in API Gateway
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public void setRuleParameters(String ruleParameters) {
}

/**
* @param ruleParameters String with rule paramters
* @param ruleParameters String with rule parameters
* @return ConfigEvent
*/
public ConfigEvent withRuleParameters(String ruleParameters) {
Expand Down