-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixes for Issues #43 and #44 #76
Conversation
org.eclipse.transformer/src/main/java/org/eclipse/transformer/Transformer.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/Transformer.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/Transformer.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Outdated
Show resolved
Hide resolved
...eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/SignatureRuleImpl.java
Outdated
Show resolved
Hide resolved
...eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/SignatureRuleImpl.java
Outdated
Show resolved
Hide resolved
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Show resolved
Hide resolved
...eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/SignatureRuleImpl.java
Outdated
Show resolved
Hide resolved
Hi; reviewed the initial update. Looks fine. I have a number of comments, above, but all of the comments are for minor issues. |
@tbitonti , thank-you for your review I fixed them all. I have also added a unit test. I am wandering if the count of constant changes is correct. We are counting it both in UTF8 and in ConstantString, so that doubles the number. I checked with Direct String and it is the same. |
@bjhargrave This looks good to me. Can you take a quick look before merging? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good but I have a few requested changes. Thanks!
org.eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/ClassActionImpl.java
Outdated
Show resolved
Hide resolved
...clipse.transformer.cli/src/main/java/org/eclipse/transformer/jakarta/JakartaTransformer.java
Outdated
Show resolved
Hide resolved
...eclipse.transformer/src/main/java/org/eclipse/transformer/action/impl/SignatureRuleImpl.java
Outdated
Show resolved
Hide resolved
Signed-off-by: JF Denise <jdenise@redhat.com>
93a8972
to
cfc6eb5
Compare
Signed-off-by: JF Denise <jdenise@redhat.com>
Thanks! |
Constant string transformation (#44) and on fix for Annotation Element value of type String (#43).
A user would define a master index such as:
org/jboss/as/jaxrs/JaxrsAnnotations$Constants.class=jaxrs-annotations.properties
org/apache/jasper/compiler/Generator.class=jsp-compiler.properties
org/jboss/as/weld/CdiAnnotations$Constants.class=cdi-annotations.properties
Each properties file would then contain specific mapping for the class.
Note that the transformation also looks inside complex String to replace parts.
Added unit test.
Signed-off-by: JF Denise jdenise@redhat.com