Skip to content

Commit e83fe6c

Browse files
committed
Note about 'Unguarded field access' inspection in IntelliJ
1 parent e360995 commit e83fe6c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,8 @@ See [JCIP 2.4] for more information about `@GuardedBy`.
399399

400400
Usage of `@GuardedBy` is especially beneficial in conjunction with [Error Prone](
401401
https://errorprone.info/) tool which is able to [statically check for unguarded accesses to fields
402-
and methods with @GuardedBy annotations](https://errorprone.info/bugpattern/GuardedBy).
402+
and methods with @GuardedBy annotations](https://errorprone.info/bugpattern/GuardedBy). There is
403+
also an inspection 'Unguarded field access' in IntelliJ IDEA with the same effect.
403404

404405
<a name="document-benign-race"></a>
405406
[#](#document-benign-race) Dc.8. If in a thread-safe class some **fields are accessed both from

0 commit comments

Comments
 (0)