URL url = getClass().getResource("log4j.properties"); if (url != null) {  url.getClass(); }
    public void onApplicationEvent(ApplicationEvent event) {        if (event instanceof ContextRefreshedEvent) {            ContextRefreshedEvent cre = (ContextRefreshedEvent) event;            m_beanFactory = cre.getApplicationContext();            m_aliasOwners = null;            // For debugging purposes, print out the location of the file log4j.properties            // on the classpath, if it is there. No particular reason for this code to be            // here, but it needed to go somewhere.            // Comment out the println call by default so checkstyle won't complain about the use            // of System.out.            URL url = getClass().getResource("log4j.properties");            if (url != null) {//                System.out.println("Found log4j.properties: " + url);                url.getClass();     // noop line of code to keep checkstyle from complaining about empty "if"            }        }    }