Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/LineLocationToSourceSectionCollectionMap.java @ 18163:c88ab4f1f04a
re-enabled Checkstyle with the release of 6.0 that supports Java 8; fixed existing Checkstyle warnings
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 24 Oct 2014 16:18:10 +0200 |
parents | a1427e40deaf |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/LineLocationToSourceSectionCollectionMap.java Thu Oct 23 17:20:10 2014 +0200 +++ b/graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/LineLocationToSourceSectionCollectionMap.java Fri Oct 24 16:18:10 2014 +0200 @@ -121,8 +121,9 @@ final ArrayList<SourceSection> sourceSections = new ArrayList<>(); for (LineLocation line : keySet) { - if (line.getLineNumber() == lineNumber) + if (line.getLineNumber() == lineNumber) { sourceSections.addAll(lineToSourceSectionsMap.get(line)); + } } return sourceSections;