Skip to content

Commit

Permalink
Improve javadoc for new store method
Browse files Browse the repository at this point in the history
  • Loading branch information
tjwatson committed Feb 5, 2024
1 parent f264415 commit bb14aff
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
package org.eclipse.osgi.container;

import java.io.Closeable;
import java.io.DataInputStream;
import java.io.DataOutputStream;
import java.io.IOException;
import java.security.AccessController;
Expand All @@ -37,6 +38,7 @@
import java.util.concurrent.atomic.AtomicReference;
import java.util.concurrent.locks.ReentrantLock;
import java.util.concurrent.locks.ReentrantReadWriteLock;

import org.eclipse.osgi.container.Module.StartOptions;
import org.eclipse.osgi.container.Module.State;
import org.eclipse.osgi.container.Module.StopOptions;
Expand Down Expand Up @@ -2160,12 +2162,13 @@ String toString(Module m) {
}

/**
* Stores the module into the given stream
* Writes the data for this container in a format suitable for using the
* {@link ModuleDatabase#load(DataInputStream)} method.
*
* @param stream the stream to use
* @param persistWirings controls if wirings should be persisted or not
* @param persistWirings true if wirings should be persisted
* @throws IOException if there is any problem storing to the stream
*
* @see ModuleDatabase#store(DataOutputStream, boolean)
* @since 3.19
*/
public void store(DataOutputStream stream, boolean persistWirings) throws IOException {
Expand Down

0 comments on commit bb14aff

Please sign in to comment.