-
Notifications
You must be signed in to change notification settings - Fork 78
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
Added catch for unexpected inputs. #1442
Added catch for unexpected inputs. #1442
Conversation
Signed-off-by: AWSHurneyt <hurneyt@amazon.com>
The security tests have been failing for unrelated reasons. Will investigate those test failures separately. |
@@ -36,7 +38,7 @@ static Source readFrom(StreamInput sin) throws IOException { | |||
} | |||
} | |||
|
|||
static Source parse(XContentParser xcp) throws IOException { | |||
public static Source parse(XContentParser xcp) throws IOException { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: This can remain package-private since the test class is in the same package
Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit dca74ce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit dca74ce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit dca74ce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit dca74ce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Signed-off-by: AWSHurneyt <hurneyt@amazon.com> (cherry picked from commit dca74ce) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
(cherry picked from commit dca74ce) Signed-off-by: AWSHurneyt <hurneyt@amazon.com> Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: AWSHurneyt <hurneyt@amazon.com>
Description
Added catch for unexpected inputs.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]
Check List
--signoff
.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.