You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@felix.apache.org by fm...@apache.org on 2013/04/19 22:27:55 UTC

svn commit: r1470022 - /felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java

Author: fmeschbe
Date: Fri Apr 19 20:27:55 2013
New Revision: 1470022

URL: http://svn.apache.org/r1470022
Log:
FELIX-4025 Cleanup InventoryPrinter API

- Order addAttachements argument like InventoryPrinter.print:
    Output channel first, then details on the "request"

Modified:
    felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java

Modified: felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java
URL: http://svn.apache.org/viewvc/felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java?rev=1470022&r1=1470021&r2=1470022&view=diff
==============================================================================
--- felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java (original)
+++ felix/trunk/inventory/src/main/java/org/apache/felix/inventory/ZipAttachmentProvider.java Fri Apr 19 20:27:55 2013
@@ -50,12 +50,12 @@ public interface ZipAttachmentProvider
      * file to the ZIP file {@code zos}.</li>
      * <li>Close the ZipEntry.</li>
      * </ol>
-     *
-     * @param namePrefix Name prefix to use for zip entries. Ends with a slash.
      * @param zos The zip output stream.
+     * @param namePrefix Name prefix to use for zip entries. Ends with a slash.
+     *
      * @throws IOException If an error occurrs writing the ZIP entry. This may
      *             also be caused by reading some file system file to be added
      *             to the ZIP file.
      */
-    void addAttachments(final String namePrefix, final ZipOutputStream zos) throws IOException;
+    void addAttachments(final ZipOutputStream zos, final String namePrefix) throws IOException;
 }