Project

General

Profile

« Previous | Next » 

Revision 801f7c6e

Added by Andreas Müller almost 7 years ago

ref #6754 fix name relationship bug and some cleanup

View differences:

cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/common/IoResultBase.java
189 189
        if (!list.isEmpty()){
190 190
            report.append("\n\n" + label + ":\n" + StringUtils.leftPad("", label.length()+1, "="));
191 191
            for (IoInfo ioInfo : list){
192
                String codeLocation = ioInfo.codeLocation == null ? "" : (ioInfo.codeLocation + ": ");
193
                String dataLocation = ioInfo.dataLocation == null ? "" : ( "[" + ioInfo.dataLocation + "]");
192
                String codeLocation = ioInfo.codeLocation == null ? "" : ( "[" + ioInfo.codeLocation + "]");
193
                String dataLocation = ioInfo.dataLocation == null ? "" : (ioInfo.dataLocation + ": ");
194 194
                String message = ioInfo.message != null ? ioInfo.message : ioInfo.exception != null ? ioInfo.exception.getMessage() : "";
195 195

  
196 196
                message = StringUtils.isBlank(message)? "no message" : message;

Also available in: Unified diff