Project

General

Profile

Revision 4ebd1ae8

ID4ebd1ae8e3bbef2a778b071e77df6c659cb7c3da
Parent 5af794eb
Child 820ca4ec

Added by Katja Luther 8 months ago

code cleaning

View differences:

cdmlib-services/src/main/java/eu/etaxonomy/cdm/api/service/TaxonNodeServiceImpl.java
1151 1151
        for(TaxonNode node:nodes){
1152 1152
            if (authentication != null ) {
1153 1153
                hasPermission = permissionEvaluator.hasPermission(authentication, node, Operation.UPDATE);
1154
            }else if (authentication == null){
1154
            }else {
1155 1155
                hasPermission = true;
1156 1156
            }
1157 1157
            if (node.getTaxon() != null && hasPermission){
......
1159 1159
                    TaxonDistributionDTO dto = new TaxonDistributionDTO(node.getTaxon());
1160 1160
                    result.add(dto);
1161 1161
                }catch(Exception e){
1162
                    System.err.println(node.getTaxon().getTitleCache());
1162
                    logger.error(e.getMessage(), e);
1163 1163
                }
1164 1164

  
1165 1165
            }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)