Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-smf-form
Commits
c9fe67a5
Commit
c9fe67a5
authored
2 years ago
by
nivetha
Browse files
Options
Download
Patches
Plain Diff
logger info
parent
8d605ea9
master
bulk-download
cvs_download
delete-form
emailContentUpdate
inspection-flow-changes
institute-district
lat-long
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/formservice/utils/ValidationService.java
+5
-1
...java/com/tarento/formservice/utils/ValidationService.java
with
5 additions
and
1 deletion
+5
-1
src/main/java/com/tarento/formservice/utils/ValidationService.java
+
5
−
1
View file @
c9fe67a5
...
...
@@ -6,6 +6,8 @@ import java.util.Map;
import
java.util.concurrent.ConcurrentHashMap
;
import
org.apache.commons.lang.StringUtils
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.stereotype.Service
;
import
com.fasterxml.jackson.core.JsonProcessingException
;
...
...
@@ -19,6 +21,8 @@ import com.tarento.formservice.models.FormDetail;
@Service
public
class
ValidationService
{
public
static
final
Logger
LOGGER
=
LoggerFactory
.
getLogger
(
ValidationService
.
class
);
public
String
validateCreateForm
(
FormDetail
form
)
throws
JsonProcessingException
{
if
(
form
==
null
)
{
...
...
@@ -136,7 +140,7 @@ public class ValidationService {
}
return
dataObjectMap
;
}
catch
(
Exception
e
)
{
e
.
printStackTrace
(
);
LOGGER
.
error
(
String
.
format
(
Constants
.
EXCEPTION
,
"removeEmptyFields"
,
e
.
getMessage
())
);
}
return
dataObject
;
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets