Commit 4441c5d7 authored by cheremnov's avatar cheremnov
Browse files

#143 fix PMD

parent b37cde2c
......@@ -10,7 +10,7 @@ public abstract class AbstractNamedIdentifiableConverter
@Override
public O convert(I input) {
final O output = super.convert(input);
output.setName(input.getName() != null ? input.getName().trim() : null);
output.setName(input.getName() == null ? null : input.getName().trim());
output.setDescription(input.getDescription());
return output;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment