Skip to content

Commit

Permalink
specify fail behavior (returns null) in javadoc
Browse files Browse the repository at this point in the history
Added @return to javadoc including a statement about behavior when failing.

Signed-off-by: Egon Willighagen <egonw@users.sourceforge.net>
  • Loading branch information
jonalv authored and egonw committed Jun 19, 2010
1 parent c94ebcf commit bfd06db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/org/openscience/cdk/io/FormatFactory.java
Expand Up @@ -139,6 +139,8 @@ public List<IChemFormatMatcher> getFormats(){
*
* @throws IOException if an I/O error occurs
* @throws IllegalArgumentException if the input is null
* @return The guessed <code>IChemFormat</code> or <code>null</code> if the
* file format is not recognized.
*
* @see #guessFormat(InputStream)
*/
Expand Down

0 comments on commit bfd06db

Please sign in to comment.