Print

Print


Commit in java/trunk/monitoring-app/src/main/java/org/hps/monitoring on MAIN
SteeringFileUtil.java+3-7255 -> 256
Allow any steering file to be included in list of monitoring application.  Do not filter by path.

java/trunk/monitoring-app/src/main/java/org/hps/monitoring
SteeringFileUtil.java 255 -> 256
--- java/trunk/monitoring-app/src/main/java/org/hps/monitoring/SteeringFileUtil.java	2014-02-25 16:44:47 UTC (rev 255)
+++ java/trunk/monitoring-app/src/main/java/org/hps/monitoring/SteeringFileUtil.java	2014-02-25 21:21:13 UTC (rev 256)
@@ -17,8 +17,6 @@
  */
 public class SteeringFileUtil {
 
-    private static final String path = "org/lcsim/hps/steering/";
-
     /**
      * Get the files that end in .lcsim from all loaded jar files.
      * @return
@@ -36,10 +34,8 @@
             Enumeration<JarEntry> entries = archive.entries();
             while (entries.hasMoreElements()) {
                 JarEntry entry = entries.nextElement();
-                if (entry.getName().startsWith(path)) {
-                    if (entry.getName().endsWith(".lcsim")) {
-                        resources.add(entry.getName());
-                    }
+                if (entry.getName().endsWith(".lcsim")) {
+                    resources.add(entry.getName());
                 }
             }
             archive.close();
@@ -54,4 +50,4 @@
         }
         return arr;
     }
-}
\ No newline at end of file
+}
SVNspam 0.1