protect keys from being changed
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 May 2008 19:34:16 +0000 (19:34 +0000)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 May 2008 19:34:16 +0000 (19:34 +0000)
git-svn-id: http://trooper/svn/projects/jSite/trunk@943 c3eda9e8-030b-0410-8277-bc7414b0a119

src/net/pterodactylus/jsite/project/Project.java

index 5a3b848..71a3736 100644 (file)
@@ -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);