8
Jere
8y

It equals what? Took a moment for me to understand that line :D

Comments
  • 0
    So if it's blank.. then add an underscore?
  • 2
    @fyroc no then add nothing.
  • 0
    It's always blank?
  • 1
    If the string is empty, then return empty, if not return the underscore. Basically it wants to override any actual string the getName() returns
  • 0
    Codesmell.
  • 1
    My guess is (not all code is visible) that if the trailing end of the concatenated string is not empty, a underscore is used as delimiter.
Add Comment