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

benw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git


The following commit(s) were added to refs/heads/master by this push:
     new d8da63d  plastic: MethodDescription generic signature intern() null 
handling
d8da63d is described below

commit d8da63db4ba2ffa32e18d1a935fd386f2253661e
Author: Benjamin Weidig <[email protected]>
AuthorDate: Sat Oct 9 11:09:30 2021 +0200

    plastic: MethodDescription generic signature intern() null handling
---
 .../src/main/java/org/apache/tapestry5/plastic/MethodDescription.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/plastic/src/main/java/org/apache/tapestry5/plastic/MethodDescription.java 
b/plastic/src/main/java/org/apache/tapestry5/plastic/MethodDescription.java
index 41a5568..46a07d4 100644
--- a/plastic/src/main/java/org/apache/tapestry5/plastic/MethodDescription.java
+++ b/plastic/src/main/java/org/apache/tapestry5/plastic/MethodDescription.java
@@ -109,7 +109,7 @@ public class MethodDescription implements 
Comparable<MethodDescription>
         this.modifiers = modifiers;
         this.returnType = returnType.intern();
         this.methodName = methodName.intern();
-        this.genericSignature = genericSignature.intern();
+        this.genericSignature = genericSignature == null ? null : 
genericSignature.intern();
 
         this.argumentTypes = PlasticInternalUtils.orEmpty(argumentTypes);
         this.checkedExceptionTypes = 
PlasticInternalUtils.orEmpty(checkedExceptionTypes);

Reply via email to