2013-01-24 46 views
1

以下是我的一種方法的Java Doc。但JDeveloper是給了@see部分針對java文檔的Doc參考警告

/** 
    * 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); 
     } 
} 
+0

也許'ViewSubTypeHandler'的import語句缺失? – MrSmith42

+0

代碼中該方法的簽名是什麼? – Fildor

+0

@Fildor我已經把問題的代碼。 – Geek

回答

3

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

不是clearSubTypeTableSelection()

您mus t指定參數(類型):

* @see ViewSubTypeHandler#clearSubTypeTableSelection(boolean, int)