You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by sn...@apache.org on 2006/04/21 04:11:40 UTC

svn commit: r395756 - in /incubator/roller/trunk: sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java web/WEB-INF/classes/roller.properties

Author: snoopdave
Date: Thu Apr 20 19:11:34 2006
New Revision: 395756

URL: http://svn.apache.org/viewcvs?rev=395756&view=rev
Log:
blahblah.enabled is the more convetional

Modified:
    incubator/roller/trunk/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java
    incubator/roller/trunk/src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java
    incubator/roller/trunk/web/WEB-INF/classes/roller.properties

Modified: incubator/roller/trunk/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java?rev=395756&r1=395755&r2=395756&view=diff
==============================================================================
--- incubator/roller/trunk/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java (original)
+++ incubator/roller/trunk/sandbox/atomadminprotocol/src/org/roller/presentation/atomadminapi/Handler.java Thu Apr 20 19:11:34 2006
@@ -90,7 +90,7 @@
     public static Handler getHandler(HttpServletRequest req) throws HandlerException {
         
          boolean enabled = RollerConfig.getBooleanProperty(
-              "webservices.adminprotocol.enable");
+              "webservices.adminprotocol.enabled");
          if (!enabled) { 
               throw new NotAllowedException("ERROR: Admin protocol not enabled");    
          }

Modified: incubator/roller/trunk/src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java?rev=395756&r1=395755&r2=395756&view=diff
==============================================================================
--- incubator/roller/trunk/src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java (original)
+++ incubator/roller/trunk/src/org/roller/presentation/webservices/atomprotocol/AtomServlet.java Thu Apr 20 19:11:34 2006
@@ -68,7 +68,7 @@
     private AtomHandler createAtomRequestHandler(HttpServletRequest request) 
     throws ServletException {
         boolean enabled = RollerConfig.getBooleanProperty(
-            "webservices.atomprotocol.enable");
+            "webservices.atomprotocol.enabled");
         if (!enabled) {
             throw new ServletException("ERROR: Atom protocol not enabled");
         }

Modified: incubator/roller/trunk/web/WEB-INF/classes/roller.properties
URL: http://svn.apache.org/viewcvs/incubator/roller/trunk/web/WEB-INF/classes/roller.properties?rev=395756&r1=395755&r2=395756&view=diff
==============================================================================
--- incubator/roller/trunk/web/WEB-INF/classes/roller.properties (original)
+++ incubator/roller/trunk/web/WEB-INF/classes/roller.properties Thu Apr 20 19:11:34 2006
@@ -352,7 +352,7 @@
 # Atom Publishing Protocol (APP) - this is an incomplete and untested 
 # implementation of an unfinished IETF specification. Intended only for 
 # interoperability testing. DO NOT ENABLE IN PRODUCTION!
-webservices.atomprotocol.enable=false
+webservices.atomprotocol.enabled=false
 
 #----------------------------------
 # legacy settings (thing that should be deprecated