[prev in list] [next in list] [prev in thread] [next in thread] 

List:       velocity-dev
Subject:    =?utf-8?q?=5BPR=5D_Support_Java_16_records_in_property_lookup_=5Bvelocity-en?= =?utf-8?q?gine=5D?=
From:       jtotht_(via_GitHub) <git () apache ! org>
Date:       2024-04-14 13:10:05
Message-ID: PR_kwDOAN72MM5smNlV () gitbox ! apache ! org
[Download RAW message or body]


jtotht opened a new pull request, #45:
URL: https://github.com/apache/velocity-engine/pull/45

   Java 16 records (JEP 395) are a perfect fit for Velocity variables: they are \
lightweight and desgined to contain immutable data. However, records don't follow the \
JavaBean convention: the getter of the field `foo` is `foo()`, not `getFoo()`. Add \
support for this naming convention.  
   While this naming convention is mostly useful in projects using Java 16 records, \
the patch itself doesn't rely on records, so it doesn't break Java 1.8 compatibility.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic