Skip to content

[FLINK-1891]Add the input storageDirectory empty check#601

Closed
matadorhong wants to merge 2 commits intoapache:masterfrom
matadorhong:Fix_bug_dir_empty_check
Closed

[FLINK-1891]Add the input storageDirectory empty check#601
matadorhong wants to merge 2 commits intoapache:masterfrom
matadorhong:Fix_bug_dir_empty_check

Conversation

@matadorhong
Copy link
Copy Markdown
Contributor

Add the input storageDirectory empty check, if input of storageDirectory is empty, we should use tmp as the base dir
And also fix the code style proble of blank space between every ) and {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can you change storageDirectory.isEmpty() to storageDirectory.trim().isEmpty() to remove all whitespaces before the empty-check?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yeah, you are right. Thank for you notes.I have change it.

@fhueske
Copy link
Copy Markdown
Contributor

fhueske commented Apr 16, 2015

Thanks for the PR.
Looks good to me, except for a possible minor improvement.

@fhueske
Copy link
Copy Markdown
Contributor

fhueske commented Apr 21, 2015

I'm going to merge this PR.

fhueske pushed a commit to fhueske/flink that referenced this pull request Apr 21, 2015
fhueske pushed a commit to fhueske/flink that referenced this pull request Apr 21, 2015
@asfgit asfgit closed this in a0147c4 Apr 22, 2015
thvasilo pushed a commit to thvasilo/flink that referenced this pull request Apr 24, 2015
bhatsachin pushed a commit to bhatsachin/flink that referenced this pull request May 5, 2015
marthavk pushed a commit to marthavk/flink that referenced this pull request Jun 9, 2015
pnowojski pushed a commit to pnowojski/flink that referenced this pull request Mar 8, 2024
Merge branch 'apache-release-1.18' into release-1.18-confluent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants