diff options
Diffstat (limited to 'pdf-over-commons/src')
-rw-r--r-- | pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java index 34014cc7..dc6d0960 100644 --- a/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java +++ b/pdf-over-commons/src/main/java/at/asit/pdfover/commons/Profile.java @@ -28,11 +28,11 @@ public enum Profile { return SIGNATURBLOCK_SMALL.name(); } - public static String getSignatureBlockNoteTextAccordingToProfile(Profile profile, Locale locale){ + public String getDefaultSignatureBlockNote(Locale locale){ - if (profile.equals(Profile.SIGNATURBLOCK_SMALL)){ + if (this == Profile.SIGNATURBLOCK_SMALL){ return Messages.getString("simple_config.Note_Default_Standard", locale); - } else if (profile.equals(Profile.AMTSSIGNATURBLOCK)){ + } else if (this == Profile.AMTSSIGNATURBLOCK) { return Messages.getString("simple_config.Note_Default_OfficialSignature", locale); } else { return ""; |