← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 22154: Removed unused method

 

------------------------------------------------------------
revno: 22154
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2016-03-07 15:33:33 +0100
message:
  Removed unused method
modified:
  dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/SystemUtils.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-system/src/main/java/org/hisp/dhis/system/util/SystemUtils.java'
--- dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/SystemUtils.java	2016-01-04 02:27:49 +0000
+++ dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/SystemUtils.java	2016-03-07 14:33:33 +0000
@@ -35,20 +35,6 @@
 {
     private static final int FACTOR_MB = 1024 * 1024;
 
-    public static boolean isRunningForUse()
-    {
-        try
-        {
-            Class.forName( "org.hisp.dhis.DhisSpringTest" );
-        }
-        catch ( ClassNotFoundException e )
-        {
-            return true;
-        }
-
-        return false;
-    }
-
     /**
      * Gets the number of CPU cores available to this JVM.
      * @return the number of available CPU cores.