You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Pascal Fares (Jira)" <ji...@apache.org> on 2020/02/03 10:35:00 UTC
[jira] [Created] (NETBEANS-3788) Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte
Pascal Fares created NETBEANS-3788:
--------------------------------------
Summary: Erreur supposé dans l'éditeur, mais la compilation et le code sont correcte
Key: NETBEANS-3788
URL: https://issues.apache.org/jira/browse/NETBEANS-3788
Project: NetBeans
Issue Type: Bug
Components: editor - Lexer, editor - Parsing & Indexing
Affects Versions: 11.2
Environment: Window 10 1903
openjdk version "13.0.1" 2019-10-15
Reporter: Pascal Fares
Fix For: 11.2
Attachments: Annotation 2020-02-03 123039.png
Ceci est parfaitement correcte etr compile normalement, mais l'editeur netbeans indique une erreur "incompatible type"
version java openjdk version "13.0.1" 2019-10-15
String _afficheLigne(List<String> ligne) {
return ligne.stream().reduce("", (acc, s) -> String.format("%s\t%s",acc,s));
}
String _afficheLignes2(List<List<String>> lignes) {
return lignes.stream().map((ls) -> _afficheLignes(ls)).reduce((acc,s) ->String.format("%s\n%s",acc,s));
}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists