Dhroov Sankla created FINERACT-2775:
---------------------------------------

             Summary: 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


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)

Reply via email to