if (hTextFlowTarget == null) {
return new GetTargetForLocaleResult(null);
} else {
String displayName = retrieveDisplayName(hTextFlowTarget.getLocale());
TextFlowTarget textFlowTarget = new TextFlowTarget(
new TextFlowTargetId(hTextFlowTarget.getId()),
action.getLocale(), hTextFlowTarget.getContents().get(0),
displayName);
return new GetTargetForLocaleResult(textFlowTarget);