Skip to content

Commit acf64b2

Browse files
committed
Merge pull request #786 from nrgraham23/add_implements_cloneable
Add explicit implementation of Cloneable
2 parents bd5bf4a + 8fcc317 commit acf64b2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

ompi/mpi/java/java/Comm.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
/**
6666
* The {@code Comm} class represents communicators.
6767
*/
68-
public class Comm implements Freeable
68+
public class Comm implements Freeable, Cloneable
6969
{
7070
public final static int TYPE_SHARED = 0;
7171
protected final static int SELF = 1;

ompi/mpi/java/java/Datatype.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
/**
5353
* The {@code Datatype} class represents {@code MPI_Datatype} handles.
5454
*/
55-
public final class Datatype implements Freeable
55+
public final class Datatype implements Freeable, Cloneable
5656
{
5757
protected long handle;
5858
protected int baseType;

ompi/mpi/java/java/Info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
/**
2424
* This class represents {@code MPI_Info}.
2525
*/
26-
public final class Info implements Freeable
26+
public final class Info implements Freeable, Cloneable
2727
{
2828
protected long handle;
2929
protected static final long NULL = getNull();

0 commit comments

Comments
 (0)