logo       

[ checkstyle-Bugs-1758233 ] New line at end of file fails: msg#00252

Subject: [ checkstyle-Bugs-1758233 ] New line at end of file fails
Bugs item #1758233, was opened at 2007-07-21 23:01
Message generated for change (Comment added) made by lkuehne
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=1758233&group_id=29721

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
>Status: Pending
Resolution: None
Priority: 5
Private: No
Submitted By: Achim Westermann (achimwestermann)
Assigned to: Nobody/Anonymous (nobody)
Summary: New line at end of file fails

Initial Comment:
Hi Team, 

for a certain file the Rule "New line at end of file" is not successful even if 
this file has a new line at the end of file. I was not successful in cutting 
down the part of the content that let's this rule fail. So I attach the file. 
Do you know what is wrong with this? 

kind regards, 

Achim


----------------------------------------------------------------------

>Comment By: Lars Kühne (lkuehne)
Date: 2007-07-29 22:32

Message:
Logged In: YES 
user_id=401384
Originator: NO

That file has a new line (byte 0x0a) at it's end. This is only recognized
as a valid new line if you are on a unix system, or if you have configured
the "lineSeparator" property of the check as "lf" (the unix default).
Please check the docs of NewLineAtEndOfFile for details.
Probably you weren't able to cut down the file because you're on windows
and your editor uses crlf line breaks as soon as you save the modified
files.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397078&aid=1758233&group_id=29721

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Checkstyle-devel mailing list
Checkstyle-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/checkstyle-devel
<Prev in Thread] Current Thread [Next in Thread>