Commit cd7fcdde authored by Kristof Szabados's avatar Kristof Szabados

no point of declaring that variable there.

Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 3c0866a6
......@@ -41,12 +41,11 @@ public final class ExtensionAttributeAnalyzer {
}
public void parse(final AttributeSpecification specification) {
ExtensionAttributeLexer lexer;
Location location = specification.getLocation();
StringReader reader = new StringReader(specification.getSpecification());
CharStream charStream = new UnbufferedCharStream(reader);
lexer = new ExtensionAttributeLexer(charStream);
ExtensionAttributeLexer lexer = new ExtensionAttributeLexer(charStream);
lexer.setTokenFactory(new CommonTokenFactory(true));
TitanListener lexerListener = new TitanListener();
lexer.removeErrorListeners();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment