Commit 88af8715 authored by Kristof Szabados's avatar Kristof Szabados

local could be final.

Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 80a64b73
......@@ -438,7 +438,7 @@ public final class ParserLogger {
printIndent( sb.toString(), aLevel );
println();
if ( aRootInterval.getSubIntervals() != null ) {
for ( Interval interval : aRootInterval.getSubIntervals() ) {
for ( final Interval interval : aRootInterval.getSubIntervals() ) {
logInterval( interval, aLevel + 1 );
}
}
......
......@@ -202,7 +202,7 @@ public class CfgParseTreePrinter {
final List<Path> filesToResolve = new ArrayList<Path>( aCfgParseResults.keySet() );
final CfgParseTreePrinter printer = new CfgParseTreePrinter( aSb, aDisallowedNodes,
aCfgParseResults, aDefinitions, aEnvVariables, filesToResolve );
for ( Entry<Path, CfgParseResult> entry : aCfgParseResults.entrySet() ) {
for ( final Entry<Path, CfgParseResult> entry : aCfgParseResults.entrySet() ) {
printer.printResolved( entry.getKey(), entry.getValue().getParseTreeRoot(),
entry.getValue().getTokens(), aResolveMode );
}
......
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