Skip to content

Commit

Permalink
Fix links and tests broken during merge
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrannen committed Mar 1, 2022
1 parent 466dd82 commit 66e9095
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 267 deletions.
Expand Up @@ -461,7 +461,7 @@ public Set<Member> getExternallyManagedConfigMembers() {
/**
* Register an externally managed configuration initialization method &mdash;
* for example, a method annotated with JSR-250's
* {@link javax.annotation.PostConstruct} annotation.
* {@link jakarta.annotation.PostConstruct} annotation.
* <p>The supplied {@code initMethod} may be the
* {@linkplain Method#getName() simple method name} for non-private methods or the
* {@linkplain org.springframework.util.ClassUtils#getQualifiedMethodName(Method)
Expand Down Expand Up @@ -538,7 +538,7 @@ public Set<String> getExternallyManagedInitMethods() {
/**
* Register an externally managed configuration destruction method &mdash;
* for example, a method annotated with JSR-250's
* {@link javax.annotation.PreDestroy} annotation.
* {@link jakarta.annotation.PreDestroy} annotation.
* <p>The supplied {@code destroyMethod} may be the
* {@linkplain Method#getName() simple method name} for non-private methods or the
* {@linkplain org.springframework.util.ClassUtils#getQualifiedMethodName(Method)
Expand Down
Expand Up @@ -19,9 +19,8 @@
import java.util.ArrayList;
import java.util.List;

import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;

import jakarta.annotation.PostConstruct;
import jakarta.annotation.PreDestroy;
import org.junit.jupiter.api.Test;

import org.springframework.beans.factory.DisposableBean;
Expand All @@ -41,8 +40,8 @@
* <li>{@link InitializingBean} &amp; {@link DisposableBean} interfaces</li>
* <li>Custom {@link RootBeanDefinition#getInitMethodName() init} &amp;
* {@link RootBeanDefinition#getDestroyMethodName() destroy} methods</li>
* <li>JSR 250's {@link javax.annotation.PostConstruct @PostConstruct} &amp;
* {@link javax.annotation.PreDestroy @PreDestroy} annotations</li>
* <li>JSR 250's {@link jakarta.annotation.PostConstruct @PostConstruct} &amp;
* {@link jakarta.annotation.PreDestroy @PreDestroy} annotations</li>
* </ul>
*
* @author Sam Brannen
Expand Down Expand Up @@ -173,7 +172,6 @@ public void destroy() throws Exception {
}
}


static class CustomInitDestroyBean {

final List<String> initMethods = new ArrayList<>();
Expand Down

This file was deleted.

0 comments on commit 66e9095

Please sign in to comment.