Skip to content

Commit d098886

Browse files
Bump com.diffplug.spotless:spotless-plugin-gradle from 6.17.0 to 6.18.0 (#2992)
1 parent ab0b1e7 commit d098886

File tree

4 files changed

+13
-5
lines changed

4 files changed

+13
-5
lines changed

agent/agent-gc-monitor/gc-monitor-core/src/main/java/com/microsoft/gcmonitor/JmxMemoryManagement.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,12 @@ private static Set<MemoryPool> initPools(
122122

123123
interface CollectorFactory<T, V> {
124124
V apply(T t)
125-
throws UnableToMonitorMemoryException, AttributeNotFoundException, MBeanException,
126-
ReflectionException, InstanceNotFoundException, IOException;
125+
throws UnableToMonitorMemoryException,
126+
AttributeNotFoundException,
127+
MBeanException,
128+
ReflectionException,
129+
InstanceNotFoundException,
130+
IOException;
127131
}
128132

129133
private static <V> Set<V> getEntityFromMbeanServer(

agent/agent-gc-monitor/gc-monitor-tests/src/test/java/com/microsoft/gcmonitortests/GcProcessRunner.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,9 @@ public GcProcessRunner(String gcArg, int heapSizeInMb) {
4242

4343
/** Run the GcEventGenerator process and collect gc events. */
4444
public List<GcCollectionEvent> getGcCollectionEvents()
45-
throws IOException, UnableToMonitorMemoryException, InterruptedException,
45+
throws IOException,
46+
UnableToMonitorMemoryException,
47+
InterruptedException,
4648
GcNotPresentException {
4749
int port = getRandomPort();
4850
Process process = startGcProcess(port, gcArg, heapSizeInMb);

agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/perfcounter/JmxDataFetcher.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ public static Map<String, Collection<Object>> fetch(
6868

6969
private static List<Object> fetch(
7070
MBeanServer server, Set<ObjectName> objects, String attributeName)
71-
throws AttributeNotFoundException, MBeanException, ReflectionException,
71+
throws AttributeNotFoundException,
72+
MBeanException,
73+
ReflectionException,
7274
InstanceNotFoundException {
7375
ArrayList<Object> result = new ArrayList<>();
7476

buildSrc/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ dependencies {
2727
implementation(gradleApi())
2828

2929
// When updating, update above in plugins too
30-
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.17.0")
30+
implementation("com.diffplug.spotless:spotless-plugin-gradle:6.18.0")
3131
implementation("com.github.spotbugs.snom:spotbugs-gradle-plugin:5.0.14")
3232
implementation("gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0")
3333
implementation("com.gradle.enterprise:com.gradle.enterprise.gradle.plugin:3.12.6")

0 commit comments

Comments
 (0)