Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
Fix for issue #4652: Add Find Unlinked Files Filter based on Date #7846
Fix for issue #4652: Add Find Unlinked Files Filter based on Date #7846
Changes from 60 commits
afd9ba6
3d5c737
318e79d
59d5bfd
aed71d4
be11dab
3b9d286
3f7aa41
cb303c5
04962f0
c6625bf
ec54bc3
c099ce0
e6e15d5
1e9ec13
639aa8e
291d645
ba7116e
87c0111
7cc1c50
4b3038e
7a53d2e
18b6df6
757a8a7
22aef66
f49a0ae
07d5174
6791053
02017c3
7fcfff6
91235b4
e191344
076f1db
1e6cca7
66db608
0998abd
fde0180
7d83221
87d6b9f
aad00fc
998d52d
6a02336
425c258
482212d
234943a
4f812a9
e949db9
7295535
9b001f6
ccd8e92
c2c7ae6
bd9dbf7
1a58342
08f0f19
4db03ee
3825ee9
7762cb9
6e721c5
a495c16
a6f91c0
5136b1f
0b459a6
226010b
1e2f8c4
3334398
4ae48a1
4a00080
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
IntelliJ complains here, that toInstant may throw a NPE. This seems possible, since you don't return when a IOException occurs. Is that something we should think about?
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.
Thanks @calixtus , so maybe we need to place the code in a try catch-block to handle the NPE or in the same try catch block so when an IO Exception occurs the toInstant() method call is omited.
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.
Well, there must be a value returned from this method... Which one, if getLastModifiedTime fails?
Today? null?
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.
Yes, sorry you are right, we will return LocalDateTime.now() when an IOException occurs