From 27ad7cf29bf5dcedf27afcab04a7ee869c67f9e3 Mon Sep 17 00:00:00 2001 From: "Olga.Klisho" Date: Mon, 12 Apr 2021 10:54:50 +0300 Subject: [PATCH] [java] cleanup of inspection description updates NonPublicClone GitOrigin-RevId: dae3039ddae4c9aa0ba593c09506371ca4d18b13 --- .../src/inspectionDescriptions/NonPublicClone.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/InspectionGadgets/src/inspectionDescriptions/NonPublicClone.html b/plugins/InspectionGadgets/src/inspectionDescriptions/NonPublicClone.html index e7766d7dc498..a0e70a1e9aa7 100644 --- a/plugins/InspectionGadgets/src/inspectionDescriptions/NonPublicClone.html +++ b/plugins/InspectionGadgets/src/inspectionDescriptions/NonPublicClone.html @@ -1,9 +1,9 @@ -Reports clone() methods that are protected and not public. -When overriding the clone() method from java.lang.Object it is convention to make the method public, +Reports clone() methods that are protected and not public. +When overriding the clone() method from java.lang.Object it is convention to make the method public, so that it is accessible from non-subclasses outside the package. -See also the documentation of java.lang.Cloneable +See also the documentation of java.lang.Cloneable