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>
Этот коммит содержится в:
родитель
6f6c01ee8d
Коммит
8fcc317a57
@ -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();
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user