[ 
https://issues.apache.org/jira/browse/ARTEMIS-5626?focusedWorklogId=979675&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-979675
 ]

ASF GitHub Bot logged work on ARTEMIS-5626:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Aug/25 09:45
            Start Date: 20/Aug/25 09:45
    Worklog Time Spent: 10m 
      Work Description: gemmellr commented on code in PR #5881:
URL: https://github.com/apache/activemq-artemis/pull/5881#discussion_r2287589200


##########
artemis-web/src/main/java/org/apache/activemq/artemis/component/WebServerComponent.java:
##########
@@ -375,11 +376,14 @@ private Scanner getScanner() {
          scanner.setReportDirs(false);
          scanner.setReportExistingFilesOnStartup(false);
          scanner.setScanDepth(1);
-         scanner.addListener((Scanner.BulkListener) filenames -> {
-            for (String filename: filenames) {
-               List<Runnable> tasks = scannerTasks.get(filename);
-               if (tasks != null) {
-                  tasks.forEach(t -> t.run());
+         scanner.addListener(new Scanner.BulkListener() {
+            @Override
+            public void filesChanged(Set<String> filenames) throws Exception {

Review Comment:
   It seems filesChanged was deprecated for removal, so perhaps its worth 
switching to the new pathChanged to avoid a future break?
   
   
https://github.com/jetty/jetty.project/blob/jetty-12.1.0/jetty-core/jetty-util/src/main/java/org/eclipse/jetty/util/Scanner.java#L330-L386





Issue Time Tracking
-------------------

    Worklog Id:     (was: 979675)
    Time Spent: 20m  (was: 10m)

> Bump jetty.version from 12.0.25 to 12.1.0
> -----------------------------------------
>
>                 Key: ARTEMIS-5626
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-5626
>             Project: ActiveMQ Artemis
>          Issue Type: Dependency upgrade
>            Reporter: Justin Bertram
>            Assignee: Justin Bertram
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 20m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to