diff --git a/docs/modules/data-structures/pages/priority-queue.adoc b/docs/modules/data-structures/pages/priority-queue.adoc index 99da830a1..06919d7e0 100644 --- a/docs/modules/data-structures/pages/priority-queue.adoc +++ b/docs/modules/data-structures/pages/priority-queue.adoc @@ -5,8 +5,7 @@ Items in this queue do not necessarily follow the FIFO or LIFO order; you assign a comparator which defines the order in which items will be stored in the queue. Items with higher priority get polled first, regardless of when they have been added. -Its configuration is same as the regular queue as explained in <> -except the additional comparator configuration element. A declarative example +Its configuration is the same as for the regular queue, as explained in xref:data-structures:queue.adoc#configuring-queue[Configuring Queue], except the additional comparator configuration element. A declarative example is shown below: [tabs]