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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]