Skip to content

Commit 8684207

Browse files
dependabot[bot]github-actions[bot]xiang17
authored
Bump errorProneVersion from 2.49.0 to 2.50.0 (#4751)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sean Li <xili9@microsoft.com>
1 parent b2965a1 commit 8684207

9 files changed

Lines changed: 9 additions & 8 deletions

File tree

‎agent/agent-gc-monitor/gc-monitor-api/gradle.lockfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# To regenerate this file, run: ./gradlew :agent:agent-gc-monitor:gc-monitor-api:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.7=runtimeClasspath
66
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath
7-
com.google.errorprone:error_prone_annotations:2.49.0=runtimeClasspath
7+
com.google.errorprone:error_prone_annotations:2.50.0=runtimeClasspath
88
io.netty:netty-bom:4.2.16.Final=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.28.1-alpha=runtimeClasspath
1010
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.28.1=runtimeClasspath

‎agent/agent-gc-monitor/gc-monitor-core/gradle.lockfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# To regenerate this file, run: ./gradlew :agent:agent-gc-monitor:gc-monitor-core:dependencies --write-locks
55
com.azure:azure-sdk-bom:1.3.7=runtimeClasspath
66
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath
7-
com.google.errorprone:error_prone_annotations:2.49.0=runtimeClasspath
7+
com.google.errorprone:error_prone_annotations:2.50.0=runtimeClasspath
88
io.netty:netty-bom:4.2.16.Final=runtimeClasspath
99
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom-alpha:2.28.1-alpha=runtimeClasspath
1010
io.opentelemetry.instrumentation:opentelemetry-instrumentation-bom:2.28.1=runtimeClasspath

‎agent/agent-profiler/agent-diagnostics/src/main/java/com/microsoft/applicationinsights/diagnostics/collection/jvm/ProcessData.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ProcessData implements ProcessInfo, JsonSerializable<ProcessData> {
3939

4040
private static final Comparator<ProcessInfo> COMPARATOR =
4141
Comparator.nullsFirst(
42-
Comparator.comparing(ProcessInfo::getName).thenComparing(ProcessInfo::getPid));
42+
Comparator.comparing(ProcessInfo::getName).thenComparingInt(ProcessInfo::getPid));
4343

4444
static {
4545
String spaceOrNull = " " + (char) 0;

‎agent/agent-tooling/gradle.lockfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.22.0=runtimeClasspath
2323
com.fasterxml.jackson:jackson-bom:2.22.0=runtimeClasspath
2424
com.github.oshi:oshi-common:7.4.2=runtimeClasspath
2525
com.github.oshi:oshi-core:7.4.2=runtimeClasspath
26-
com.google.errorprone:error_prone_annotations:2.49.0=runtimeClasspath
26+
com.google.errorprone:error_prone_annotations:2.50.0=runtimeClasspath
2727
com.microsoft.azure:msal4j-persistence-extension:1.3.0=runtimeClasspath
2828
com.microsoft.azure:msal4j:1.23.1=runtimeClasspath
2929
commons-codec:commons-codec:1.22.0=runtimeClasspath

‎agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration/Configuration.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ public static class ProcessorIncludeExclude {
926926
public List<String> metricNames = new ArrayList<>();
927927
public List<ProcessorAttribute> attributes = new ArrayList<>();
928928

929-
public void validate(ProcessorType processorType, IncludeExclude includeExclude) {
929+
private void validate(ProcessorType processorType, IncludeExclude includeExclude) {
930930
if (matchType == null) {
931931
throw new FriendlyException(
932932
processorType.anX

‎agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/configuration/ConfigurationBuilder.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ static String getJsonEncodingExceptionMessage(@Nullable String message, String l
12201220
return "The configuration " + location + " contains malformed JSON";
12211221
}
12221222

1223-
static String getJsonEncodingExceptionMessage(String message, JsonOrigin jsonOrigin) {
1223+
private static String getJsonEncodingExceptionMessage(String message, JsonOrigin jsonOrigin) {
12241224
if (message != null && !message.isEmpty()) {
12251225
return message;
12261226
}

‎agent/agent-tooling/src/main/java/com/microsoft/applicationinsights/agent/internal/sampling/AiSampler.java‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ private AiSampler(
4848
}
4949

5050
@Override
51+
@SuppressWarnings("ReferenceEquality") // intentional identity check on the two percentage objects
5152
public SamplingResult shouldSample(
5253
Context parentContext,
5354
String traceId,

‎dependencyManagement/build.gradle.kts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ val DEPENDENCY_BOMS = listOf(
3131

3232
val autoServiceVersion = "1.1.1"
3333
val autoValueVersion = "1.11.1"
34-
val errorProneVersion = "2.49.0"
34+
val errorProneVersion = "2.50.0"
3535
val jmhVersion = "1.37"
3636
val mockitoVersion = "4.11.0"
3737
val slf4jVersion = "2.0.18"

‎licenses/more-licenses.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
> - **Embedded license files**: [jackson-datatype-jsr310-2.22.0.jar/META-INF/LICENSE](jackson-datatype-jsr310-2.22.0.jar/META-INF/LICENSE)
3232
- [jackson-datatype-jsr310-2.22.0.jar/META-INF/NOTICE](jackson-datatype-jsr310-2.22.0.jar/META-INF/NOTICE)
3333

34-
**5** **Group:** `com.google.errorprone` **Name:** `error_prone_annotations` **Version:** `2.49.0`
34+
**5** **Group:** `com.google.errorprone` **Name:** `error_prone_annotations` **Version:** `2.50.0`
3535
> - **Manifest Project URL**: [https://errorprone.info/error_prone_annotations](https://errorprone.info/error_prone_annotations)
3636
> - **Manifest License**: [http://www.apache.org/licenses/LICENSE-2.0](Apache License, Version 2.0)
3737
> - **POM License**: Apache License, Version 2.0 - [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)

0 commit comments

Comments
 (0)