|
From: <jbo...@li...> - 2005-09-28 20:59:37
|
Author: adamw Date: 2005-09-28 16:59:32 -0400 (Wed, 28 Sep 2005) New Revision: 1233 Modified: trunk/forge/portal-extensions/forge-common/src/etc/org/jboss/forge/common/forge.properties.sample trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/ForgeProperties.java Log: Deleted unneccessary properties Modified: trunk/forge/portal-extensions/forge-common/src/etc/org/jboss/forge/common/forge.properties.sample =================================================================== --- trunk/forge/portal-extensions/forge-common/src/etc/org/jboss/forge/common/forge.properties.sample 2005-09-28 20:52:35 UTC (rev 1232) +++ trunk/forge/portal-extensions/forge-common/src/etc/org/jboss/forge/common/forge.properties.sample 2005-09-28 20:59:32 UTC (rev 1233) @@ -1,14 +1,3 @@ -# Path to a svn repository from which content will be checked out. -# example: -# svnpath=https://cms.labs.jboss.com/trunk/forge/portal-content -svnpath= -# Authorization for the svn repo. -svnusername= -svnpassword= -# Local path to where the content will be checked out. -# example: -# localpath=/usr/local/forge/portal/content -localpath= # Local path where blojsom stores the entries. # example: # blogpath=/usr/local/forge/portal/blog Modified: trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/ForgeProperties.java =================================================================== --- trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/ForgeProperties.java 2005-09-28 20:52:35 UTC (rev 1232) +++ trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/ForgeProperties.java 2005-09-28 20:59:32 UTC (rev 1233) @@ -4,23 +4,7 @@ import java.util.Properties; public class ForgeProperties { - /** - * <code>svnPath</code> - path to the svn repository - */ - private String svnPath; /** - * <code>svnUsername</code> - a username to access the svn repository - */ - private String svnUsername; - /** - * <code>svnPassword</code> - a password to access the svn repository - */ - private String svnPassword; - /** - * <code>localPath</code> - path to a local working copy - */ - private String localPath; - /** * <code>blogPath</code> - path to the local blog content */ private String blogPath; @@ -45,10 +29,6 @@ throw new RuntimeException("Error loading properties"); } - svnPath = properties.getProperty("svnpath"); - svnUsername = properties.getProperty("svnusername"); - svnPassword = properties.getProperty("svnpassword"); - localPath = properties.getProperty("localpath"); blogPath = properties.getProperty("blogpath"); smtpServer = properties.getProperty("smtpserver"); contribAdmin = properties.getProperty("contribadmin"); @@ -62,23 +42,7 @@ return contribAdmin; } - String getLocalPath() { - return localPath; - } - String getSmtpServer() { return smtpServer; } - - String getSvnPassword() { - return svnPassword; - } - - String getSvnPath() { - return svnPath; - } - - String getSvnUsername() { - return svnUsername; - } } |