[
https://issues.apache.org/jira/browse/FINERACT-2775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18106659#comment-18106659
]
Dhroov Sankla commented on FINERACT-2775:
-----------------------------------------
Closing this issue as it is a local environment/workspace configuration issue
on Windows where files were checked out with CRLF line delimiters instead of
the required UNIX LF line delimiters. The files in the upstream repository are
already correctly formatted with LF delimiters.
> Fix Checkstyle CRLF EOL delimiter violations in Notification.java and
> Message.java
> ----------------------------------------------------------------------------------
>
> Key: FINERACT-2775
> URL: https://issues.apache.org/jira/browse/FINERACT-2775
> Project: Apache Fineract
> Issue Type: Task
> Components: Build, System
> Reporter: Dhroov Sankla
> Priority: Minor
>
> The Gradle Checkstyle task `{*}checkstyleMain{*}` fails when checking files
> in the `{*}gcm{*}` package due to incorrect line delimiters. The project
> configuration enforces UNIX line endings (LF), but the following files are
> currently formatted with Windows line endings (CRLF):
> 1.
> `fineract-provider/src/main/java/org/apache/fineract/infrastructure/gcm/domain/{*}Message.java{*}`
> 2.
> `fineract-provider/src/main/java/org/apache/fineract/infrastructure/gcm/domain/{*}Notification.java{*}`
> {*}Error snippet{*}:
> [ant:checkstyle] [ERROR] ...\Message.java:1: File has Windows (CR+LF) instead
> of UNIX (LF) end of line (EOL) delimiters. [RegexpMultiline]
> [ant:checkstyle] [ERROR] ...\Notification.java:1: File has Windows (CR+LF)
> instead of UNIX (LF) end of line (EOL) delimiters. [RegexpMultiline]
> This should be fixed by converting the EOL delimiters of these files to
> {*}UNIX format (LF){*}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)