Commits

ltor...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed b3fdfeb

Issue number: CACHE-108 Avoid reporting of unsafe code if class is extended
Submitted by: Lars Torunski

  • Participants
  • Parent commits 30b0e1e
  • Branches v2_1_1

Comments (0)

Files changed (1)

File src/core/java/com/opensymphony/oscache/base/Config.java

         InputStream in = null;
 
         try {
-            in = getClass().getResourceAsStream(PROPERTIES_FILENAME);
+            in = Config.class.getResourceAsStream(PROPERTIES_FILENAME);
             properties.load(in);
             log.info("Properties " + properties);
         } catch (Exception e) {