modify display string of relationship resource and code formattings RESTWS-281

By the way, we also put spaces after "if" and before the parentheses, i.e. the formatting here should actually be:
"if (relationshipType == null) {"