From e458192cf288adf397c267bd31caad758f71e3ef Mon Sep 17 00:00:00 2001 From: PJ Fanning Date: Thu, 1 May 2025 13:16:14 +0000 Subject: [PATCH] upgrade plugins git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1925353 13f79535-47bb-0310-9956-ffa450edef68 --- build.gradle | 4 ++-- poi/src/main/java/org/apache/poi/ss/util/CellUtil.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index e9db476c8c..38cd8fc15a 100644 --- a/build.gradle +++ b/build.gradle @@ -34,10 +34,10 @@ plugins { id 'com.dorongold.task-tree' version '4.0.1' id 'org.nosphere.apache.rat' version '0.8.1' id 'distribution' - id "com.github.spotbugs" version '6.1.9' + id "com.github.spotbugs" version '6.1.10' id 'de.thetaphi.forbiddenapis' version '3.9' id 'org.sonarqube' version '4.0.0.2929' - id 'org.cyclonedx.bom' version '2.2.0' + id 'org.cyclonedx.bom' version '2.3.0' id 'com.adarshr.test-logger' version '3.2.0' } diff --git a/poi/src/main/java/org/apache/poi/ss/util/CellUtil.java b/poi/src/main/java/org/apache/poi/ss/util/CellUtil.java index d5f8dc3d2c..e157bfa1fb 100644 --- a/poi/src/main/java/org/apache/poi/ss/util/CellUtil.java +++ b/poi/src/main/java/org/apache/poi/ss/util/CellUtil.java @@ -628,7 +628,7 @@ public final class CellUtil { // index seems like what index the cellstyle is in the list of styles for a workbook. // not good to compare on! - int numberCellStyles = workbook.getNumCellStyles(); + final int numberCellStyles = workbook.getNumCellStyles(); for (int i = 0; i < numberCellStyles; i++) { CellStyle wbStyle = workbook.getCellStyleAt(i);