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

Bugfix/mft transports #15

Closed
wants to merge 12 commits into from

Conversation

gkiran292
Copy link
Contributor

There were streams that were not closed and redundant use of outputstream.flush()
outputstream.close() does flush internally!


@Override
public Optional<FTPResource> getFTPResource(FTPResourceGetRequest request) throws Exception {
InputStream inputStream = FileBasedResourceBackend.class.getClassLoader().getResourceAsStream("resources.json");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor Suggestion: instead of hard coding the name of resource file use field resourceFile

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done I have changed it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since this branch is taken out of feature/ftp-transport. I have made the changes there as it is related to that I am attaching my commit here
68897a1

Copy link
Contributor

@DImuthuUpe DImuthuUpe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see FTP changes also in the PR

@gkiran292
Copy link
Contributor Author

I can see FTP changes also in the PR

Yes, Dimuthu. I checked out a branch from the feature/FTP-transport. That is why you are able to see those FTP changes too. I will close this PR and raise the PR after FTP is merged. But my question is whether the PR would still show the FTP related file changes after the FTP changes are merged to master. I am sure I need to pull from the feature/FTP-transport again as I have made changes to cater to the FTP-transport PR reviews. If it shows FTP related files even after the PR (#13) is merged, I will close this PR and raise another.

@gkiran292 gkiran292 closed this May 3, 2020
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.

None yet

3 participants