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

STORM-3472: Add tests missing for STORM-3411, make the download file name generat… #3091

Merged
merged 2 commits into from
Jul 26, 2019

Conversation

srdo
Copy link
Contributor

@srdo srdo commented Jul 21, 2019

…ion code less error prone

@srdo srdo changed the title Add tests missing for STORM-3411, make the download file name generat… STORM-3472: Add tests missing for STORM-3411, make the download file name generat… Jul 22, 2019
Copy link
Contributor

@RuiLi8080 RuiLi8080 left a comment

Choose a reason for hiding this comment

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

Looks good to me.
+1

@Ethanlm
Copy link
Contributor

Ethanlm commented Jul 25, 2019

Sorry for the late reply. I will take a look when I get a chance.

Copy link
Contributor

@Ethanlm Ethanlm left a comment

Choose a reason for hiding this comment

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

Overall looks good to me. Only have one minor comment

} catch (NullPointerException e) {
fname = file.getName();
}
public static Response buildDownloadFile(String host, String contentDispositionName,
Copy link
Contributor

Choose a reason for hiding this comment

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

The String host parameter can be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good catch, fixed

Copy link
Contributor

@Ethanlm Ethanlm left a comment

Choose a reason for hiding this comment

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

+1

@srdo srdo merged commit a694d87 into apache:master Jul 26, 2019
bipinprasad pushed a commit to bipinprasad/storm that referenced this pull request Oct 17, 2019
…name generat… (apache#3091)

* STORM-3472: Add tests missing for STORM-3411, make the download file name generation code less error prone
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