You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2026/05/29 17:31:27 UTC

(tomcat-jakartaee-migration) branch main updated: Silence a CodeQL check

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

markt-asf pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git


The following commit(s) were added to refs/heads/main by this push:
     new 6ac75fd  Silence a CodeQL check
6ac75fd is described below

commit 6ac75fde1aa642b1603e1c1b63b335a04335fc90
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Fri May 29 18:31:20 2026 +0100

    Silence a CodeQL check
---
 src/main/java/org/apache/tomcat/jakartaee/MigrationTask.java | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/main/java/org/apache/tomcat/jakartaee/MigrationTask.java b/src/main/java/org/apache/tomcat/jakartaee/MigrationTask.java
index 244f196..e3e5d5b 100644
--- a/src/main/java/org/apache/tomcat/jakartaee/MigrationTask.java
+++ b/src/main/java/org/apache/tomcat/jakartaee/MigrationTask.java
@@ -128,4 +128,10 @@ public class MigrationTask extends Task {
             throw new BuildException(e, getLocation());
         }
     }
+
+    @Override
+    public Object clone() throws CloneNotSupportedException {
+        // Tasks don't need to support clone()
+        throw new CloneNotSupportedException();
+    }
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org