Skip to content

Commit

Permalink
update ph-javacc-maven-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
zavr-1 committed Mar 15, 2020
1 parent df8210f commit 219d1cd
Show file tree
Hide file tree
Showing 4 changed files with 951 additions and 978 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Expand Up @@ -111,7 +111,7 @@
<plugin>
<groupId>com.helger.maven</groupId>
<artifactId>ph-javacc-maven-plugin</artifactId>
<version>2.8.0</version>
<version>4.1.3</version>
<executions>
<execution>
<id>jjc1</id>
Expand Down
17 changes: 5 additions & 12 deletions src/com/google/common/css/compiler/ast/StringCharStream.java
Expand Up @@ -135,14 +135,12 @@ public char readChar() throws IOException {

/** {@inheritDoc} */
@Deprecated
@Override
public int getColumn() {
return getEndColumn();
}

/** {@inheritDoc} */
@Deprecated
@Override
public int getLine() {
return getEndLine();
}
Expand Down Expand Up @@ -183,8 +181,7 @@ public void backup(int amount) {
}

/** {@inheritDoc} */
@Override
public char BeginToken() throws IOException {
public char beginToken() throws IOException {
readChar();
tokenStart = charPos;
beginLine = line;
Expand All @@ -193,14 +190,12 @@ public char BeginToken() throws IOException {
}

/** {@inheritDoc} */
@Override
public String GetImage() {
public String getImage() {
return input.substring(tokenStart, charPos + 1);
}

/** {@inheritDoc} */
@Override
public char[] GetSuffix(int len) {
public char[] getSuffix(int len) {
int end = charPos + 1;
int start = end - len;
char[] chars = new char[end - start];
Expand All @@ -209,8 +204,7 @@ public char[] GetSuffix(int len) {
}

/** {@inheritDoc} */
@Override
public void Done() {
public void done() {
// Does nothing since no resources need to be freed.
}

Expand All @@ -224,8 +218,7 @@ public int getTabSize() {
return tabSize;
}

@Override
public boolean getTrackLineColumn() {
public boolean isTrackLineColumn() {
return trackLineColumn;
}

Expand Down

0 comments on commit 219d1cd

Please sign in to comment.