Skip to content

BAEL-973 Apache Commons Commons IO#2262

Merged
KevinGilmore merged 8 commits intoeugenp:masterfrom
charithdesilva:cdesilva/BAEL-973
Sep 7, 2017
Merged

BAEL-973 Apache Commons Commons IO#2262
KevinGilmore merged 8 commits intoeugenp:masterfrom
charithdesilva:cdesilva/BAEL-973

Conversation

@charithdesilva
Copy link
Copy Markdown
Contributor

@kevin - Changes were made as per your request. Thanks.

Copy link
Copy Markdown
Contributor

@KevinGilmore KevinGilmore left a comment

Choose a reason for hiding this comment

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

Use the standard formatter to correct the indentation.


public class FileMonitor {

public static void main(String[] args) throws Exception {
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.

Need to use spaces (not tabs) for indentation. There's a standard formatter for Eclipse that you can import -- see the "eclipse" folder of the tutorials repo.

@charithdesilva
Copy link
Copy Markdown
Contributor Author

I'll check this tonight. Thanks 👍

@charithdesilva
Copy link
Copy Markdown
Contributor Author

@KevinGilmore formatted using formatter.xml. Thanks

Copy link
Copy Markdown
Contributor

@KevinGilmore KevinGilmore left a comment

Choose a reason for hiding this comment

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

Couple of changes needed in the unit test file -- see the file for comments. Also the module does not build -- this is the second PR I have come across today with the same issue, so it seems that maybe someone committed an old version of the pom. Will investigate.

}

@Test
public void whenUsingFileNameUtils_showdifferentFileOperations()
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.

missing the "then" part of the test name

}

@Test
public void whenGetFilewithNameFileFilter_then_FindfileTesttxt()
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.

Don't need underscore after the word "then"

@KevinGilmore KevinGilmore merged commit efbac53 into eugenp:master Sep 7, 2017
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.

2 participants