Skip to content

Commit

Permalink
Revert "Revert "fixes javadoc warnings related to incorrectly formatt…
Browse files Browse the repository at this point in the history
…ed link tags""

This reverts commit 628db4a.
  • Loading branch information
lwhite1 committed Mar 30, 2022
1 parent 628db4a commit 66003ef
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/tech/tablesaw/aggregate/CrossTab.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public static Table counts(
a = temp.column(colIndex1).getString(row);
b = temp.column(colIndex2).getString(row);
Integer cellValue = gTable.get(a, b);
Integer value;
int value;
if (cellValue != null) {
value = cellValue + 1;
} else {
Expand Down Expand Up @@ -112,7 +112,7 @@ public static Table counts(

/**
* Returns a Table containing counts of records in the given Table grouped by the given columnName
* See also {@link Table:countBy()}
* See also {@link Table#countBy(String...)}
*/
public static Table counts(Table table, String columnName) {
return table.countBy(table.categoricalColumn(columnName));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public static boolean isMissingValue(double value) {

/**
* Returns the missing value indicator for this column type NOTE: Clients should use {@link
* DoubleColumnType:valueIsMissing()} to test for missing value indicators
* DoubleColumnType#valueIsMissing(double)} to test for missing value indicators
*/
public static double missingValueIndicator() {
return Double.NaN;
Expand Down
19 changes: 12 additions & 7 deletions core/src/main/java/tech/tablesaw/table/Rows.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import javax.annotation.concurrent.Immutable;
import tech.tablesaw.api.ColumnType;
import tech.tablesaw.api.Row;
import tech.tablesaw.api.Table;
import tech.tablesaw.columns.Column;
import tech.tablesaw.selection.BitmapBackedSelection;
Expand All @@ -24,8 +25,8 @@
/**
* A static utility class for row operations
*
* @deprecated Functionality provided by this class is methods in the {@link Table} class hierarchy,
* and/or by methods in {@link tech.tablesaw.api.Row}
* @deprecated Functionality provided by this class is methods in the {@link
* tech.tablesaw.api.Table} class hierarchy, and/or by methods in {@link tech.tablesaw.api.Row}
*/
@Immutable
@Deprecated
Expand Down Expand Up @@ -56,7 +57,8 @@ public static void copyRowsToTable(Selection rows, Table oldTable, Table newTabl
/**
* Copies the rows indicated by the row index values in the given array from oldTable to newTable
*
* @deprecated Use the instance method {@link Table:copyRowsToTable()} instead
* @deprecated Use the instance method {@link tech.tablesaw.api.Table#copyRowsToTable(int[],
* Table)} instead
*/
@Deprecated
@SuppressWarnings({"rawtypes", "unchecked"})
Expand All @@ -74,7 +76,7 @@ public static void copyRowsToTable(int[] rows, Table oldTable, Table newTable) {
/**
* Appends a row from oldTable to newTable
*
* @deprecated Use the instance method {@link Table:appendRow(Row)} instead
* @deprecated Use the instance method {@link tech.tablesaw.api.Table#append(Row)} instead
*/
@Deprecated
@SuppressWarnings({"rawtypes", "unchecked"})
Expand All @@ -88,7 +90,10 @@ public static void appendRowToTable(int row, Table oldTable, Table newTable) {
}
}

/** @deprecated Use the static method {@link Table:compareRows()} instead */
/**
* @deprecated Use the static method {@link tech.tablesaw.api.Table#compareRows(int, Table,
* Table)} instead
*/
@Deprecated
public static boolean compareRows(int rowInOriginal, Table original, Table tempTable) {
int columnCount = original.columnCount();
Expand All @@ -108,7 +113,7 @@ public static boolean compareRows(int rowInOriginal, Table original, Table tempT
/**
* Copies the first n rows to a new table
*
* @deprecated Use {@link Table:first()} instead
* @deprecated Use {@link tech.tablesaw.api.Table#first(int)} instead
*/
@Deprecated
public static void head(int rowCount, Table oldTable, Table newTable) {
Expand All @@ -122,7 +127,7 @@ public static void head(int rowCount, Table oldTable, Table newTable) {
/**
* Copies the last n rows to a new table
*
* @deprecated Use {@link Table:last()} instead
* @deprecated Use {@link tech.tablesaw.api.Table#last(int)} instead
*/
@Deprecated
public static void tail(int rowsToInclude, Table oldTable, Table newTable) {
Expand Down

0 comments on commit 66003ef

Please sign in to comment.