Changeset 28475

Show
Ignore:
Timestamp:
01/04/08 10:49:02 (1 year ago)
Author:
sfermigier
Message:

Whitespace, newlines, copyright.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • org.nuxeo.ecm.core/trunk/nuxeo-core-api/src/main/java/org/nuxeo/ecm/core/api/repository/impl/DocumentProviderManager.java

    r28346 r28475  
    4242    private Map<String, DocumentModel> cache = new Hashtable<String, DocumentModel>(); 
    4343    private Map<DocumentRef, String> refs = new Hashtable<DocumentRef, String>(); 
    44      
     44 
    4545    public void setSession(CoreSession session) { 
    4646        this.session = session; 
    4747    } 
    48      
     48 
    4949    public CoreSession getSession() { 
    5050        return session; 
     
    6363        } 
    6464        if (docId != null) { 
    65             return cache.get(docId);             
     65            return cache.get(docId); 
    6666        } 
    6767        return null; 
    6868    } 
    69      
     69 
    7070    private DocumentModel cacheDocument(DocumentModel docModel) { 
    7171        String docId = docModel.getId(); 
     
    145145        return cacheDocument(session.getChild(parent, name)); 
    146146    } 
    147      
     147 
    148148    /** 
    149149     * @return the parent document or null if this is the root document 
     
    156156            return null; 
    157157        } 
    158          
     158 
    159159        return cacheDocument(parent); 
    160