OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 177 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 177 Rev 182
Line 1... Line 1...
1
/*
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 * 
3
 * 
4
 * Copyright 2011 OpenConcerto, by ILM Informatique. All rights reserved.
4
 * Copyright 2011-2019 OpenConcerto, by ILM Informatique. All rights reserved.
5
 * 
5
 * 
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
6
 * The contents of this file are subject to the terms of the GNU General Public License Version 3
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
7
 * only ("GPL"). You may not use this file except in compliance with the License. You can obtain a
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
8
 * copy of the License at http://www.gnu.org/licenses/gpl-3.0.html See the License for the specific
9
 * language governing permissions and limitations under the License.
9
 * language governing permissions and limitations under the License.
Line 979... Line 979...
979
            System.err.close();
979
            System.err.close();
980
        }
980
        }
981
    }
981
    }
982
 
982
 
983
    protected SQLElementDirectory createDirectory() {
983
    protected SQLElementDirectory createDirectory() {
984
        return new SQLElementDirectory();
984
        return new SQLElementDirectory(getSystemRoot());
985
    }
985
    }
986
 
986
 
987
    // Use resource name to be able to use absolute (beginning with /) or relative path (to this
987
    // Use resource name to be able to use absolute (beginning with /) or relative path (to this
988
    // class)
988
    // class)
989
    protected List<String> getMappings() {
989
    protected List<String> getMappings() {
Line 1199... Line 1199...
1199
                this.setRoot(this.createRoot());
1199
                this.setRoot(this.createRoot());
1200
            return this.root;
1200
            return this.root;
1201
        }
1201
        }
1202
    }
1202
    }
1203
 
1203
 
-
 
1204
    @Override
1204
    public final UserManager getUserManager() {
1205
    public final UserManager getUserManager() {
1205
        synchronized (this.treeLock) {
1206
        synchronized (this.treeLock) {
1206
            getRoot();
1207
            getRoot();
1207
            return this.uMngr;
1208
            return this.uMngr;
1208
        }
1209
        }
1209
    }
1210
    }
1210
 
1211
 
-
 
1212
    @Override
1211
    public final UserRightsManager getUserRightsManager() {
1213
    public final UserRightsManager getUserRightsManager() {
1212
        synchronized (this.treeLock) {
1214
        synchronized (this.treeLock) {
1213
            getRoot();
1215
            getRoot();
1214
            return this.urMngr;
1216
            return this.urMngr;
1215
        }
1217
        }