Workaround to use new version of intellij on Beta #267

Merged
claudio.atzori merged 1 commits from beta_intellij into beta 2022-12-23 10:32:01 +01:00

The Scala compiler plugin on the new IntelliJ version uses JVM 17.
This means that using lines functions, it calls the function implemented on java 11 for string. This causes breaks in the code since the compiler thinks that the pipeline is java and not scala.
This PR updated the lines function to its implementation linesWithSeparators.map(l => l.stripLineEnd) to make things works

The Scala compiler plugin on the new IntelliJ version uses JVM 17. This means that using lines functions, it calls the function implemented on java 11 for string. This causes breaks in the code since the compiler thinks that the pipeline is java and not scala. This PR updated the lines function to its implementation linesWithSeparators.map(l => l.stripLineEnd) to make things works
sandro.labruzzo added 1 commit 2022-12-21 11:28:17 +01:00
claudio.atzori was assigned by sandro.labruzzo 2022-12-21 11:28:27 +01:00

Thanks @sandro.labruzzo I tested also it locally and using IntelliJ IDEA 2022.3.1 (Community Edition) I confirm it works.

Thanks @sandro.labruzzo I tested also it locally and using IntelliJ IDEA 2022.3.1 (Community Edition) I confirm it works.
claudio.atzori merged commit 18a7aa2d78 into beta 2022-12-23 10:32:01 +01:00
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: D-Net/dnet-hadoop#267
No description provided.