← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 21047: Removed unused file. Javadocs.

 

------------------------------------------------------------
revno: 21047
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2015-11-13 14:32:18 +0100
message:
  Removed unused file. Javadocs.
removed:
  dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/reportConfiguration.js
modified:
  dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/cache/HibernateCacheManager.java
  dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/dialect/DhisH2Dialect.java


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/cache/HibernateCacheManager.java'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/cache/HibernateCacheManager.java	2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/cache/HibernateCacheManager.java	2015-11-13 13:32:18 +0000
@@ -1,7 +1,5 @@
 package org.hisp.dhis.cache;
 
-import org.hibernate.stat.Statistics;
-
 /*
  * Copyright (c) 2004-2015, University of Oslo
  * All rights reserved.
@@ -30,16 +28,32 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+import org.hibernate.stat.Statistics;
+
 /**
  * @author Lars Helge Overland
  */
 public interface HibernateCacheManager
 {
+    /**
+     * Evicts all entities and collections from the cache.
+     */
     void clearObjectCache();
-    
+
+    /**
+     * Evicts all queries from the cache.
+     */
     void clearQueryCache();
     
+    /**
+     * Evicts all entities, collections and queries from the cache.
+     */
     void clearCache();
     
+    /**
+     * Gets the statistics.
+     * 
+     * @return the statistics.
+     */
     Statistics getStatistics();
 }

=== modified file 'dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/dialect/DhisH2Dialect.java'
--- dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/dialect/DhisH2Dialect.java	2015-01-17 07:41:26 +0000
+++ dhis-2/dhis-support/dhis-support-hibernate/src/main/java/org/hisp/dhis/hibernate/dialect/DhisH2Dialect.java	2015-11-13 13:32:18 +0000
@@ -30,6 +30,9 @@
 
 import org.hibernate.dialect.H2Dialect;
 
+/**
+ * @author Lars Helge Overland
+ */
 public class DhisH2Dialect
     extends H2Dialect
 {

=== removed file 'dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/reportConfiguration.js'
--- dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/reportConfiguration.js	2011-06-23 14:38:00 +0000
+++ dhis-2/dhis-web/dhis-web-reporting/src/main/webapp/dhis-web-reporting/javascript/reportConfiguration.js	1970-01-01 00:00:00 +0000
@@ -1,21 +0,0 @@
-function homeChanged()
-{
-    var homeField = document.getElementById( "home" );
-    var directoryField = document.getElementById( "directory" );
-
-    var homeValue = homeField.value;
-
-    var index = homeValue.lastIndexOf( "/" );
-
-    if ( index == -1 )
-    {
-        index = homeValue.lastIndexOf( "\\" );
-    }
-
-    if ( index != -1 )
-    {
-        var defaultDirectory = homeValue.substring( index + 1 );
-
-        directoryField.value = defaultDirectory;
-    }
-}