@Nullable
  public static File getCanonicalFileOrNull (@Nullable final File aFile)
  {
    if (aFile != null)
      try
      {
        return aFile.getCanonicalFile ();
      }
      catch (final IOException ex)
      {
        // fall through
      }
    return null;
  }
@ Nullable public static File getCanonicalFileOrNull ( @ Nullable final File aFile ) { if ( aFile != null ) try { return aFile . getCanonicalFile ( ) ; } catch ( final IOException ex ) { } return null ; }
Get the canonical file of the passed file, if the file is not
<code>null</code>. In case of an {@link IOException}, <code>null</code> is
returned.

@param aFile
The file to get the canonical path from. May be <code>null</code>.
@return <code>null</code> if the passed file is <code>null</code> or an
exception occurred.