1
1

Add explicit implementation of Cloneable

Added Cloneable to the implemented interface list as per
Coverity suggestion.  The required methods were already
implemented, but it was not explicitly stated.  This is
an intent revealing change.

Signed-off-by: Nathaniel Graham <ngraham@lanl.gov>
Этот коммит содержится в:
Nathaniel Graham 2015-08-07 12:16:06 -06:00
родитель 6f6c01ee8d
Коммит 8fcc317a57
3 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -65,7 +65,7 @@ import static mpi.MPI.assertDirectBuffer;
/**
* The {@code Comm} class represents communicators.
*/
public class Comm implements Freeable
public class Comm implements Freeable, Cloneable
{
public final static int TYPE_SHARED = 0;
protected final static int SELF = 1;

Просмотреть файл

@ -52,7 +52,7 @@ import java.nio.*;
/**
* The {@code Datatype} class represents {@code MPI_Datatype} handles.
*/
public final class Datatype implements Freeable
public final class Datatype implements Freeable, Cloneable
{
protected long handle;
protected int baseType;

Просмотреть файл

@ -23,7 +23,7 @@ package mpi;
/**
* This class represents {@code MPI_Info}.
*/
public final class Info implements Freeable
public final class Info implements Freeable, Cloneable
{
protected long handle;
protected static final long NULL = getNull();