Commits

la...@81dbac14-341a-0410-aa85-cbcd92e6f43e  committed 978ed92

comment unused fields to reduce ide warnings

  • Participants
  • Parent commits e7ed698

Comments (0)

Files changed (5)

File src/test/java/com/opensymphony/oscache/base/TestAbstractCacheAdministrator.java

  */
 public abstract class TestAbstractCacheAdministrator extends TestCase {
     // Constants used in the tests
-    private final String CACHE_PATH_PROP = "cache.path";
-    private final String CONTENT = "Content for the abstract cache admin test";
-    private final String ENTRY_KEY = "Test Abstract Admin Key";
+    //private final String CACHE_PATH_PROP = "cache.path";
+    //private final String CONTENT = "Content for the abstract cache admin test";
+    //private final String ENTRY_KEY = "Test Abstract Admin Key";
     private final String INVALID_PROP_NAME = "INVALID_PROP_NAME";
-    private final String TEST_LOG = "test log";
+    //private final String TEST_LOG = "test log";
 
     /**
      * Constructor for the this test class.

File src/test/java/com/opensymphony/oscache/base/TestCache.java

         int cacheCapacity = 100;
 		int maxAddedCacheEntries = cacheCapacity*10;
         String baseCacheKey= "baseKey";
-        String cacheValue ="same_value";
+        //String cacheValue ="same_value";
         
 		admin.setCacheCapacity(cacheCapacity);
     	

File src/test/java/com/opensymphony/oscache/base/events/TestCacheEntryEvent.java

      * Constants required for the test
      */
     private final String KEY = "Test cache entry event key";
-    private final int SCOPE = 3;
+    //private final int SCOPE = 3;
 
     /**
      * Constructor

File src/test/java/com/opensymphony/oscache/util/TestFastCronParser.java

         calendar.setTime(date);
 
         long baseTime = calendar.getTimeInMillis();
-        FastCronParser parser = null;
 
         long time = 0;
 

File src/test/java/com/opensymphony/oscache/web/TestOscacheJsp.java

     private final String FIRST_PAGE = "oscacheTest.jsp?";
     private final String FORCE_CACHE_USE = "forcecacheuse=yes&";
     private final String FORCE_REFRESH = "refresh=true";
-    private final String PAGE_SCOPE = "scope=page&";
-    private final String REQUEST_SCOPE = "scope=request&";
+    //private final String PAGE_SCOPE = "scope=page&";
+    //private final String REQUEST_SCOPE = "scope=request&";
     private final String SECOND_PAGE = "oscacheTestMultipleTagNoKey.jsp?";
     private final String SESSION_SCOPE = "scope=session&";
     private final int CACHE_TAG_EXPIRATION = 2000;
     private void compileJSP(String URL) {
         try {
             // Invoke the JSP
-            WebResponse resp = wc.getResponse(URL);
+            wc.getResponse(URL);
         } catch (Exception ex) {
             ex.printStackTrace();
             fail("Exception raised!!");