comparison graal/com.oracle.truffle.api/src/com/oracle/truffle/api/instrument/impl/LineLocationToProbeCollectionMap.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 7b2e6171f455
children
comparison
equal deleted inserted replaced
18162:ab62800259ff 18163:c88ab4f1f04a
137 return Collections.emptyList(); 137 return Collections.emptyList();
138 } 138 }
139 139
140 ArrayList<Probe> probes = new ArrayList<>(); 140 ArrayList<Probe> probes = new ArrayList<>();
141 for (LineLocation line : keySet) { 141 for (LineLocation line : keySet) {
142 if (line.getLineNumber() == lineNumber) 142 if (line.getLineNumber() == lineNumber) {
143 probes.addAll(lineToProbesMap.get(line)); 143 probes.addAll(lineToProbesMap.get(line));
144 }
144 } 145 }
145 146
146 return probes; 147 return probes;
147 } 148 }
148 149