Skip to content

Commit 8f06831

Browse files
committed
minor formatting fixes
1 parent 24d62be commit 8f06831

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

articles/upgrading/index.adoc

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,8 @@ The [classname]`GridArrayUpdater.UpdateQueueData` class has been removed, along
351351
* The [methodname]`setUpdateQueueData` method in [classname]`GridArrayUpdater` has been removed
352352
* The [methodname]`getUpdateQueueData` method in [classname]`GridArrayUpdater` has been removed
353353
* Parameters that included [classname]`UpdateQueueData` in their type have been removed from all [classname]`Grid` and [classname]`TreeGrid` constructors and methods:
354-
354+
+
355+
--
355356
[source,java,role="before"]
356357
----
357358
protected <U extends GridArrayUpdater, B extends DataCommunicatorBuilder<T, U>> Grid(
@@ -365,7 +366,9 @@ protected <U extends GridArrayUpdater, B extends DataCommunicatorBuilder<T, U>>
365366
Class<T> beanType,
366367
B dataCommunicatorBuilder)
367368
----
368-
369+
--
370+
+
371+
--
369372
[source,java,role="before"]
370373
----
371374
protected GridArrayUpdater createDefaultArrayUpdater(
@@ -375,6 +378,7 @@ protected GridArrayUpdater createDefaultArrayUpdater(
375378
----
376379
protected GridArrayUpdater createDefaultArrayUpdater()
377380
----
381+
--
378382
379383
The [classname]`TreeGridArrayUpdater` interface has also been removed. The [classname]`GridArrayUpdater` interface now handles both hierarchical and non-hierarchical updates.
380384
@@ -389,9 +393,9 @@ The [classname]`HierarchicalDataCommunicator` class in Flow has been fully refac
389393
* The protected [methodname]`expand(T item, boolean syncClient)` method has been removed. Use the [methodname]`expand(T item)` method instead.
390394
* The public [methodname]`setRequestedRange` and [methodname]`setParentRequestedRange` methods have been merged into a single method [methodname]`setViewportRange(int start, int length)`. Instead of setting ranges separately for each level, this method sets a single range that operates on the flat list of items from all levels.
391395
* The public [methodname]`confirmUpdate(int id, String parentKey)` method has been removed. The [methodname]`confirmUpdate(int id)` method is now called instead.
392-
* The public [methodname]`getParentItem(T item)` method has been removed because it returned inconsistent results. Use the [classname]`HierarchicalDataProvider#getParent` method instead to get an item's parent reliably.
396+
* The public [methodname]`getParentItem(T item)` method has been removed because it didn't handle all cases correctly. Use the [classname]`HierarchicalDataProvider#getParent` method instead to get an item's parent reliably.
393397
* The public [methodname]`getIndex(T item)` and [methodname]`getParentIndex(T item)` methods have been removed for the same reason. To find an item's index reliably, use a combination of the [classname]`HierarchicalDataProvider#getItemIndex`, [classname]`HierarchicalDataProvider#getParent`, [classname]`HierarchicalDataCommunicator#buildQuery` methods as shown in the example below:
394-
398+
+
395399
[.example]
396400
--
397401
[source,java]

0 commit comments

Comments
 (0)