This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch CAUSEWAY-3866 in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 04a22bef8f46d6d3f43b379495e12980e76e0663 Author: Dan Haywood <[email protected]> AuthorDate: Sun Oct 19 11:43:45 2025 +0100 CAUSEWAY-3866: removes reference to JScience --- .../userguide/modules/ROOT/pages/value-types.adoc | 37 ---------------------- 1 file changed, 37 deletions(-) diff --git a/antora/components/userguide/modules/ROOT/pages/value-types.adoc b/antora/components/userguide/modules/ROOT/pages/value-types.adoc index 504ae39451a..c3f08c49783 100644 --- a/antora/components/userguide/modules/ROOT/pages/value-types.adoc +++ b/antora/components/userguide/modules/ROOT/pages/value-types.adoc @@ -599,40 +599,3 @@ If using within the database then you will also need to map the custom type to t If using the xref:pjpa::about.adoc[JPA/EclipseLink] object store, use `@Embedded` and `@Embeddable`; see for example link:https://www.baeldung.com/jpa-embedded-embeddable[this baeldung post] on the topic. - - -// == 3rd party library -// -// TODO: show JScience temperature, say. - -// import javax.measure.Quantity; -// import javax.measure.quantity.Temperature; -// import tech.units.indriya.quantity.Quantities; -// import tech.units.indriya.unit.Units; -// -// public class TemperatureConversionExample { -// public static void main(String[] args) { -// // Create a Quantity representing a temperature of 25 degrees Celsius -// Quantity<Temperature> celsius = Quantities.getQuantity(25, Units.CELSIUS); -// -// // Convert Celsius to Fahrenheit -// Quantity<Temperature> fahrenheit = celsius.to(Units.FAHRENHEIT); -// System.out.println("Temperature in Fahrenheit: " + fahrenheit); -// -// // Convert Celsius to Kelvin -// Quantity<Temperature> kelvin = celsius.to(Units.KELVIN); -// System.out.println("Temperature in Kelvin: " + kelvin); -// -// // Create a Quantity representing a temperature of 68 degrees Fahrenheit -// Quantity<Temperature> fahrenheit2 = Quantities.getQuantity(68, Units.FAHRENHEIT); -// -// // Convert Fahrenheit to Celsius -// Quantity<Temperature> celsius2 = fahrenheit2.to(Units.CELSIUS); -// System.out.println("Temperature in Celsius: " + celsius2); -// -// // Convert Fahrenheit to Kelvin -// Quantity<Temperature> kelvin2 = fahrenheit2.to(Units.KELVIN); -// System.out.println("Temperature in Kelvin: " + kelvin2); -// } -// } -
