You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2025/10/19 10:43:51 UTC

(causeway) branch CAUSEWAY-3866 updated: CAUSEWAY-3866: removes reference to JScience

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


The following commit(s) were added to refs/heads/CAUSEWAY-3866 by this push:
     new 6d6c0cf2da6 CAUSEWAY-3866: removes reference to JScience
6d6c0cf2da6 is described below

commit 6d6c0cf2da615dd0557572e188102df5b119ffa9
Author: Dan Haywood <da...@haywood-associates.co.uk>
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);
-//     }
-// }
-