private void activate()

in src/main/java/org/apache/sling/launchpad/testservices/jcr/WorkspaceCreator.java [42:57]


    private void activate() {
        Session s = null;
        try {
            s = repo.loginAdministrative(null);
            Workspace w = s.getWorkspace();
            createWorkspace(w, "ws1");
            createWorkspace(w, "ws2");
            createWorkspace(w, "ws3");
        } catch (Exception e) {
            // ignore
        } finally {
            if (s != null) {
                s.logout();
            }
        }
    }