try { file = repository.declareFile(SYMBOLSC_FILENAME, MAIN_REPOSITORY_DIRECTORY_LOCATION, null, null, container, null);  if (file != null) { LOG.info("Javascript compacted symbols detected."); }  } catch (IllegalArgumentException ex) { } }  if (file == null) {
    protected IRepository initializeRepository(ServletConfig config)            throws IOException {        ServletContext servletContext = config.getServletContext();        if (org.rcfaces.core.internal.Constants.BUILD_ID_URL_SUPPORT) {            if (rcfacesVersion == null) {                throw new FacesException(                        "Can not enable \"Repository version\", rcfaces version is not detected !");            }            this.repositoryVersion = rcfacesVersion;            LOG.info("Repository version '" + rcfacesVersion                    + "' enabled for servlet '" + getServletName() + "'.");        }        AbstractRepository repository = new JavaScriptRepository(                mainRepositoryURI, repositoryVersion);        servletContext.setAttribute(REPOSITORY_PROPERTY, repository);        container = servletContext;        InputStream in = servletContext                .getResourceAsStream(MAIN_REPOSITORY_LOCATION);        if (in == null) {            in = getClass().getClassLoader().getResourceAsStream(                    MAIN_REPOSITORY_LOCATION);            container = getClass().getClassLoader();        }        if (in != null) {            try {                repository.loadRepository(in,                        MAIN_REPOSITORY_DIRECTORY_LOCATION, container);            } finally {                try {                    in.close();                } catch (IOException ex) {                    LOG.error("Can not close '"                            + MAIN_REPOSITORY_DIRECTORY_LOCATION + "'.", ex);                }            }        }        canSkipSpace = false;        String s_canSkipSpace = config                .getInitParameter(CAN_SKIP_SPACES_PARAMETER);        if (s_canSkipSpace != null) {            if ("true".equalsIgnoreCase(s_canSkipSpace)) {                canSkipSpace = true;            }            LOG.debug("Set CAN_SKIP_SPACES property to " + canSkipSpace + ".");        }        IFile file = null;        try {            file = repository.declareFile(SYMBOLS_FILENAME,                    MAIN_REPOSITORY_DIRECTORY_LOCATION, null, null, container,                    null);            if (file != null) {                LOG.info("Javascript symbols detected.");            }        } catch (IllegalArgumentException ex) {        }        if (file == null) {            try {                file = repository.declareFile(SYMBOLSC_FILENAME,                        MAIN_REPOSITORY_DIRECTORY_LOCATION, null, null,                        container, null);                if (file != null) {                    LOG.info("Javascript compacted symbols detected.");                }            } catch (IllegalArgumentException ex) {            }        }        if (file == null) {            return repository;        }        enableSymbols = true;        reloadSymbols(repository);        return repository;    }