When constructing the DuplicateTransUnitIdInXliff exception, it would be useful to know which trans-unit id was duplicate. As the unique check only relies on counting the array values, the uniqueness-check should be refactored.
When constructing the DuplicateTransUnitIdInXliff exception, it would be useful to know which trans-unit id was duplicate.
As the unique check only relies on counting the array values, the uniqueness-check should be refactored.