You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wookie.apache.org by sc...@apache.org on 2010/02/26 13:38:24 UTC
svn commit: r916663 - in
/incubator/wookie/trunk/src/org/apache/wookie/controller: Controller.java
ParticipantsController.java
Author: scottbw
Date: Fri Feb 26 12:38:23 2010
New Revision: 916663
URL: http://svn.apache.org/viewvc?rev=916663&view=rev
Log:
Raised visibility of some controller methods to enable their reuse in other code.
Modified:
incubator/wookie/trunk/src/org/apache/wookie/controller/Controller.java
incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java
Modified: incubator/wookie/trunk/src/org/apache/wookie/controller/Controller.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/controller/Controller.java?rev=916663&r1=916662&r2=916663&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/controller/Controller.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/controller/Controller.java Fri Feb 26 12:38:23 2010
@@ -181,7 +181,7 @@
* @param the request
* @return the resource name
*/
- protected String locateRESTname(HttpServletRequest request) {
+ public static String locateRESTname(HttpServletRequest request) {
String path = request.getPathInfo(); // may be null, plain name or name plus
// params
if (path == null) {
Modified: incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java
URL: http://svn.apache.org/viewvc/incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java?rev=916663&r1=916662&r2=916663&view=diff
==============================================================================
--- incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java (original)
+++ incubator/wookie/trunk/src/org/apache/wookie/controller/ParticipantsController.java Fri Feb 26 12:38:23 2010
@@ -139,7 +139,7 @@
* @param participantThumbnailUrl the thumbnail url property of the participant to add
* @return true if the participant was successfully added, otherwise false
*/
- private static boolean addParticipantToWidgetInstance(WidgetInstance instance,
+ public static boolean addParticipantToWidgetInstance(WidgetInstance instance,
String participantId, String participantDisplayName,
String participantThumbnailUrl) {