mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[java] cleanup of inspection description updates NonPublicClone
GitOrigin-RevId: dae3039ddae4c9aa0ba593c09506371ca4d18b13
This commit is contained in:
committed by
intellij-monorepo-bot
parent
9582ec58c3
commit
27ad7cf29b
@@ -1,9 +1,9 @@
|
||||
<html>
|
||||
<body>
|
||||
Reports <b>clone()</b> methods that are <b>protected</b> and not <b>public</b>.
|
||||
When overriding the <b>clone()</b> method from <b>java.lang.Object</b> it is convention to make the method <b>public</b>,
|
||||
Reports <code>clone()</code> methods that are <code>protected</code> and not <code>public</code>.
|
||||
When overriding the <code>clone()</code> method from <code>java.lang.Object</code> it is convention to make the method <code>public</code>,
|
||||
so that it is accessible from non-subclasses outside the package.
|
||||
See also the documentation of <b>java.lang.Cloneable</b>
|
||||
See also the documentation of <code>java.lang.Cloneable</code>
|
||||
<!-- tooltip end -->
|
||||
<p>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user