You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by li...@apache.org on 2022/10/26 08:26:55 UTC
[tomcat-jakartaee-migration] 04/04: Add change log entry
This is an automated email from the ASF dual-hosted git repository.
lihan pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tomcat-jakartaee-migration.git
commit 13480f5953cd6230a839c6f7170c05a322724915
Author: lihan <li...@apache.org>
AuthorDate: Wed Oct 26 16:11:03 2022 +0800
Add change log entry
---
CHANGES.md | 4 +++-
src/main/java/org/apache/tomcat/jakartaee/Migration.java | 6 ++++++
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/CHANGES.md b/CHANGES.md
index 2d4e2cf..29129a6 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -2,7 +2,9 @@
## 1.0.5
-- TBD
+- Improve manifest handling to remain the key ordering when unchanged manifests. PR [#36](https://github.com/apache/tomcat-jakartaee-migration/pull/36) provided by Danny Thomas (lihan)
+- Improve the performance of conversion by avoiding `JavaClass.dump` when there are no changes. PR [#36](https://github.com/apache/tomcat-jakartaee-migration/pull/36) provided by Danny Thomas (lihan)
+- Improve composability of the migration tool when using from other tools. PR [#36](https://github.com/apache/tomcat-jakartaee-migration/pull/36) provided by Danny Thomas (lihan)
## 1.0.4
diff --git a/src/main/java/org/apache/tomcat/jakartaee/Migration.java b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
index ae95f41..9f2449e 100644
--- a/src/main/java/org/apache/tomcat/jakartaee/Migration.java
+++ b/src/main/java/org/apache/tomcat/jakartaee/Migration.java
@@ -161,6 +161,12 @@ public class Migration {
}
+ /**
+ * <b>NOTE</b>:<br/>
+ * this method is not to indicate that no changes were made,
+ * but that the source can be used and satisfy the selected profile.
+ * @return true if converted occurs
+ */
public boolean hasConverted() {
if (state != State.COMPLETE) {
throw new IllegalStateException(sm.getString("migration.notCompleted"));
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org