Commits

Kevin A. Archie  committed 9bf4c32

Statement.getOperations() can act on Iterable, not just List

  • Participants
  • Parent commits 258a6ef

Comments (0)

Files changed (2)

   <groupId>org.nrg</groupId>
   <artifactId>DicomEdit</artifactId>
   <packaging>jar</packaging>
-  <version>2.0.0b1</version>
+  <version>2.0.0b2</version>
   <name>DicomEdit</name>
   <description>Implementation of a language for modifying DICOM metadata</description>
   <url>http://nrg.wustl.edu</url>

File src/main/java/org/nrg/dcm/edit/Statement.java

         return ops;
     }
 
-    public static List<Operation> getOperations(final List<Statement> s, final File f)
+    public static List<Operation> getOperations(final Iterable<Statement> s, final File f)
     throws IOException,ScriptEvaluationException {
         return getOperations(s, f, null);
     }