1

以下是我的一种方法的 Java Doc。但是JDeveloper@see正在为该部分发出警告消息

   /**
     * Clears the selections on all the tables containig view sub types except the currently selected one
     * @param exceptControl index of the sub type table whose selection needs to be preserved
     * @see ViewSubTypeHandler#clearSubTypeTableSelection()
     */


Warning : Doc reference clearSubTypeTableSelection not found.

这是什么警告信息,我该如何解决?

这是引发警告的方法的代码:

 private void clearSubTypeTableSelection(boolean resetAll, int exceptControl) {
        if (!resetAll) {
            clearAllExceptCurrent(exceptControl);
        } else {
            clearAll();
        }

    }

这是有问题的javadoc的方法:

private void clearAllExceptCurrent(int exceptControl) {
    for (int i = 0; i < SUBTYPE_TABLES; i++)
        if (i != exceptControl && getSubTypeTable(i).getSelectedRowKeys() != null) {
            RichTable richTable = getSubTypeTable(i);
            RowKeySet rowkeySet = richTable.getSelectedRowKeys();
            rowkeySet.clear();
            AdfFacesContext.getCurrentInstance().addPartialTarget(richTable);
        }
}
4

1 回答 1

3

你的方法是clearSubTypeTableSelection(boolean resetAll, int exceptControl)

不是clearSubTypeTableSelection()

您必须指定参数(类型):

 * @see ViewSubTypeHandler#clearSubTypeTableSelection(boolean, int)
于 2013-01-24T17:04:53.330 回答