-
Notifications
You must be signed in to change notification settings - Fork 870
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
Fixed a bug in ArchiveExtractor that caused it to fail on case-insens… #843
Conversation
Thanks! Looks like this patch is needed by more people (#813) but the tests fail on Travis... could you see if you can figure out the reason why, and make them pass somehow? |
@eirslett I'll try to find some time soon to figure out what's going on. |
…itive file systems.
84a282c
to
5a5eb07
Compare
It was an |
return false; | ||
} | ||
|
||
boolean retVal = true; |
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.
Why is this stuff going on? Isn't it easier with destPath.toLowerCase().startsWith(destDir.toLowerCase())
?
* @return | ||
*/ | ||
private boolean startsWithPath(String destPath, String destDir) { | ||
if (destDir.startsWith(destDir)) { |
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.
Won't this check always be true? Is it supposed to be destPath
?
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.
That was a typo on my part.
...ugin-core/src/main/java/com/github/eirslett/maven/plugins/frontend/lib/ArchiveExtractor.java
Show resolved
Hide resolved
ok, thank you! |
There we go, 1.9.0 is released, merry christmas! 🎅 ❄️ 🎄 |
…itive file systems.
Summary
Tests and Documentation