4141 * empty implementation of method getCapabilities(). This servlet therefore ignores the
4242 * user query (as passed in the 'tq' url parameter), leaving the
4343 * query engine to apply it to the data table created here.
44- *
44+ *
4545 * @author Nimrod T.
4646 */
4747public class CsvDataSourceServlet extends DataSourceServlet {
@@ -52,10 +52,10 @@ public class CsvDataSourceServlet extends DataSourceServlet {
5252 private static final Log log = LogFactory .getLog (CsvDataSourceServlet .class .getName ());
5353
5454 /**
55- * The name of the parameter that contains the url of the csv to load.
55+ * The name of the parameter that contains the url of the CSV to load.
5656 */
5757 private static final String URL_PARAM_NAME = "url" ;
58-
58+
5959 /**
6060 * Generates the data table.
6161 * This servlet assumes a special parameter that contains the CSV URL from which to load
@@ -69,7 +69,7 @@ public DataTable generateDataTable(Query query, HttpServletRequest request)
6969 log .error ("url parameter not provided." );
7070 throw new DataSourceException (ReasonType .INVALID_REQUEST , "url parameter not provided" );
7171 }
72-
72+
7373 Reader reader ;
7474 try {
7575 reader = new BufferedReader (new InputStreamReader (new URL (url ).openStream ()));
@@ -83,7 +83,7 @@ public DataTable generateDataTable(Query query, HttpServletRequest request)
8383 DataTable dataTable = null ;
8484 ULocale requestLocale = DataSourceHelper .getLocaleFromRequest (request );
8585 try {
86- // Note: We assumes that all the columns in the CSV file are TEXT columns. In cases where the
86+ // Note: We assume that all the columns in the CSV file are text columns. In cases where the
8787 // column types are known in advance, this behavior can be overridden by passing a list of
8888 // ColumnDescription objects specifying the column types. See CsvDataSourceHelper.read() for
8989 // more details.
0 commit comments