diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html index a1d87f3e9d1b..14f0bd6a352a 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html @@ -1,7 +1,7 @@
Reports static variables being lazily initialized -in an non-thread-safe manner. Lazy initialization of static variables should be done +in a non-thread-safe manner. Lazy initialization of static variables should be done in an appropriate synchronization construct, to prevent different threads from performing conflicting initialization.@@ -10,7 +10,7 @@ which introduces the static holder pattern described in http://en.wikipedia.org/wiki/Initialization_on_demand_holder_idiom -where the JVM guarantees the thread-safety of such initializations. +where the JVM guarantees the thread safety of such initializations.