lcsim/src/org/lcsim/conditions
diff -u -r1.1 -r1.2
--- DetectorLocator.java 18 Jul 2005 18:06:47 -0000 1.1
+++ DetectorLocator.java 8 Feb 2006 00:50:21 -0000 1.2
@@ -72,7 +72,7 @@
return findDetector(detName, 0, ConditionsManager.defaultInstance() );
}
- List<String> getDetectorNameList()
+ public static List<String> getDetectorNameList()
{
File file;
FileCache cache;
@@ -103,7 +103,7 @@
/**
* SIDEEFFECT: ConditionsManager will have conditions for last detector found.
*/
- private void cacheDetectors(List<String> names)
+ private static void cacheDetectors(List<String> names)
{
for ( String n : names )
{
@@ -119,8 +119,8 @@
}
}
- public void cacheDetectors()
+ public static void cacheDetectors()
{
- cacheDetectors( this.getDetectorNameList() );
+ cacheDetectors( getDetectorNameList() );
}
}
\ No newline at end of file