Skip to content

Commit 6d8fa13

Browse files
committed
move to com.github.odiszapc.nginxparser namespace
1 parent 46222e2 commit 6d8fa13

27 files changed

+39
-39
lines changed

compile.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@echo off
2-
javacc -OUTPUT_DIRECTORY=src\main\java\me\alexeyplotnik\nginxparser\parser src\main\resources\grammar.jj
2+
javacc -OUTPUT_DIRECTORY=src\main\java\com\github\odiszapc\nginxparser\parser src\main\resources\grammar.jj

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
2121
<modelVersion>4.0.0</modelVersion>
2222

23-
<groupId>me.alexeyplotnik</groupId>
23+
<groupId>com.github</groupId>
2424
<artifactId>nginxparser</artifactId>
2525
<version>0.0.1</version>
2626
<packaging>jar</packaging>

src/main/java/me/alexeyplotnik/nginxparser/NgxAbstractEntry.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxAbstractEntry.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import java.util.ArrayList;
2020
import java.util.Collection;

src/main/java/me/alexeyplotnik/nginxparser/NgxBlock.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxBlock.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import java.util.*;
2020

src/main/java/me/alexeyplotnik/nginxparser/NgxComment.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxComment.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
/**
2020
* Comment. Example:

src/main/java/me/alexeyplotnik/nginxparser/NgxConfig.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

19-
import me.alexeyplotnik.nginxparser.parser.NginxConfigParser;
20-
import me.alexeyplotnik.nginxparser.parser.ParseException;
19+
import com.github.odiszapc.nginxparser.parser.NginxConfigParser;
20+
import com.github.odiszapc.nginxparser.parser.ParseException;
2121

2222
import java.io.FileInputStream;
2323
import java.io.IOException;

src/main/java/me/alexeyplotnik/nginxparser/NgxDumper.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxDumper.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import java.io.OutputStream;
2020
import java.io.PrintWriter;

src/main/java/me/alexeyplotnik/nginxparser/NgxEntry.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxEntry.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919

2020
public interface NgxEntry {

src/main/java/me/alexeyplotnik/nginxparser/NgxEntryType.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxEntryType.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import java.util.HashMap;
2020
import java.util.Map;

src/main/java/me/alexeyplotnik/nginxparser/NgxIfBlock.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxIfBlock.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
public class NgxIfBlock extends NgxBlock {
2020
}

src/main/java/me/alexeyplotnik/nginxparser/NgxParam.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxParam.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
/**
2020
* Describes single line parameter. Examples:

src/main/java/me/alexeyplotnik/nginxparser/NgxToken.java renamed to src/main/java/com/github/odiszapc/nginxparser/NgxToken.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
public class NgxToken {
2020
private String token;

src/main/java/me/alexeyplotnik/nginxparser/parser/NginxConfigParser.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/NginxConfigParser.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* NginxConfigParser.java */
22
/* Generated By:JavaCC: Do not edit this line. NginxConfigParser.java */
3-
package me.alexeyplotnik.nginxparser.parser;
4-
import me.alexeyplotnik.nginxparser.*;
3+
package com.github.odiszapc.nginxparser.parser;
4+
import com.github.odiszapc.nginxparser.*;
55
@SuppressWarnings("ConstantConditions")
66
public class NginxConfigParser implements NginxConfigParserConstants {
77
private boolean isDebug = false;

src/main/java/me/alexeyplotnik/nginxparser/parser/NginxConfigParserConstants.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/NginxConfigParserConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* Generated By:JavaCC: Do not edit this line. NginxConfigParserConstants.java */
2-
package me.alexeyplotnik.nginxparser.parser;
2+
package com.github.odiszapc.nginxparser.parser;
33

44

55
/**

src/main/java/me/alexeyplotnik/nginxparser/parser/NginxConfigParserTokenManager.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/NginxConfigParserTokenManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* NginxConfigParserTokenManager.java */
22
/* Generated By:JavaCC: Do not edit this line. NginxConfigParserTokenManager.java */
3-
package me.alexeyplotnik.nginxparser.parser;
4-
import me.alexeyplotnik.nginxparser.*;
3+
package com.github.odiszapc.nginxparser.parser;
4+
import com.github.odiszapc.nginxparser.*;
55

66
/** Token Manager. */
77
@SuppressWarnings("unused")public class NginxConfigParserTokenManager implements NginxConfigParserConstants {

src/main/java/me/alexeyplotnik/nginxparser/parser/ParseException.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/ParseException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Generated By:JavaCC: Do not edit this line. ParseException.java Version 6.0 */
1818
/* JavaCCOptions:KEEP_LINE_COL=null */
19-
package me.alexeyplotnik.nginxparser.parser;
19+
package com.github.odiszapc.nginxparser.parser;
2020

2121
/**
2222
* This exception is thrown when parse errors are encountered.

src/main/java/me/alexeyplotnik/nginxparser/parser/SimpleCharStream.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/SimpleCharStream.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 6.0 */
1818
/* JavaCCOptions:STATIC=false,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
19-
package me.alexeyplotnik.nginxparser.parser;
19+
package com.github.odiszapc.nginxparser.parser;
2020

2121
/**
2222
* An implementation of interface CharStream, where the stream is assumed to

src/main/java/me/alexeyplotnik/nginxparser/parser/Token.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/Token.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Generated By:JavaCC: Do not edit this line. Token.java Version 6.0 */
1818
/* JavaCCOptions:TOKEN_EXTENDS=,KEEP_LINE_COL=null,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
19-
package me.alexeyplotnik.nginxparser.parser;
19+
package com.github.odiszapc.nginxparser.parser;
2020

2121
/**
2222
* Describes the input token stream.

src/main/java/me/alexeyplotnik/nginxparser/parser/TokenMgrError.java renamed to src/main/java/com/github/odiszapc/nginxparser/parser/TokenMgrError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
/* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 6.0 */
1818
/* JavaCCOptions: */
19-
package me.alexeyplotnik.nginxparser.parser;
19+
package com.github.odiszapc.nginxparser.parser;
2020

2121
/** Token Manager Error. */
2222
public class TokenMgrError extends Error

src/main/resources/grammar.jj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ options
66

77
PARSER_BEGIN(NginxConfigParser)
88

9-
package me.alexeyplotnik.nginxparser.parser;
10-
import me.alexeyplotnik.nginxparser.*;
9+
package com.github.odiszapc.nginxparser.parser;
10+
import com.github.odiszapc.nginxparser.*;
1111
@SuppressWarnings("ConstantConditions")
1212
public class NginxConfigParser
1313
{

src/test/java/me/alexeyplotnik/nginxparser/CommonTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/CommonTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import org.junit.Assert;
2020
import org.junit.Test;
2121

2222
import java.util.Iterator;
2323

24-
import static me.alexeyplotnik.nginxparser.TestUtils.assertBlock;
25-
import static me.alexeyplotnik.nginxparser.TestUtils.assertComment;
26-
import static me.alexeyplotnik.nginxparser.TestUtils.assertParam;
24+
import static com.github.odiszapc.nginxparser.TestUtils.assertBlock;
25+
import static com.github.odiszapc.nginxparser.TestUtils.assertComment;
26+
import static com.github.odiszapc.nginxparser.TestUtils.assertParam;
2727

2828
public class CommonTest {
2929

src/test/java/me/alexeyplotnik/nginxparser/ComplexTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/ComplexTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package me.alexeyplotnik.nginxparser;
1+
package com.github.odiszapc.nginxparser;
22

33
import org.junit.Ignore;
44
import org.junit.Test;

src/test/java/me/alexeyplotnik/nginxparser/DumperTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/DumperTest.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import org.junit.Assert;
2020
import org.junit.Test;

src/test/java/me/alexeyplotnik/nginxparser/LuaTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/LuaTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
package me.alexeyplotnik.nginxparser;
1+
package com.github.odiszapc.nginxparser;
22

33
import org.junit.Test;
44

5-
import static me.alexeyplotnik.nginxparser.TestUtils.assertParam;
5+
import static com.github.odiszapc.nginxparser.TestUtils.assertParam;
66

77
public class LuaTest {
88
@Test

src/test/java/me/alexeyplotnik/nginxparser/NestedTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/NestedTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
* limitations under the License.
1515
*/
1616

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import org.junit.Assert;
2020
import org.junit.Test;
2121

2222
import java.util.Iterator;
2323
import java.util.List;
2424

25-
import static me.alexeyplotnik.nginxparser.TestUtils.assertBlock;
26-
import static me.alexeyplotnik.nginxparser.TestUtils.assertParam;
25+
import static com.github.odiszapc.nginxparser.TestUtils.assertBlock;
26+
import static com.github.odiszapc.nginxparser.TestUtils.assertParam;
2727

2828
public class NestedTest {
2929

src/test/java/me/alexeyplotnik/nginxparser/TestUtils.java renamed to src/test/java/com/github/odiszapc/nginxparser/TestUtils.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import org.junit.Assert;
2020

src/test/java/me/alexeyplotnik/nginxparser/TricksTest.java renamed to src/test/java/com/github/odiszapc/nginxparser/TricksTest.java

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

17-
package me.alexeyplotnik.nginxparser;
17+
package com.github.odiszapc.nginxparser;
1818

1919
import org.junit.Ignore;
2020
import org.junit.Test;
2121

22-
import static me.alexeyplotnik.nginxparser.TestUtils.parse;
22+
import static com.github.odiszapc.nginxparser.TestUtils.parse;
2323

2424
public class TricksTest {
2525

0 commit comments

Comments
 (0)