From: David ‘Bombe’ Roden Date: Fri, 23 May 2008 19:34:16 +0000 (+0000) Subject: protect keys from being changed X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=ffb4c30743497598db6103e976e4c35fcd880c35;p=jSite2.git protect keys from being changed git-svn-id: http://trooper/svn/projects/jSite/trunk@943 c3eda9e8-030b-0410-8277-bc7414b0a119 --- diff --git a/src/net/pterodactylus/jsite/project/Project.java b/src/net/pterodactylus/jsite/project/Project.java index 5a3b848..71a3736 100644 --- a/src/net/pterodactylus/jsite/project/Project.java +++ b/src/net/pterodactylus/jsite/project/Project.java @@ -141,7 +141,7 @@ public class Project extends AbstractBean { * @param publicKey * The public key of the project */ - public void setPublicKey(String publicKey) { + void setPublicKey(String publicKey) { String oldPublicKey = this.publicKey; this.publicKey = publicKey; fireIfPropertyChanged(PROPERTY_PUBLIC_KEY, oldPublicKey, publicKey); @@ -162,7 +162,7 @@ public class Project extends AbstractBean { * @param privateKey * The private key of the project */ - public void setPrivateKey(String privateKey) { + void setPrivateKey(String privateKey) { String oldPrivateKey = this.privateKey; this.privateKey = privateKey; fireIfPropertyChanged(PROPERTY_PRIVATE_KEY, oldPrivateKey, privateKey);