From 82a5fd645148a40ecd6ed336a391a992b5c25dd1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Fri, 4 Mar 2016 21:40:14 +0100 Subject: [PATCH] Log also return null --- .../org/mxchange/jjobs/converter/country/CountryConverter.java | 3 +++ .../jjobs/converter/smsprovider/SmsProviderConverter.java | 3 +++ src/java/org/mxchange/jjobs/converter/user/UserConverter.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java b/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java index 0300b081..2f82e377 100644 --- a/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java +++ b/src/java/org/mxchange/jjobs/converter/country/CountryConverter.java @@ -80,6 +80,9 @@ public class CountryConverter implements Converter { // Is the value null or empty? if ((null == submittedValue) || (submittedValue.trim().isEmpty())) { + // Trace message + this.loggerBeanLocal.logTrace("getAsObject: submittedValue is null or empty - EXIT!"); //NOI18N + // Return null return null; } diff --git a/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java b/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java index a8ffcb0a..cd9df8eb 100644 --- a/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java +++ b/src/java/org/mxchange/jjobs/converter/smsprovider/SmsProviderConverter.java @@ -80,6 +80,9 @@ public class SmsProviderConverter implements Converter { // Is the value null or empty? if ((null == submittedValue) || (submittedValue.trim().isEmpty())) { + // Trace message + this.loggerBeanLocal.logTrace("getAsObject: submittedValue is null or empty - EXIT!"); //NOI18N + // Return null return null; } diff --git a/src/java/org/mxchange/jjobs/converter/user/UserConverter.java b/src/java/org/mxchange/jjobs/converter/user/UserConverter.java index d750d73c..5acb89e7 100644 --- a/src/java/org/mxchange/jjobs/converter/user/UserConverter.java +++ b/src/java/org/mxchange/jjobs/converter/user/UserConverter.java @@ -79,6 +79,9 @@ public class UserConverter implements Converter { // Is the value null or empty? if ((null == submittedValue) || (submittedValue.trim().isEmpty())) { + // Trace message + this.loggerBeanLocal.logTrace("getAsObject: submittedValue is null or empty - EXIT!"); //NOI18N + // Return null return null; } -- 2.39.5