Skip to content

Commit 70fa7e5

Browse files
committed
Make properties field final
Closes gh-30615
1 parent 6aa8436 commit 70fa7e5

File tree

1 file changed

+2
-2
lines changed
  • spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/properties

1 file changed

+2
-2
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/metrics/export/properties/PropertiesConfigAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2012-2019 the original author or authors.
2+
* Copyright 2012-2022 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.
@@ -31,7 +31,7 @@
3131
*/
3232
public class PropertiesConfigAdapter<T> {
3333

34-
private T properties;
34+
private final T properties;
3535

3636
/**
3737
* Create a new {@link PropertiesConfigAdapter} instance.

0 commit comments

Comments
 (0)