diff --git a/projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java b/projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java index 5d6cd5b719607a41c7a8e96cc2d7fd993f893502..e86f67b03216fc1d580e095a61d3699830b27c55 100644 --- a/projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java +++ b/projects/cadcTAP/src/ca/nrc/cadc/tap/writer/formatter/IntArrayFormatter.java @@ -71,8 +71,20 @@ package ca.nrc.cadc.tap.writer.formatter; import java.sql.SQLException; +/** + * Formats a int[] into a String. + * + */ public class IntArrayFormatter implements Formatter { + /** + * Takes an int[] contained in a java.sql.Array and returns + * the default String representation. + * + * @param object to format. + * @return String represenetation of the int[]. + * @throws IllegalArgumentException if the object is not an int[]; + */ public String format(Object object) { if (object == null)