From fb8311d331b1e7fcd6517b640087ce90a1ae0850 Mon Sep 17 00:00:00 2001 From: "Kurita, Takehiro" Date: Wed, 19 Sep 2018 14:45:17 +0900 Subject: [PATCH] java: Fix typos of `javadoc` Signed-off-by: Kurita, Takehiro --- ompi/mpi/java/java/Comm.java | 2 +- ompi/mpi/java/java/DistGraphNeighbors.java | 5 +++-- ompi/mpi/java/java/GraphComm.java | 3 ++- ompi/mpi/java/java/Intracomm.java | 3 ++- ompi/mpi/java/java/Request.java | 9 +++++---- 5 files changed, 13 insertions(+), 9 deletions(-) diff --git a/ompi/mpi/java/java/Comm.java b/ompi/mpi/java/java/Comm.java index ea08bb0924..7d11db6601 100644 --- a/ompi/mpi/java/java/Comm.java +++ b/ompi/mpi/java/java/Comm.java @@ -1228,7 +1228,7 @@ public class Comm implements Freeable, Cloneable private native void barrier(long comm) throws MPIException; /** - * Nonblocking barrier sinchronization. + * Nonblocking barrier synchronization. *

Java binding of the MPI operation {@code MPI_IBARRIER}. * @return communication request * @throws MPIException Signals that an MPI exception of some sort has occurred. diff --git a/ompi/mpi/java/java/DistGraphNeighbors.java b/ompi/mpi/java/java/DistGraphNeighbors.java index e545b6f3a1..e96243bb0d 100644 --- a/ompi/mpi/java/java/DistGraphNeighbors.java +++ b/ompi/mpi/java/java/DistGraphNeighbors.java @@ -11,6 +11,7 @@ * All rights reserved. * Copyright (c) 2015 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -67,9 +68,9 @@ public final class DistGraphNeighbors } /** - * Gets a process for which the calling processs is a destination. + * Gets a process for which the calling process is a destination. * @param i source index - * @return process for which the calling processs is a destination + * @return process for which the calling process is a destination */ public int getSource(int i) { diff --git a/ompi/mpi/java/java/GraphComm.java b/ompi/mpi/java/java/GraphComm.java index 384136a953..fe05016696 100644 --- a/ompi/mpi/java/java/GraphComm.java +++ b/ompi/mpi/java/java/GraphComm.java @@ -11,6 +11,7 @@ * All rights reserved. * Copyright (c) 2015 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -151,7 +152,7 @@ public final class GraphComm extends Intracomm * and {@code MPI_GRAPH_NEIGHBORS}. *

The number of neighbors can be extracted from the size of the result. * @param rank rank of a process in the group of this communicator - * @return array of ranks of neighbouring processes to one specified + * @return array of ranks of neighboring processes to one specified * @throws MPIException Signals that an MPI exception of some sort has occurred. */ public int[] getNeighbors(int rank) throws MPIException diff --git a/ompi/mpi/java/java/Intracomm.java b/ompi/mpi/java/java/Intracomm.java index bd6c9542d0..1c90a7bdfd 100644 --- a/ompi/mpi/java/java/Intracomm.java +++ b/ompi/mpi/java/java/Intracomm.java @@ -11,6 +11,7 @@ * All rights reserved. * Copyright (c) 2015 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -805,7 +806,7 @@ public class Intracomm extends Comm /** * Java binding of {@code MPI_LOOKUP_NAME}. * @param service service name - * @param info mplementation-specific information + * @param info implementation-specific information * @return port name * @throws MPIException Signals that an MPI exception of some sort has occurred. */ diff --git a/ompi/mpi/java/java/Request.java b/ompi/mpi/java/java/Request.java index a1c59fa4a9..6459f81270 100644 --- a/ompi/mpi/java/java/Request.java +++ b/ompi/mpi/java/java/Request.java @@ -11,6 +11,7 @@ * All rights reserved. * Copyright (c) 2015 Los Alamos National Security, LLC. All rights * reserved. + * Copyright (c) 2018 FUJITSU LIMITED. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -120,7 +121,7 @@ public class Request implements Freeable * Adds a receive buffer to this Request object. This method * should be called by the internal api whenever a persistent * request is created and any time a request object, that has - * an associated buffer, is returned from an opperation to protect + * an associated buffer, is returned from an operation to protect * the buffer from getting prematurely garbage collected. * @param buf buffer to add to the array list */ @@ -133,7 +134,7 @@ public class Request implements Freeable * Adds a send buffer to this Request object. This method * should be called by the internal api whenever a persistent * request is created and any time a request object, that has - * an associated buffer, is returned from an opperation to protect + * an associated buffer, is returned from an operation to protect * the buffer from getting prematurely garbage collected. * @param buf buffer to add to the array list */ @@ -287,7 +288,7 @@ public class Request implements Freeable *

If some request completed, the index in array of {@code requests} * for that request can be obtained from the returned status object. * The corresponding element in array of {@code requests} becomes inactive. - * If no request completed, {testAny} returns {@code null}. + * If no request completed, {@code testAnyStatus} returns {@code null}. * @param requests array of requests * @return status object if one request completed, {@code null} otherwise. * @throws MPIException Signals that an MPI exception of some sort has occurred. @@ -307,7 +308,7 @@ public class Request implements Freeable * Tests for completion of either one or none of the operations * associated with active requests. *

Java binding of the MPI operation {@code MPI_TESTANY}. - *

If some request completed, ii becomes inactive. + *

If some request completed, it becomes inactive. * @param requests array of requests * @return index of operation that completed, or {@code MPI.UNDEFINED} * if none completed.