forked from jasder/antlr
More cleanup; use save Collection comparison, fix Javadoc
This commit is contained in:
parent
5f5a8949f6
commit
00347217ed
|
@ -50,11 +50,12 @@ class GrammarDependencies {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets the package to use.
|
* Determines the package to use.
|
||||||
*
|
*
|
||||||
* @param arguments the tool arguments.
|
* @param arguments the tool arguments.
|
||||||
*
|
*
|
||||||
* @return self-reference.
|
* @return the package. Returns {@code null} to indicate that no package should be
|
||||||
|
* used.
|
||||||
*/
|
*/
|
||||||
private String getPackage(List<String> arguments) {
|
private String getPackage(List<String> arguments) {
|
||||||
int index = (arguments != null) ? arguments.indexOf("-package") : -1;
|
int index = (arguments != null) ? arguments.indexOf("-package") : -1;
|
||||||
|
|
Loading…
Reference in New Issue