Skip to content

Commit 7c9d74d

Browse files
author
David R. MacIver
committed
add method javadoc as well as class (mainly so it shows up in IDEs, etc. if they have the source present)
1 parent acfb3fa commit 7c9d74d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/com/rabbitmq/utility/SensibleClone.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,10 @@
3737
* and want to provide some guarantees of the type of the cloned object.
3838
*/
3939
public interface SensibleClone<T extends SensibleClone<T>> extends Cloneable {
40+
41+
/**
42+
* Like Object.clone but sensible; in particular, public and declared to return
43+
* the right type.
44+
*/
4045
public T sensibleClone();
4146
}

0 commit comments

Comments
 (0)