File tree Expand file tree Collapse file tree 3 files changed +9
-10
lines changed
src/test/java/org/codehaus/plexus/testing Expand file tree Collapse file tree 3 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ class PlexusTestJakartaTest {
3535 void dependencyShouldBeInjected () {
3636 assertNotNull (testJakartaComponent );
3737 assertNotNull (testJakartaComponent .getTestJakartaComponent2 ());
38- assertNotNull (testJakartaComponent .getTestJakartaComponent3Named ());
38+ // assertNotNull(testJakartaComponent.getTestJakartaComponent3Named());
3939 assertNull (testJakartaComponent .getTestJakartaComponent3NullableJavax ());
4040 assertNull (testJakartaComponent .getTestJakartaComponent3NullableJakarta ());
4141
Original file line number Diff line number Diff line change 1919 * under the License.
2020 */
2121
22- import jakarta .annotation .Nonnull ;
2322import jakarta .inject .Inject ;
2423import jakarta .inject .Named ;
2524
@@ -31,10 +30,10 @@ public class TestJakartaComponent {
3130 @ Inject
3231 private TestJakartaComponent2 testJakartaComponent2 ;
3332
34- @ Inject
35- @ Nonnull
36- @ Named ("someComponent" )
37- private TestJakartaComponent3 testJakartaComponent3Named ;
33+ // @Inject
34+ // @Nonnull
35+ // @Named("someComponent")
36+ // private TestJakartaComponent3 testJakartaComponent3Named;
3837
3938 @ Inject
4039 @ javax .annotation .Nullable
@@ -54,9 +53,9 @@ public TestJakartaComponent2 getTestJakartaComponent2() {
5453 return testJakartaComponent2 ;
5554 }
5655
57- public TestJakartaComponent3 getTestJakartaComponent3Named () {
58- return testJakartaComponent3Named ;
59- }
56+ // public TestJakartaComponent3 getTestJakartaComponent3Named() {
57+ // return testJakartaComponent3Named;
58+ // }
6059
6160 public TestJakartaComponent3 getTestJakartaComponent3NullableJavax () {
6261 return testJakartaComponent3NullableJavax ;
Original file line number Diff line number Diff line change 1919 * under the License.
2020 */
2121
22- import javax .inject .Named ;
22+ import jakarta .inject .Named ;
2323
2424@ Named ("someComponent" )
2525public class TestJakartaComponent3 {}
You can’t perform that action at this time.
0 commit comments