Thanks Akira Ajisaka for the suggestions.
I'm thinking we should add eol=lf in the following lines to avoid such error
You are right. By default way, I creat a patch in windows, it will print the following warning:
warning: LF will be replaced by CRLF in .../BPServiceActor.java
This should be done in a separate jira.
+1 for this, it will make users avoid these error when they creating patches.
I had make a change *.java text diff=java eof=lf? And then I did the dos2unix command for the output patch file. Hope my latest patch will be successful, .