Skip to content

Commit a8b5ea1

Browse files
committed
Polishing
1 parent 4742aa0 commit a8b5ea1

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spring-context/src/main/java/org/springframework/jmx/export/annotation/ManagedNotifications.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2016 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -25,7 +25,7 @@
2525

2626
/**
2727
* Type-level annotation that indicates JMX notifications emitted by a bean,
28-
* containing multiple {@link ManagedNotification ManagedNotifications}
28+
* containing multiple {@link ManagedNotification ManagedNotifications}.
2929
*
3030
* @author Rob Harrop
3131
* @since 2.0

spring-context/src/test/java/org/springframework/jmx/export/annotation/EnableMBeanExportConfigurationTests.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public void testOnlyTargetClassIsExposed() throws Exception {
8282
}
8383

8484
@Test
85+
@SuppressWarnings("resource")
8586
public void testPackagePrivateExtensionCantBeExposed() {
8687
this.thrown.expect(InvalidMetadataException.class);
8788
this.thrown.expectMessage(PackagePrivateTestBean.class.getName());
@@ -90,6 +91,7 @@ public void testPackagePrivateExtensionCantBeExposed() {
9091
}
9192

9293
@Test
94+
@SuppressWarnings("resource")
9395
public void testPackagePrivateImplementationCantBeExposed() {
9496
this.thrown.expect(InvalidMetadataException.class);
9597
this.thrown.expectMessage(PackagePrivateAnnotationTestBean.class.getName());

0 commit comments

Comments
 (0)