Skip to content

Commit 59ab208

Browse files
java-team-github-botError Prone Team
authored andcommitted
Add java.util.Properties to WellKnownThreadSafety.
PiperOrigin-RevId: 959124000
1 parent eb5a7e4 commit 59ab208

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

core/src/main/java/com/google/errorprone/bugpatterns/threadsafety/WellKnownThreadSafety.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ private static ImmutableMap<String, AnnotationInfo> buildThreadSafeClasses(
6767
.add(java.lang.Thread.class)
6868
.add(java.time.InstantSource.class)
6969
.add(java.time.Clock.class)
70+
.add(java.util.Properties.class)
7071
.add(java.util.Random.class)
7172
.add(java.util.concurrent.atomic.AtomicBoolean.class)
7273
.add(java.util.concurrent.atomic.AtomicInteger.class)

0 commit comments

Comments
 (0)