From: David ‘Bombe’ Roden Date: Fri, 16 May 2008 16:14:24 +0000 (+0000) Subject: use createProject from project manager X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=1e1cd8e1723b579781fb98ee2e1a3e07a1ca402f;p=jSite2.git use createProject from project manager git-svn-id: http://trooper/svn/projects/jSite/trunk@902 c3eda9e8-030b-0410-8277-bc7414b0a119 --- 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(); } //