You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jspwiki.apache.org by ju...@apache.org on 2013/02/08 21:44:46 UTC

svn commit: r1444229 - in /incubator/jspwiki/trunk: ChangeLog doc/2.10-API.txt src/org/apache/wiki/Release.java

Author: juanpablo
Date: Fri Feb  8 20:44:46 2013
New Revision: 1444229

URL: http://svn.apache.org/r1444229
Log:
  * 2.9.1-svn-24
  
  * Decoupled Preferences from WikiContext, effectively meaning that the following methods are 
    now deprecated
     -> WikiContext#getBundle( String ) in favour of Preferences#getBundle( WikiContext, String )
     -> WikiContext#getLocale( WikiContext ) in favour of Preferences#getLocale( WikiContext )
     -> WikiContext#hasAccess( HttpServletResponse ) in favour of 
        AuthorizationManager#hasAccess( HttpServletResponse )
     -> WikiContext#hasAccess( HttpServletResponse, boolean ) in favour of 
        AuthorizationManager#hasAccess( HttpServletResponse, boolean )

Modified:
    incubator/jspwiki/trunk/ChangeLog
    incubator/jspwiki/trunk/doc/2.10-API.txt
    incubator/jspwiki/trunk/src/org/apache/wiki/Release.java

Modified: incubator/jspwiki/trunk/ChangeLog
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/ChangeLog?rev=1444229&r1=1444228&r2=1444229&view=diff
==============================================================================
--- incubator/jspwiki/trunk/ChangeLog (original)
+++ incubator/jspwiki/trunk/ChangeLog Fri Feb  8 20:44:46 2013
@@ -1,3 +1,16 @@
+2013-02-08  Juan Pablo Santos (juanpablo AT apache DOT org)
+
+       * 2.9.1-svn-24
+       
+       * Decoupled Preferences from WikiContext, effectively meaning that the following methods are 
+         now deprecated
+          -> WikiContext#getBundle( String ) in favour of Preferences#getBundle( WikiContext, String )
+          -> WikiContext#getLocale( WikiContext ) in favour of Preferences#getLocale( WikiContext )
+          -> WikiContext#hasAccess( HttpServletResponse ) in favour of 
+             AuthorizationManager#hasAccess( HttpServletResponse )
+          -> WikiContext#hasAccess( HttpServletResponse, boolean ) in favour of 
+             AuthorizationManager#hasAccess( HttpServletResponse, boolean )
+
 2013-01-28  Harry Metske <me...@apache.org>
 
        * 2.9.1-svn-23

Modified: incubator/jspwiki/trunk/doc/2.10-API.txt
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/doc/2.10-API.txt?rev=1444229&r1=1444228&r2=1444229&view=diff
==============================================================================
--- incubator/jspwiki/trunk/doc/2.10-API.txt (original)
+++ incubator/jspwiki/trunk/doc/2.10-API.txt Fri Feb  8 20:44:46 2013
@@ -35,6 +35,16 @@ api.plugin
  -> all classes / methods anotated with @Deprecated because of the API changes will be removed 
        in 2.10 timeframe
 
+org.apache.wiki.WikiContext
+ -> @Deprecated WikiContext.getBundle( String ) in favour of  
+    Preferences.getBundle( String )
+ -> @Deprecated WikiContext.getLocale( WikiContext ) in favour of  
+    Preferences.getLocale( WikiContext )
+ -> @Deprecated WikiContext.hasAccess( HttpServletResponse ) in favour of
+    AuthorizationManager.hasAccess( HttpServletResponse )
+ -> @Deprecated WikiContext.hasAccess( HttpServletResponse, boolean ) in favour of
+    AuthorizationManager.hasAccess( HttpServletResponse, boolean )
+    
 org.apache.wiki.WikiEngine
  -> @Deprecated WikiEngine.getRequiredProperty( props, key ) in favour of  
     TextUtil.getRequiredProperty( props, key )

Modified: incubator/jspwiki/trunk/src/org/apache/wiki/Release.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/org/apache/wiki/Release.java?rev=1444229&r1=1444228&r2=1444229&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/org/apache/wiki/Release.java (original)
+++ incubator/jspwiki/trunk/src/org/apache/wiki/Release.java Fri Feb  8 20:44:46 2013
@@ -75,7 +75,7 @@ public final class Release
      *  <p>
      *  If the build identifier is empty, it is not added.
      */
-    public static final String     BUILD         = "23";
+    public static final String     BUILD         = "24";
     
     /**
      *  This is the generic version string you should use