String t = (String) mExtToType.get(ext.toLowerCase());
String t = mExtToType.get(ext.toLowerCase());
    public static String getContentTypeByExtension(String ext) {        try {            String t = (String) mExtToType.get(ext.toLowerCase());            if (t != null)                return t;            MimeTypeInfo mt = Provisioning.getInstance()                    .getMimeTypeByExtension(ext);            t = (mt == null ? CATCH_ALL_TYPE : mt.getType());            mExtToType.put(ext.toLowerCase(), t);            return t;        } catch (ServiceException e) {            ZimbraLog.index.error("Cannot get mime type for extension " + ext);            return CATCH_ALL_TYPE;        }    }