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

fanningpj pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/poi.git


The following commit(s) were added to refs/heads/trunk by this push:
     new cc8b6d7591 Update XWPFTheme.java
cc8b6d7591 is described below

commit cc8b6d7591095c4b7e5185541bafcaf05e9ba50a
Author: PJ Fanning <[email protected]>
AuthorDate: Fri Jan 9 14:35:59 2026 +0100

    Update XWPFTheme.java
---
 .../src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java 
b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java
index b73311ef3f..13d4a07a5d 100644
--- a/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java
+++ b/poi-ooxml/src/main/java/org/apache/poi/xwpf/usermodel/XWPFTheme.java
@@ -142,7 +142,7 @@ public class XWPFTheme extends POIXMLDocumentPart {
     }
 
     /**
-     * @return typeface of the major font to use in a document.
+     * @return typeface of the major font to use in a document (possibly 
<code>null</code>).
      * Typically, the major font is used for heading areas of a document.
      *
      */
@@ -154,7 +154,7 @@ public class XWPFTheme extends POIXMLDocumentPart {
     }
 
     /**
-     * @return typeface of the minor font to use in a document.
+     * @return typeface of the minor font to use in a document (possibly 
<code>null</code>).
      * Typically, the minor font is used for normal text or paragraph areas.
      *
      */
@@ -167,7 +167,7 @@ public class XWPFTheme extends POIXMLDocumentPart {
 
     /**
      * @param script a 4-letter script code, e.g. "Latn", "Jpan"
-     * @return typeface of the major font for the given script
+     * @return typeface of the major font for the given script (possibly 
<code>null</code>)
      * @since 6.0.0
      */
     public String getMajorFontForScript(String script) {
@@ -177,7 +177,7 @@ public class XWPFTheme extends POIXMLDocumentPart {
 
     /**
      * @param script a 4-letter script code, e.g. "Latn", "Jpan"
-     * @return typeface of the minor font for the given script
+     * @return typeface of the minor font for the given script (possibly 
<code>null</code>)
      * @since 6.0.0
      */
     public String getMinorFontForScript(String script) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to