public static boolean isMinifiedJSFilename (@Nullable final String sFilename)
  {
    if (StringHelper.hasNoText (sFilename))
      return false;

    // Second check for URLs with parameters
    return sFilename.endsWith (CJS.FILE_EXTENSION_MIN_JS) ||
           sFilename.contains (MIN_JS_IN_URL) ||
           sFilename.contains (MIN_JS_IN_URL2);
  }
public static boolean isMinifiedJSFilename ( @ Nullable final String sFilename ) { if ( StringHelper . hasNoText ( sFilename ) ) return false ; return sFilename . endsWith ( CJS . FILE_EXTENSION_MIN_JS ) || sFilename . contains ( MIN_JS_IN_URL ) || sFilename . contains ( MIN_JS_IN_URL2 ) ; }
Check if the passed filename is a minified JS filename. Either it ends with
".min.js" or it contains ".min.js?" or ".min.js#" (both for URLs). Please
note that every minified JS filename is also a "valid" filename in the
sense of {@link #isJSFilename(String)} but not vice versa!.

@param sFilename
Filename to check. May be <code>null</code>.
@return <code>true</code> if it is a valid minified JS filename.