From 00f387c6b6e4e1f395375af79ec1106b911c7bc5 Mon Sep 17 00:00:00 2001 From: Bas Leijdekkers Date: Fri, 13 Jan 2017 11:07:17 +0100 Subject: [PATCH] IG: fix typo --- .../NonThreadSafeLazyInitialization.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.