BAEL-282 - Grep in Java after code review (#903)

* BAEL-242 Package refactoring after code review for article Grep in Java

* BAEL-282 Updated readme file
This commit is contained in:
Muhammed Almas 2016-12-18 16:04:15 +05:30 committed by Eugen
parent 38eef2d1c0
commit 64b7412a9a
4 changed files with 11 additions and 5 deletions

View File

@ -13,4 +13,6 @@
*.ear
# Files generated by integration tests
*.txt
*.txt
/bin/
/temp

View File

@ -43,3 +43,4 @@
- [A Guide To Java Regular Expressions API](http://www.baeldung.com/regular-expressions-java)
- [Sorting in Java](http://www.baeldung.com/java-sorting)
- [Getting Started with Java Properties](http://www.baeldung.com/java-properties)
- [Grep in Java](http://www.baeldung.com/pattern-search-grep-in-java)

View File

@ -55,13 +55,13 @@
<dependency>
<groupId>org.unix4j</groupId>
<artifactId>unix4j-command</artifactId>
<version>0.4</version>
<version>${unix4j.version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.grep4j</groupId>
<artifactId>grep4j</artifactId>
<version>1.8.7</version>
<version>${grep4j.version}</version>
</dependency>
<!-- web -->
@ -100,7 +100,7 @@
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.16.12</version>
<version>${lombok.version}</version>
<scope>provided</scope>
</dependency>
@ -359,6 +359,9 @@
<commons-io.version>2.5</commons-io.version>
<commons-collections4.version>4.1</commons-collections4.version>
<collections-generic.version>4.01</collections-generic.version>
<unix4j.version>0.4</unix4j.version>
<grep4j.version>1.8.7</grep4j.version>
<lombok.version>1.16.12</lombok.version>
<!-- testing -->
<org.hamcrest.version>1.3</org.hamcrest.version>

View File

@ -1,4 +1,4 @@
package com.baeldung.java8.unix.grep;
package com.baeldung.grep;
import java.io.File;
import java.util.List;