-
Notifications
You must be signed in to change notification settings - Fork 9
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
Rename OpenFileInformation to OpenStreamInformation #227
Rename OpenFileInformation to OpenStreamInformation #227
Conversation
@@ -185,8 +185,6 @@ public CompletableFuture<ObjectContent> getObject( | |||
referrerHeader = getRequest.getReferrer().toString(); | |||
} | |||
|
|||
LOG.info("auditHeaders {}", referrerHeader); |
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.
Is this logger still needed?
@@ -26,11 +26,11 @@ | |||
*/ |
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: These doc should be updated. It still says Open file information.
* @return the file format of the object | ||
*/ | ||
public ObjectFormat getObjectFormat(S3URI s3URI, OpenFileInformation openFileInformation) { | ||
public ObjectFormat getObjectFormat(S3URI s3URI, OpenStreamInformation openStreamInformation) { | ||
|
||
// If the supplied policy in open file information is Sequential, then use the default input |
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.
still says Open file information
@@ -38,19 +38,19 @@ public ObjectFormatSelector(LogicalIOConfiguration configuration) { | |||
* Uses a regex matcher to select the file format based on the file extension of the key. | |||
* | |||
* @param s3URI the object's S3 URI | |||
* @param openFileInformation known file information for the file | |||
* @param openStreamInformation known file information for the file |
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.
- @param openStreamInformation known file information for the file
should be known stream info?
@@ -103,23 +103,25 @@ public S3SeekableInputStream createStream(@NonNull S3URI s3URI, ObjectMetadata m | |||
* Creates an instance of SeekableStream with file information | |||
* | |||
* @param s3URI the object's S3 URI | |||
* @param openFileInformation known file information this key | |||
* @param openStreamInformation known file information this key |
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.
- @param openStreamInformation known file information for the file
should be stream right?
Description of change
Just a rename!
Relevant issues
Does this contribution introduce any breaking changes to the existing APIs or behaviors?
Does this contribution introduce any new public APIs or behaviors?
How was the contribution tested?
Does this contribution need a changelog entry?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and I agree to the terms of the Developer Certificate of Origin (DCO).