move interface to primitive types

This commit is contained in:
2021-02-27 13:59:00 +00:00
parent b7301733f0
commit 45c1396e0e
25 changed files with 53 additions and 54 deletions

View File

@ -182,9 +182,9 @@ public class RelatedProperty extends AbstractPropertySection implements ISelecti
else if (columnIndex == 2 && element instanceof ITxRelation){
ITxRelation rel = (ITxRelation) element;
if(rel.getTarget()==iTr)
return ((ITxRelation) element).getSource().getId().toString();
return String.format("%d", ((ITxRelation) element).getSource().getId());
else
return ((ITxRelation) element).getTarget().getId().toString();
return String.format("%d", ((ITxRelation) element).getTarget().getId());
}
else
return null;