aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/egiz/pdfas/impl/api
diff options
context:
space:
mode:
authorpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 15:09:42 +0000
committerpdanner <pdanner@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2010-12-10 15:09:42 +0000
commit9d6b686b486e9c44f01a461789bacd590a2438ee (patch)
tree1312eef766786700829c493d49789fc2ed596041 /src/main/java/at/gv/egiz/pdfas/impl/api
parent1faaccc18a3ccbc7b827da8956fb9783e9713228 (diff)
downloadpdf-as-3-9d6b686b486e9c44f01a461789bacd590a2438ee.tar.gz
pdf-as-3-9d6b686b486e9c44f01a461789bacd590a2438ee.tar.bz2
pdf-as-3-9d6b686b486e9c44f01a461789bacd590a2438ee.zip
Changed defaultvalue of enable_placeholder_search config parameter to false
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@702 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src/main/java/at/gv/egiz/pdfas/impl/api')
-rw-r--r--src/main/java/at/gv/egiz/pdfas/impl/api/PdfAsObject.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/gv/egiz/pdfas/impl/api/PdfAsObject.java b/src/main/java/at/gv/egiz/pdfas/impl/api/PdfAsObject.java
index 1cb158e..5d4fec5 100644
--- a/src/main/java/at/gv/egiz/pdfas/impl/api/PdfAsObject.java
+++ b/src/main/java/at/gv/egiz/pdfas/impl/api/PdfAsObject.java
@@ -673,7 +673,7 @@ public class PdfAsObject implements PdfAs
SettingsReader settings = SettingsReader.getInstance();
- // check sig_obj.PROFILID.enable_placeholder_search
+ // check sig_obj.PROFILEID.enable_placeholder_search
String profile = signParameters.getSignatureProfileId();
if (profile == null)
profile = defaultProfile;
@@ -685,9 +685,9 @@ public class PdfAsObject implements PdfAs
enableSearchString = settings.getValueFromKey(ENABLE_PLACEHOLDER_SEARCH_KEY);
}
- boolean enableSearch = true;
- if (enableSearchString != null && enableSearchString.trim().equalsIgnoreCase("false"))
- enableSearch = false;
+ boolean enableSearch = false;
+ if (enableSearchString != null && enableSearchString.trim().equalsIgnoreCase("true"))
+ enableSearch = true;
if (enableSearch)
{