You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2021/11/09 14:57:51 UTC

[nifi] branch main updated: NIFI-9368: Fixed the ordering of the log entries on the processor level bulletin pop-up

This is an automated email from the ASF dual-hosted git repository.

pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/main by this push:
     new 9d54fc6  NIFI-9368: Fixed the ordering of the log entries on the processor level bulletin pop-up
9d54fc6 is described below

commit 9d54fc6a3c48162aac4e6ca93401873755b2f87b
Author: Peter Turcsanyi <tu...@apache.org>
AuthorDate: Mon Nov 8 17:56:40 2021 +0100

    NIFI-9368: Fixed the ordering of the log entries on the processor level bulletin pop-up
    
    Signed-off-by: Pierre Villard <pi...@gmail.com>
    
    This closes #5512.
---
 .../src/main/java/org/apache/nifi/events/VolatileBulletinRepository.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/events/VolatileBulletinRepository.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/events/VolatileBulletinRepository.java
index 9bdb119..0345013 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/events/VolatileBulletinRepository.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/events/VolatileBulletinRepository.java
@@ -179,6 +179,7 @@ public class VolatileBulletinRepository implements BulletinRepository {
             }
 
             final List<Bulletin> bulletinsForComponent = ringBuffer.getSelectedElements(filter, max);
+            Collections.sort(bulletinsForComponent);
             return bulletinsForComponent;
         }