Project

General

Profile

« Previous | Next » 

Revision 67fc6d9b

Added by Cherian Mathew over 8 years ago

#5282 Use null session in referencing objects view

View differences:

eu.etaxonomy.taxeditor.cdmlib/src/main/java/eu/etaxonomy/taxeditor/session/NullSession.java
203 203
     */
204 204
    @Override
205 205
    public List<String> getPropertyPaths(Object obj) {
206
        if(sessionOwner == null) {
207
            return null;
208
        }
206 209
        Map<Object, List<String>> propertyPathsMap = sessionOwner.getPropertyPathsMap();
207 210
        if(propertyPathsMap == null || propertyPathsMap.isEmpty()) {
208 211
            return null;

Also available in: Unified diff