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

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 13d4710545 NIFI-12960 Corrected default Protection Type in ExcelReader
13d4710545 is described below

commit 13d471054547eb3a8087f331d7bf62676112df5c
Author: exceptionfactory <exceptionfact...@apache.org>
AuthorDate: Wed Apr 24 23:40:45 2024 -0500

    NIFI-12960 Corrected default Protection Type in ExcelReader
---
 .../src/main/java/org/apache/nifi/excel/ExcelReader.java                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/excel/ExcelReader.java
 
b/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/excel/ExcelReader.java
index 24d47f3a75..3564c5af7b 100644
--- 
a/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/excel/ExcelReader.java
+++ 
b/nifi-nar-bundles/nifi-poi-bundle/nifi-poi-services/src/main/java/org/apache/nifi/excel/ExcelReader.java
@@ -118,7 +118,7 @@ public class ExcelReader extends SchemaRegistryService 
implements RecordReaderFa
             .description("Specifies whether an Excel spreadsheet is protected 
by a password or not.")
             .required(true)
             .allowableValues(ProtectionType.class)
-            .defaultValue(ProtectionType.UNPROTECTED)
+            .defaultValue(ProtectionType.UNPROTECTED.getValue())
             .build();
 
     public static final PropertyDescriptor PASSWORD = new PropertyDescriptor

Reply via email to