View by Classes

Findings - Overview

info Method ignores exceptional return value (Findbugs)

Further info on the wiki.

This method returns a value that is not checked. The return value should be checked since it can indicate an unusual or unexpected function execution. For example, the File.delete() method returns false if the file could not be successfully deleted (rather than throwing an Exception). If you don't check the result, you won't notice if the method invocation signals unexpected behavior by returning an atypical return value.

6org.jcoderz.commons.connector.file.FsConnectionInterfaceTest
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.del(File) ignores exceptional return value of java.io.File.delete() (test code) [483],
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.testCreateFile() ignores exceptional return value of java.io.File.delete() (test code) [240],
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.testCreateFile() ignores exceptional return value of java.io.File.mkdir() (test code) [241],
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.testRenameFile() ignores exceptional return value of java.io.File.delete() (test code) [104],
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.testRenameToTempFile() ignores exceptional return value of java.io.File.setReadOnly() (test code) [293],
org.jcoderz.commons.connector.file.FsConnectionInterfaceTest.testTempDir() ignores exceptional return value of java.io.File.mkdir() (test code) [429]
5org.jcoderz.commons.util.LazyFileOutputStreamTest
org.jcoderz.commons.util.LazyFileOutputStreamTest.testDifferentFile() ignores exceptional return value of java.io.File.delete() (test code) [179],
org.jcoderz.commons.util.LazyFileOutputStreamTest.testLongerFile() ignores exceptional return value of java.io.File.delete() (test code) [125],
org.jcoderz.commons.util.LazyFileOutputStreamTest.testNewFile() ignores exceptional return value of java.io.File.delete() (test code) [71],
org.jcoderz.commons.util.LazyFileOutputStreamTest.testSameFile() ignores exceptional return value of java.io.File.delete() (test code) [152],
org.jcoderz.commons.util.LazyFileOutputStreamTest.testShorterFile() ignores exceptional return value of java.io.File.delete() (test code) [95]
2org.jcoderz.commons.connector.file.FsConnectionServerTest
org.jcoderz.commons.connector.file.FsConnectionServerTest.testUserProperties() ignores exceptional return value of java.io.File.delete() (test code) [261],
org.jcoderz.commons.connector.file.FsConnectionServerTest.testUserProperties() ignores exceptional return value of java.io.File.mkdirs() (test code) [236]
1org.jcoderz.phoenix.sqlparser.SqlTransformerTest
org.jcoderz.phoenix.sqlparser.SqlTransformerTest.testDirectoryTransformation() ignores exceptional return value of java.io.File.mkdir() (test code) [75]