You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by fa...@apache.org on 2023/02/11 11:26:03 UTC
svn commit: r1907578 - in /poi/trunk/poi/src/main/java/org/apache/poi: hpsf/ClassIDPredefined.java ss/format/CellDateFormatter.java
Author: fanningpj
Date: Sat Feb 11 11:26:03 2023
New Revision: 1907578
URL: http://svn.apache.org/viewvc?rev=1907578&view=rev
Log:
remove recently added volatile markers due to Sonarcloud warnings
Modified:
poi/trunk/poi/src/main/java/org/apache/poi/hpsf/ClassIDPredefined.java
poi/trunk/poi/src/main/java/org/apache/poi/ss/format/CellDateFormatter.java
Modified: poi/trunk/poi/src/main/java/org/apache/poi/hpsf/ClassIDPredefined.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/hpsf/ClassIDPredefined.java?rev=1907578&r1=1907577&r2=1907578&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/hpsf/ClassIDPredefined.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/hpsf/ClassIDPredefined.java Sat Feb 11 11:26:03 2023
@@ -112,7 +112,7 @@ public enum ClassIDPredefined {
}
private final String externalForm;
- private volatile ClassID classId;
+ private ClassID classId;
private final String fileExtension;
private final String contentType;
Modified: poi/trunk/poi/src/main/java/org/apache/poi/ss/format/CellDateFormatter.java
URL: http://svn.apache.org/viewvc/poi/trunk/poi/src/main/java/org/apache/poi/ss/format/CellDateFormatter.java?rev=1907578&r1=1907577&r2=1907578&view=diff
==============================================================================
--- poi/trunk/poi/src/main/java/org/apache/poi/ss/format/CellDateFormatter.java (original)
+++ poi/trunk/poi/src/main/java/org/apache/poi/ss/format/CellDateFormatter.java Sat Feb 11 11:26:03 2023
@@ -44,7 +44,7 @@ public class CellDateFormatter extends C
private static final int NUM_MILLISECONDS_IN_DAY = 1000 * 60 * 60 * 24;
- private static volatile CellDateFormatter SIMPLE_DATE_FORMATTER;
+ private static CellDateFormatter SIMPLE_DATE_FORMATTER;
class DatePartHandler implements CellFormatPart.PartHandler {
private int mStart = -1;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org