diff --git a/wrangler-api/src/main/java/io/cdap/wrangler/api/Row.java b/wrangler-api/src/main/java/io/cdap/wrangler/api/Row.java index 738a403ab..5727f61e0 100644 --- a/wrangler-api/src/main/java/io/cdap/wrangler/api/Row.java +++ b/wrangler-api/src/main/java/io/cdap/wrangler/api/Row.java @@ -158,7 +158,7 @@ public Row remove(int idx) { * Finds a column index based on the name of the column. The col name is case insensitive. * * @param col to be searched within the row. - * @return null if not present, else the index at which the column is found. + * @return -1 if not present, else the index at which the column is found. */ public int find(String col) { int idx = 0;