Skip to content

Commit

Permalink
[WFCORE-6666] Remove deprecated methods on DomainTestSupport
Browse files Browse the repository at this point in the history
  • Loading branch information
yersan committed Jan 19, 2024
1 parent be5e4d0 commit bef5046
Showing 1 changed file with 1 addition and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@ public class DomainTestSupport implements AutoCloseable {

public static final String primaryAddress = System.getProperty("jboss.test.host.primary.address", "127.0.0.1");
public static final String secondaryAddress = System.getProperty("jboss.test.host.secondary.address", "127.0.0.1");
/** @deprecated unused */
@Deprecated()
public static final long domainBootTimeout = Long.valueOf(System.getProperty("jboss.test.domain.boot.timeout", "60000"));
/** @deprecated unused */
@Deprecated
public static final long domainShutdownTimeout = Long.valueOf(System.getProperty("jboss.test.domain.shutdown.timeout", "20000"));

@SuppressWarnings("WeakerAccess")
public static final String primaryJvmHome = System.getProperty("jboss.test.host.primary.jvmhome");
@SuppressWarnings("WeakerAccess")
Expand Down Expand Up @@ -506,17 +501,6 @@ public void close() {
}
}

/**
* Calls {@link #close()}. This object cannot be used for controlling or interacting with hosts after
* this is called.
*
* @deprecated Use {@link #close()}
*/
@Deprecated
public void stop() {
close();
}

/**
* Stops the {@link #getDomainPrimaryLifecycleUtil() primary host} and, if there is one, the
* {@link #getDomainSecondaryLifecycleUtil() secondary host}. Stops are done concurrently with 2 minute
Expand Down

0 comments on commit bef5046

Please sign in to comment.