From f2043776f66cb13ee9739e92da6f21d48e8d8c22 Mon Sep 17 00:00:00 2001 From: Oscar Vega-Gisbert Date: Wed, 26 Feb 2014 21:17:52 +0000 Subject: [PATCH] mpi.Comm: some methods must be private. They were protected because the old Prequest implementation used them. This commit was SVN r30859. --- ompi/mpi/java/java/Comm.java | 25 +++++-------------------- 1 file changed, 5 insertions(+), 20 deletions(-) diff --git a/ompi/mpi/java/java/Comm.java b/ompi/mpi/java/java/Comm.java index 4b59097228..62426e54cc 100644 --- a/ompi/mpi/java/java/Comm.java +++ b/ompi/mpi/java/java/Comm.java @@ -531,10 +531,7 @@ public final Request iSend(Buffer buf, int count, return new Request(iSend(handle, buf, count, type.handle, dest, tag)); } -/** - * Protected member used internally by Prequest.start - */ -protected final native long iSend( +private native long iSend( long comm, Buffer buf, int count, long type, int dest, int tag) throws MPIException; @@ -559,10 +556,7 @@ public final Request ibSend(Buffer buf, int count, return new Request(ibSend(handle, buf, count, type.handle, dest, tag)); } -/** - * Protected member used internally by Prequest.Start - */ -protected final native long ibSend( +private native long ibSend( long comm, Buffer buf, int count, long type, int dest, int tag) throws MPIException; @@ -587,10 +581,7 @@ public final Request isSend(Buffer buf, int count, return new Request(isSend(handle, buf, count, type.handle, dest, tag)); } -/** - * Protected member used internally by Prequest.Start - */ -protected final native long isSend( +private native long isSend( long comm, Buffer buf, int count, long type, int dest, int tag) throws MPIException; @@ -615,10 +606,7 @@ public final Request irSend(Buffer buf, int count, return new Request(irSend(handle, buf, count, type.handle, dest, tag)); } -/** - * Protected member used internally by Prequest.Start - */ -protected final native long irSend( +private native long irSend( long comm, Buffer buf, int count, long type, int dest, int tag) throws MPIException; @@ -643,10 +631,7 @@ public final Request iRecv(Buffer buf, int count, return new Request(iRecv(handle, buf, count, type.handle, source, tag)); } -/** - * Protected member used internally by Prequest.Start - */ -protected final native long iRecv( +private native long iRecv( long comm, Buffer buf, int count, long type, int source, int tag) throws MPIException;