Author: adamw
Date: 2005-08-18 14:55:45 -0400 (Thu, 18 Aug 2005)
New Revision: 900
Modified:
trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/service/ForgeManagement.java
trunk/forge/portal-extensions/forge-contributor/src/java/org/jboss/forge/contributor/ConServer.java
trunk/forge/portal-extensions/forge-service/src/java/org/jboss/forge/service/ForgeService.java
Log:
Metod rename
Modified: trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/service/ForgeManagement.java
===================================================================
--- trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/service/ForgeManagement.java 2005-08-18 18:48:58 UTC (rev 899)
+++ trunk/forge/portal-extensions/forge-common/src/java/org/jboss/forge/common/service/ForgeManagement.java 2005-08-18 18:55:45 UTC (rev 900)
@@ -48,10 +48,11 @@
*/
public Object forceNodeUpdate(String portalName, String key);
/**
- * Adds a resource to commit queue.
- * @param name Name of the resource to commit. The name must be root-relative.
+ * Adds a resource or catalogue to commit queue.
+ * @param name Name of the resource or catalogue to commit. The name must
+ * be root-relative.
*/
- public void addResourceToCommit(String name);
+ public void addToCommit(String name);
/**
* Updates the forge:
* - updates the repo
Modified: trunk/forge/portal-extensions/forge-contributor/src/java/org/jboss/forge/contributor/ConServer.java
===================================================================
--- trunk/forge/portal-extensions/forge-contributor/src/java/org/jboss/forge/contributor/ConServer.java 2005-08-18 18:48:58 UTC (rev 899)
+++ trunk/forge/portal-extensions/forge-contributor/src/java/org/jboss/forge/contributor/ConServer.java 2005-08-18 18:55:45 UTC (rev 900)
@@ -77,7 +77,7 @@
}
private void addToToCommit(String toAdd) {
- forgeHelper.getForgeManagement().addResourceToCommit(toAdd);
+ forgeHelper.getForgeManagement().addToCommit(toAdd);
}
ResourceBundle getMessages() {
Modified: trunk/forge/portal-extensions/forge-service/src/java/org/jboss/forge/service/ForgeService.java
===================================================================
--- trunk/forge/portal-extensions/forge-service/src/java/org/jboss/forge/service/ForgeService.java 2005-08-18 18:48:58 UTC (rev 899)
+++ trunk/forge/portal-extensions/forge-service/src/java/org/jboss/forge/service/ForgeService.java 2005-08-18 18:55:45 UTC (rev 900)
@@ -60,7 +60,7 @@
return initialValue;
}
- public void addResourceToCommit(String name) {
+ public void addToCommit(String name) {
synchronized (toCommit) {
toCommit.add(name);
}
|