Skip to content

Commit 21acd32

Browse files
authored
Fix issues #6 and #7 (#8)
* Fixed issues #6 and #7, fixed javadoc error in pom.xml. * Fixed javadoc error in pom.xml, second try.
1 parent 0a41e3e commit 21acd32

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
limitations under the License.
1616
*/
1717

18-
package org.teragrep;
18+
package com.teragrep;
1919

2020
import java.util.*;
2121
import java.util.regex.PatternSyntaxException;
@@ -172,7 +172,7 @@ public static class ByValue extends RegexStruct implements Structure.ByValue {}
172172
Map<String, Integer> name_table;
173173
Map<Integer, String> match_table;
174174

175-
JavaPcre(){
175+
public JavaPcre(){
176176
compile_options = new LibJavaPcre.OptionsStruct(); // initializes pcre2_compile options with default values of PCRE2 library.
177177
match_options = new LibJavaPcre.MatchOptionsStruct(); // initializes pcre2_match options with default values of PCRE2 library.
178178
extra_options = new LibJavaPcre.ExtraOptionsStruct(); // initializes pcre2_compile extra options with default values of PCRE2 library.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package org.teragrep;
1+
package com.teragrep;
22

33
import org.slf4j.Logger;
44
import org.slf4j.LoggerFactory;

src/main/java/org/teragrep/MatchException.java renamed to src/main/java/com/teragrep/MatchException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
limitations under the License.
1616
*/
1717

18-
package org.teragrep;
18+
package com.teragrep;
1919

2020
public class MatchException extends RuntimeException {
2121
public MatchException(String message, Throwable cause){

src/test/java/org/teragrep/JavaPcreTest.java renamed to src/test/java/com/teragrep/JavaPcreTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
package org.teragrep;
1+
package com.teragrep;
22

33
import com.sun.jna.Pointer;
44
import com.sun.jna.ptr.PointerByReference;
55
import org.junit.jupiter.api.Test;
66
import org.junit.jupiter.api.Assertions;
77

88
import java.util.Map;
9-
import java.util.regex.PatternSyntaxException;
109

1110
import org.slf4j.Logger;
1211
import org.slf4j.LoggerFactory;

0 commit comments

Comments
 (0)