From 1e1cd8e1723b579781fb98ee2e1a3e07a1ca402f Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 16 May 2008 16:14:24 +0000 Subject: [PATCH] use createProject from project manager git-svn-id: http://trooper/svn/projects/jSite/trunk@902 c3eda9e8-030b-0410-8277-bc7414b0a119 --- src/net/pterodactylus/jsite/core/CoreImpl.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/net/pterodactylus/jsite/core/CoreImpl.java b/src/net/pterodactylus/jsite/core/CoreImpl.java index b7ac2aa..93150f5 100644 --- a/src/net/pterodactylus/jsite/core/CoreImpl.java +++ b/src/net/pterodactylus/jsite/core/CoreImpl.java @@ -442,11 +442,7 @@ public class CoreImpl implements Core, NodeListener, RequestListener { * {@inheritDoc} */ public Project createProject() throws IOException, NoNodeException { - Project project = new Project(); - String[] keyPair = nodeManager.generateKeyPair(); - project.setPrivateKey(keyPair[0]); - project.setPublicKey(keyPair[1]); - return project; + return projectManager.createProject(); } // -- 2.7.4