Project

General

Profile

Revision 5a43982d

ID5a43982d4f63e0ce9830e5a208c305bf0e919430
Parent 370c23ac
Child 8317f888

Added by Andreas Müller over 1 year ago

cleanup

View differences:

cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/SingleSourcedEntityBase.java
87 87
        return source == null ? null : this.source.getCitationMicroReference();
88 88
    }
89 89
    public void setCitationMicroReference(String microReference) {
90
        this.getSource(true).setCitationMicroReference(StringUtils.isBlank(microReference)? null : microReference);
90
        this.getSource(true).setCitationMicroReference(isBlank(microReference)? null : microReference);
91 91
        checkNullSource();
92 92
    }
93 93

  
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/SecurityTest.java
66 66
import eu.etaxonomy.cdm.persistence.query.MatchMode;
67 67
import eu.etaxonomy.cdm.test.unitils.CleanSweepInsertLoadStrategy;
68 68

  
69

  
70 69
@DataSet(loadStrategy=CleanSweepInsertLoadStrategy.class)
71 70
public class SecurityTest extends AbstractSecurityTestBase{
72 71

  
......
110 109

  
111 110
    private Authentication authentication;
112 111

  
113

  
114 112
    /**
115 113
     * no assertions in this test, since it is only used to create password hashes for test data
116 114
     */
cdmlib-services/src/test/java/eu/etaxonomy/cdm/api/service/taxonGraph/TaxonGraphHibernateListenerTest.java
191 191
            List<TaxonGraphEdgeDTO> edges = taxonGraphDao.edges(nameDao.load(uuid_n_trachelomonas_a), nameDao.load(uuid_n_trachelomonas), true);
192 192
            Assert.assertEquals(1, edges.size());
193 193
            Assert.assertEquals(refX.getUuid(), edges.get(0).getCitationUuid());
194

  
195 194
        } finally {
196 195
            rollback();
197 196
        }

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)