-
Notifications
You must be signed in to change notification settings - Fork 0
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
Using generic instead of object and rename #1
base: crypto_final
Are you sure you want to change the base?
Conversation
Gradle Check (Jenkins) Run Completed with:
|
Gradle Check (Jenkins) Run Completed with:
|
@@ -14,7 +14,7 @@ | |||
* the Apache License, Version 2.0 (the "License"); you may | |||
* not use this file except in compliance with the License. | |||
* You may obtain a copy of the License at | |||
* | |||
*Ø |
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: Remove unintended change.
throw new IllegalArgumentException("Unknown crypto metadata object received"); | ||
} | ||
return (EncryptionMetadata) cryptoContext; | ||
private EncryptionMetadata validateEncryptionMetadata(EncryptionMetadata cryptoContext) { |
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.
We can remove this method now.
@@ -45,6 +45,7 @@ | |||
import java.util.Map; | |||
|
|||
@SuppressWarnings({ "rawtypes" }) | |||
// Move this to EncryptionHandler |
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.
I don't think we should. If we move it there then we won't have a single encapsulation for encryption metadata. We will have to define new metadata schema and creation of this metadata will add redundant code to create metadata.
Signed-off-by: Gaurav Bafna <gbbafna@amazon.com>
Gradle Check (Jenkins) Run Completed with:
|
Description
[Describe what this change achieves]
Issues Resolved
[List any issues this PR will resolve]
Check List
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.