From 6bca7486c513d5aeb732b69e00b258b60a3468e5 Mon Sep 17 00:00:00 2001 From: Nathaniel Graham Date: Fri, 10 Jul 2015 16:04:22 -0600 Subject: [PATCH] Added suppression statements. There are a few places where adding the @param for the variable javadoc wants does not make sense, so I added suppression statements in those areas. Signed-off-by: Nathaniel Graham --- ompi/mpi/java/java/Struct.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ompi/mpi/java/java/Struct.java b/ompi/mpi/java/java/Struct.java index 32f4ab6928..55dfe82819 100644 --- a/ompi/mpi/java/java/Struct.java +++ b/ompi/mpi/java/java/Struct.java @@ -98,6 +98,7 @@ private T newData(ByteBuffer buffer, int offset) return (T)d; } +@SuppressWarnings("javadoc") /** * Gets a Data object in order to access to the buffer. * @param buffer the Data object will read/write on this buffer. @@ -110,6 +111,7 @@ public final T getData(ByteBuffer buffer) throws MPIException return newData(buffer, 0); } +@SuppressWarnings("javadoc") /** * Gets a Data object in order to access to the struct at the * specified position of a struct array stored in a Buffer. @@ -125,6 +127,7 @@ public final T getData(ByteBuffer buffer, int index) return newData(buffer, index * extent); } +@SuppressWarnings("javadoc") /** * Gets a Data object in order to access to the byte array. * @param array The Data object will read/write on this byte array. @@ -138,6 +141,7 @@ public final T getData(byte[] array) throws MPIException return getData(buffer); } +@SuppressWarnings("javadoc") /** * Gets a Data object in order to access to the struct at the * specified position of a struct array stored in a byte array. @@ -725,7 +729,8 @@ public abstract class Data assert validType(field, index, MPI.DOUBLE) : typeMismatch; buffer.putDouble(offset + field + index * 8, v); } - + + @SuppressWarnings("javadoc") /** * Gets the struct data of a field. * @param struct Struct type. @@ -740,6 +745,7 @@ public abstract class Data return s.newData(buffer, offset + field); } + @SuppressWarnings("javadoc") /** * Gets the struct data at the specified position of a struct array. * @param struct Struct type.