Skip to content

Commit

Permalink
Mark deprecated methods for removal
Browse files Browse the repository at this point in the history
  • Loading branch information
laeubi committed Dec 31, 2024
1 parent 91eebf3 commit eddcbc6
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ public interface StateObjectFactory {
* @return the created state
* @deprecated use {@link #createState(boolean) }
*/
@Deprecated(forRemoval = true, since = "2025-03")
public State createState();

/**
Expand Down Expand Up @@ -99,6 +100,7 @@ public interface StateObjectFactory {
* @deprecated use
* {@link #createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])}
*/
@Deprecated(forRemoval = true, since = "2025-03")
public BundleDescription createBundleDescription(long id, String symbolicName, Version version, String location,
BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports,
ExportPackageDescription[] exports, String[] providedPackages, boolean singleton);
Expand Down Expand Up @@ -138,6 +140,7 @@ public BundleDescription createBundleDescription(long id, String symbolicName, V
* @deprecated use
* {@link #createBundleDescription(long, String, Version, String, BundleSpecification[], HostSpecification, ImportPackageSpecification[], ExportPackageDescription[], boolean, boolean, boolean, String, String[], GenericSpecification[], GenericDescription[])}
*/
@Deprecated(forRemoval = true, since = "2025-03")
public BundleDescription createBundleDescription(long id, String symbolicName, Version version, String location,
BundleSpecification[] required, HostSpecification host, ImportPackageSpecification[] imports,
ExportPackageDescription[] exports, String[] providedPackages, boolean singleton, boolean attachFragments,
Expand Down Expand Up @@ -551,6 +554,7 @@ public NativeCodeDescription createNativeCodeDescription(String[] nativePaths, S
* @deprecated use {@link #writeState(State, File)} instead
* @since 3.1
*/
@Deprecated(forRemoval = true, since = "2025-03")
public void writeState(State state, OutputStream stream) throws IOException;

/**
Expand All @@ -565,6 +569,7 @@ public NativeCodeDescription createNativeCodeDescription(String[] nativePaths, S
* @deprecated use {@link #writeState(State, File)} instead
* @see #writeState(State, OutputStream)
*/
@Deprecated(forRemoval = true, since = "2025-03")
public void writeState(State state, DataOutputStream stream) throws IOException;

/**
Expand All @@ -589,6 +594,7 @@ public NativeCodeDescription createNativeCodeDescription(String[] nativePaths, S
* @deprecated use {@link #readState(File)} instead
* @since 3.1
*/
@Deprecated(forRemoval = true, since = "2025-03")
public State readState(InputStream stream) throws IOException;

/**
Expand All @@ -601,6 +607,7 @@ public NativeCodeDescription createNativeCodeDescription(String[] nativePaths, S
* @deprecated use {@link #readState(File)} instead
* @see #readState(InputStream)
*/
@Deprecated(forRemoval = true, since = "2025-03")
public State readState(DataInputStream stream) throws IOException;

/**
Expand Down

0 comments on commit eddcbc6

Please sign in to comment.