From 9e1449f0443b6c956529ad6d6922441ffc492237 Mon Sep 17 00:00:00 2001 From: "jburke.cadc" <jburke.cadc@728ff76a-78ac-11de-a72b-d90af8dea425> Date: Thu, 10 Dec 2009 17:24:38 +0000 Subject: [PATCH] Javadocs. git-svn-id: https://opencadc.googlecode.com/svn/trunk@273 728ff76a-78ac-11de-a72b-d90af8dea425 --- .../cadc/tap/writer/formatter/IntArrayFormatter.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 5d6cd5b7..e86f67b0 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) -- GitLab