Don’t delete that line. Which version of Java are you using to compile
> On Jul 14, 2019, at 7:51 AM, Nimbus Lin <jiaxin...@live.com> wrote: > > TO: Genius Cassandra's developers, > > how to solve the 3 compile errors in AbstractRow.java? > > The 3 errors are all because the only 1 line code: > > " sb.append(StreamSupport.stream(complexData.spliterator(), false) > .map(transform != null ? transform : > cell -> "") > .collect(Collectors.joining(", ", > "{", "}")));" > > the 1st compile error is > " > The method map(Function<? super Cell,? extends R>) in the type Stream<Cell> > is not applicable for the arguments (((transform != null) ? transform : (<no > type> cell) -> "")) AbstractRow.java > /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183 Java > Problem > " > The other 2 compile errors are: > Type mismatch: cannot convert from Function<Cell,String> to Function<? super > Cell,? extends R> AbstractRow.java > > Type mismatch: cannot convert from String to R AbstractRow.java > > > The fastest tempory solving method is commenting out the line, but what are > the bad effects ? > > I would very appreciate your help! > > Thank you! > > Sincerely > Nimbuslin(Lin JiaXin) > Mobile: 0086 180 5986 1565 > Mail: jiaxin...@live.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org > For additional commands, e-mail: dev-h...@cassandra.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org For additional commands, e-mail: dev-h...@cassandra.apache.org