Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > de.comp.lang.java > #13205
| From | Patrick Roemer <sangamon@netcologne.de> |
|---|---|
| Newsgroups | de.comp.lang.java |
| Subject | Re: Wirklich UR-anomaly? |
| Date | 2018-08-29 11:59 +0200 |
| Organization | news.netcologne.de |
| Message-ID | <pm5qpd$ak0$1@newsreader4.netcologne.de> (permalink) |
| References | <fum1h6Fs2igU1@mid.individual.net> |
Responding to Christian H. Kuhn:
> PMD meckert bei dem folgenden code snippet eine UR-Anomalie für die
> Variable neighbour über die ersten 6 Zeilen an:
>
> List<QDijkstraNode<E>> getNeighbours() {
> final List<QDijkstraNode<E>> returnList = new LinkedList<>();
> final List<QDijkstraElement<E>> neighbours =
> element.getNeighbours();
> for (final QDijkstraElement<E> neighbour : neighbours) {
> returnList.add(createNeighbour(neighbour));
> }
> return returnList;
> }
http://lmgtfy.com/?q=pmd+ur+anomaly+loop ...? ;)
Viele Grüße
Patrick
Back to de.comp.lang.java | Previous | Next — Previous in thread | Next in thread | Find similar
Wirklich UR-anomaly? "Christian H. Kuhn" <qno-news@qno.de> - 2018-08-29 00:43 +0200
Re: Wirklich UR-anomaly? Patrick Roemer <sangamon@netcologne.de> - 2018-08-29 11:59 +0200
Re: Wirklich UR-anomaly? "Christian H. Kuhn" <qno-news@qno.de> - 2018-08-29 19:18 +0200
csiph-web