[aXSL-commit] SF.net SVN: axsl:[2979] trunk/axsl/axsl-constants/src /main/java/org/axsl/constants/T
An API for XSL-FO.
Status: Alpha
Brought to you by:
victormote
|
From: <vic...@us...> - 2026-03-06 17:28:03
|
Revision: 2979
http://sourceforge.net/p/axsl/code/2979
Author: victormote
Date: 2026-03-06 17:28:01 +0000 (Fri, 06 Mar 2026)
Log Message:
-----------
Remove unneeded constant in favor of using new method.
Modified Paths:
--------------
trunk/axsl/axsl-constants/src/main/java/org/axsl/constants/TypographicConstants.java
Modified: trunk/axsl/axsl-constants/src/main/java/org/axsl/constants/TypographicConstants.java
===================================================================
--- trunk/axsl/axsl-constants/src/main/java/org/axsl/constants/TypographicConstants.java 2026-03-06 17:05:25 UTC (rev 2978)
+++ trunk/axsl/axsl-constants/src/main/java/org/axsl/constants/TypographicConstants.java 2026-03-06 17:28:01 UTC (rev 2979)
@@ -32,7 +32,6 @@
/**
* Well-known constant used to convert millipoints to/from points, which is {@value}.
- * @see #MILLIPOINTS_PER_POINT_BD for the BigDecimal equivalent.
*/
public static final int MILLIPOINTS_PER_POINT = 1_000;
@@ -44,14 +43,6 @@
public static final int MILLIPOINTS_TO_POINTS_SCALE = 3;
/**
- * Well-known constant used to convert millipoints to/from points, which is 1000.
- * @see #MILLIPOINTS_PER_POINT for the primitive equivalent.
- * @apiNote Both primitive and {@link BigDecimal} constants are maintained in this class to avoid unnecessary
- * conversions when used in computations.
- */
- public static final BigDecimal MILLIPOINTS_PER_POINT_BD = BigDecimal.valueOf(MILLIPOINTS_PER_POINT);
-
- /**
* The number of points per inch, which is {@value}.
* A "point" is a somewhat nebulous term, but here we use the term as standardized by Adobe in their concept of text
* space units.
@@ -61,7 +52,7 @@
/** The number of picas per inch, which is {@value}. */
public static final int PICAS_PER_INCH = 6;
- /** The number of decipoints per point, that is, 10. */
+ /** The number of decipoints per point, which is {@value}. */
public static final int DECIPOINTS_PER_POINT = 10;
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|