浏览代码

Fixed the JavaDoc (#11950)

HierarchyMapper. getParentIndex() method has a different JavaDoc from the HierarchicalDataCommunicator. This is a simple fix for that.

https://github.com/vaadin/framework/blob/master/server/src/main/java/com/vaadin/data/provider/HierarchyMapper.java#L96
tags/8.11.0.alpha1
Vesa Nieminen 4 年前
父节点
当前提交
14de087d19
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java

+ 2
- 2
server/src/main/java/com/vaadin/data/provider/HierarchicalDataCommunicator.java 查看文件

@@ -381,11 +381,11 @@ public class HierarchicalDataCommunicator<T> extends DataCommunicator<T> {
}

/**
* Returns parent index for the row or {@code null}.
* Returns parent index for the row or a negative value.
*
* @param item
* the item to find the parent of
* @return the parent index or {@code null} for top-level items
* @return the parent index or a negative value for top-level items
*/
public Integer getParentIndex(T item) {
return mapper.getParentIndex(item);

正在加载...
取消
保存