diff options
Diffstat (limited to 'plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html')
-rw-r--r-- | plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html index f203aa949764..a1d87f3e9d1b 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonThreadSafeLazyInitialization.html @@ -1,16 +1,16 @@ <html> <body> -Reports static variables being lazily initialized -in an non-thread-safe manner. Lazy initialization of static variables should be done +Reports <b>static</b> variables being lazily initialized +in an non-thread-safe manner. Lazy initialization of <b>static</b> variables should be done in an appropriate synchronization construct, to prevent different threads from performing conflicting initialization. <p> -If applicable, quick-fix is suggested -which introduces static holder pattern described in +If applicable, a quickfix is suggested +which introduces the static holder pattern described in <a href="http://en.wikipedia.org/wiki/Initialization_on_demand_holder_idiom"> http://en.wikipedia.org/wiki/Initialization_on_demand_holder_idiom </a> -where the JVM guarantees thread-safety of such initializations. +where the JVM guarantees the thread-safety of such initializations. <!-- tooltip end --> <p> |