You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "CJ Aspromgos (JIRA)" <ji...@apache.org> on 2011/06/17 19:58:47 UTC
[jira] [Created] (IO-275)
org.apache.commons.io.FileUtils.contentEquals -
org.apache.commons.io.FileUtils.contentEquals -
------------------------------------------------
Key: IO-275
URL: https://issues.apache.org/jira/browse/IO-275
Project: Commons IO
Issue Type: New Feature
Reporter: CJ Aspromgos
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "Henri Yandell (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13147920#comment-13147920 ]
Henri Yandell commented on IO-275:
----------------------------------
Seems interesting - patches welcome from anyone :)
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "Sebb (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb resolved IO-275.
---------------------
Resolution: Fixed
Assignee: (was: Sebb)
Fixed; adapted the existing contentEquals method to create new contentEqualsIgnoreEOL methods
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "CJ Aspromgos (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
CJ Aspromgos updated IO-275:
----------------------------
Component/s: Utilities
Description: FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
Summary: org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings" (was: org.apache.commons.io.FileUtils.contentEquals - )
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "Gary D. Gregory (Closed) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary D. Gregory closed IO-275.
------------------------------
Version 2.2 has been released and addresses this issue.
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
> Fix For: 2.2
>
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "Sebb (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sebb updated IO-275:
--------------------
Fix Version/s: 2.2
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
> Fix For: 2.2
>
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "Sebb (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13148215#comment-13148215 ]
Sebb commented on IO-275:
-------------------------
It would be useful to include a version of IOUtils.contentEquals as well, which could operate on Reader parameters.
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
> Assignee: Sebb
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (IO-275)
org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line
endings"
Posted by "CJ Aspromgos (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/IO-275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13228735#comment-13228735 ]
CJ Aspromgos commented on IO-275:
---------------------------------
Excellent. I'll have to try out the new version. :-)
> org.apache.commons.io.FileUtils.contentEquals - Add option to ignore "line endings"
> -----------------------------------------------------------------------------------
>
> Key: IO-275
> URL: https://issues.apache.org/jira/browse/IO-275
> Project: Commons IO
> Issue Type: New Feature
> Components: Utilities
> Reporter: CJ Aspromgos
> Fix For: 2.2
>
>
> FileUtils has a nice member function to compare two files. It would be nice if the client had the option to ignore line endings. This way files (specifically text files) generated on different platforms (eg windows, unix) would match.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira