[jira] [Updated] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()>0 )

2013-04-16 Thread Sebb (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb updated IO-340: Issue Type: New Feature (was: Bug) > The use of file.exists() is failure prone. Where file.exists() is checked, it > shou

[jira] [Updated] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()>0 )

2012-10-13 Thread Feeling Groovy (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feeling Groovy updated IO-340: -- Comment: was deleted (was: More proof for Murphy's Law.) > The use of file.exists() is failure prone.

[jira] [Updated] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()>0 )

2012-10-13 Thread Feeling Groovy (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feeling Groovy updated IO-340: -- Comment: was deleted (was: The bug is known: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5003595 B

[jira] [Updated] (IO-340) The use of file.exists() is failure prone. Where file.exists() is checked, it should be replaced with the following dual check: exists = ( file.exists() || file.length()>0 )

2012-10-13 Thread Feeling Groovy (JIRA)
[ https://issues.apache.org/jira/browse/IO-340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Feeling Groovy updated IO-340: -- Comment: was deleted (was: Repeats calls to file.exists() does nothingto remedy the false values. From my