-
Notifications
You must be signed in to change notification settings - Fork 23
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
[MSHARED-685] assert some things #16
Conversation
See https://builds.apache.org/job/maven-box/job/maven-shared-utils/job/i848/3/ Changes:
5 tests failed. Error Message: Stack Trace: FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk11 / Build windows-jdk11 / checkSymlinkBehaviour Error Message: Stack Trace: FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk8 / Build windows-jdk8 / checkSymlinkBehaviour Error Message: Stack Trace: FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk7 / Build windows-jdk7 / checkSymlinkBehaviour Error Message: Stack Trace: FAILED: org.apache.maven.shared.utils.io.DirectoryScannerTest.windows-jdk13 / Build windows-jdk13 / checkSymlinkBehaviour Error Message: Stack Trace: |
@@ -50,7 +50,10 @@ private void createTestData() | |||
{ | |||
File rootDir = tempFolder.getRoot(); | |||
File folder1 = new File( rootDir, "folder1" ); | |||
folder1.mkdirs(); | |||
if (!folder1.mkdirs()) |
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.
spaces please
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.
done
@@ -60,7 +63,10 @@ private void createTestData() | |||
FileTestHelper.generateTestFile( new File( folder1, "file5.dat" ), 15 ); | |||
|
|||
File folder2 = new File( folder1, "ignorefolder" ); | |||
folder2.mkdirs(); | |||
if (!folder2.mkdirs()) |
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.
same here
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.
done
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.
Please squash and merge.
@michael-o also fixes a couple of FindBugs warnings