Skip to content
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

Merged
merged 5 commits into from
Feb 21, 2025

Conversation

ahmarsuhail
Copy link
Collaborator

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?

  • I have updated the CHANGELOG or README if appropriate

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).

@@ -185,8 +185,6 @@ public CompletableFuture<ObjectContent> getObject(
referrerHeader = getRequest.getReferrer().toString();
}

LOG.info("auditHeaders {}", referrerHeader);
Copy link
Contributor

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 @@
*/
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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
Copy link
Contributor

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?

@ahmarsuhail ahmarsuhail merged commit e3e7b36 into awslabs:main Feb 21, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants