[FIXED JENKINS-24434] fix trim() usage
Merge pull request #29 from ilkerunaldi/master

[FIXED JENKINS-24434] fix trim() usage