override clone specifics (IDEA-67754)

This commit is contained in:
anna
2013-04-30 17:19:59 +02:00
parent 4e3928010b
commit b421d595a9
5 changed files with 28 additions and 2 deletions

View File

@@ -1,7 +0,0 @@
interface MyCloneable {
//protected method from java.lang.Object is not implicitly declared in interface with no base interfaces
<error descr="'clone()' in 'MyCloneable' clashes with 'clone()' in 'java.lang.Object'; attempting to use incompatible return type">int</error> clone();
<error descr="'toString()' in 'MyCloneable' clashes with 'toString()' in 'java.lang.Object'; attempting to use incompatible return type">int</error> toString();
}