Skip to content

Commit 24c9f43

Browse files
author
Scott Murray
committed
Changed param name for Table.matchRows() to sync with Table.matchRow()
1 parent 1f00e1a commit 24c9f43

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

core/src/processing/data/Table.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3140,13 +3140,13 @@ public TableRow matchRow(String regexp, String columnName) {
31403140
/**
31413141
* @webref table:method
31423142
* @brief Finds multiple rows that match the given expression
3143-
* @param value the regular expression to match
3143+
* @param regexp the regular expression to match
31443144
* @param column ID number of the column to search
31453145
*/
3146-
public Iterable<TableRow> matchRows(final String value, final int column) {
3146+
public Iterable<TableRow> matchRows(final String regexp, final int column) {
31473147
return new Iterable<TableRow>() {
31483148
public Iterator<TableRow> iterator() {
3149-
return matchRowIterator(value, column);
3149+
return matchRowIterator(regexp, column);
31503150
}
31513151
};
31523152
}
@@ -3155,8 +3155,8 @@ public Iterator<TableRow> iterator() {
31553155
/**
31563156
* @param columnName title of the column to search
31573157
*/
3158-
public Iterable<TableRow> matchRows(String value, String columnName) {
3159-
return matchRows(value, getColumnIndex(columnName));
3158+
public Iterable<TableRow> matchRows(String regexp, String columnName) {
3159+
return matchRows(regexp, getColumnIndex(columnName));
31603160
}
31613161

31623162

0 commit comments

Comments
 (0)