jspwiki-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jalka...@apache.org
Subject svn commit: r674535 - /incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/
Date Mon, 07 Jul 2008 16:13:39 GMT
Author: jalkanen
Date: Mon Jul  7 09:13:30 2008
New Revision: 674535

URL: http://svn.apache.org/viewvc?rev=674535&view=rev
Log:
Made the parameters public again as per discussion on the jspwiki-dev list.

Modified:
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/BugReportHandler.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Counter.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Denounce.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Image.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/IndexPlugin.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/InsertPage.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/RecentChangesPlugin.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogArchivePlugin.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogEntryPlugin.java
    incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/BugReportHandler.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/BugReportHandler.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/BugReportHandler.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/BugReportHandler.java Mon Jul  7
09:13:30 2008
@@ -50,11 +50,11 @@
 {
     private static Logger log = Logger.getLogger( BugReportHandler.class );
 
-    private static final String TITLE          = "title";
-    private static final String DESCRIPTION    = "description";
-    private static final String VERSION        = "version";
-    private static final String MAPPINGS       = "map";
-    private static final String PAGE           = "page";
+    public static final String TITLE          = "title";
+    public static final String DESCRIPTION    = "description";
+    public static final String VERSION        = "version";
+    public static final String MAPPINGS       = "map";
+    public static final String PAGE           = "page";
 
     private static final String DEFAULT_DATEFORMAT = "dd-MMM-yyyy HH:mm:ss zzz";
 

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Counter.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Counter.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Counter.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Counter.java Mon Jul  7 09:13:30
2008
@@ -43,11 +43,11 @@
 {
     // private static Logger log = Logger.getLogger( Counter.class );
 
-    private static final String  PARAM_NAME          = "name";
-    private static final String  PARAM_INCREMENT     = "increment";
-    private static final String  PARAM_SHOW_RESULT   = "showResult";
-    private static final String  PARAM_START         = "start";
-    private static final String  DEFAULT_NAME        = "counter";
+    public static final String  PARAM_NAME          = "name";
+    public static final String  PARAM_INCREMENT     = "increment";
+    public static final String  PARAM_SHOW_RESULT   = "showResult";
+    public static final String  PARAM_START         = "start";
+    public static final String  DEFAULT_NAME        = "counter";
     private static final int     DEFAULT_INCREMENT   = 1;
     private static final boolean DEFAULT_SHOW_RESULT = true;
 

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Denounce.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Denounce.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Denounce.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Denounce.java Mon Jul  7 09:13:30
2008
@@ -43,8 +43,8 @@
 {
     private static Logger     log = Logger.getLogger(Denounce.class);
 
-    private static final String PARAM_LINK = "link";
-    private static final String PARAM_TEXT = "text";
+    public static final String PARAM_LINK = "link";
+    public static final String PARAM_TEXT = "text";
 
     private static final String PROPERTYFILE = "com/ecyrd/jspwiki/plugin/denounce.properties";
     private static final String PROP_AGENTPATTERN   = "denounce.agentpattern.";

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Image.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Image.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Image.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/Image.java Mon Jul  7 09:13:30 2008
@@ -38,18 +38,18 @@
 public class Image
     implements WikiPlugin
 {
-    private static final String PARAM_SRC      = "src";
-    private static final String PARAM_ALIGN    = "align";
-    private static final String PARAM_HEIGHT   = "height";
-    private static final String PARAM_WIDTH    = "width";
-    private static final String PARAM_ALT      = "alt";
-    private static final String PARAM_CAPTION  = "caption";
-    private static final String PARAM_LINK     = "link";
-    private static final String PARAM_TARGET   = "target";
-    private static final String PARAM_STYLE    = "style";
-    private static final String PARAM_CLASS    = "class";
+    public static final String PARAM_SRC      = "src";
+    public static final String PARAM_ALIGN    = "align";
+    public static final String PARAM_HEIGHT   = "height";
+    public static final String PARAM_WIDTH    = "width";
+    public static final String PARAM_ALT      = "alt";
+    public static final String PARAM_CAPTION  = "caption";
+    public static final String PARAM_LINK     = "link";
+    public static final String PARAM_TARGET   = "target";
+    public static final String PARAM_STYLE    = "style";
+    public static final String PARAM_CLASS    = "class";
     //    public static final String PARAM_MAP      = "map";
-    private static final String PARAM_BORDER   = "border";
+    public static final String PARAM_BORDER   = "border";
 
     /**
      *  This method is used to clean away things like quotation marks which

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/IndexPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/IndexPlugin.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/IndexPlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/IndexPlugin.java Mon Jul  7 09:13:30
2008
@@ -46,8 +46,8 @@
  */
 public class IndexPlugin implements WikiPlugin
 {
-    private static final String PARAM_INCLUDE = "include";
-    private static final String PARAM_EXCLUDE = "exclude";
+    public static final String PARAM_INCLUDE = "include";
+    public static final String PARAM_EXCLUDE = "exclude";
     private static Logger log = Logger.getLogger( IndexPlugin.class );
     
     /**

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/InsertPage.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/InsertPage.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/InsertPage.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/InsertPage.java Mon Jul  7 09:13:30
2008
@@ -35,12 +35,12 @@
 public class InsertPage
     implements WikiPlugin
 {
-    private static final String PARAM_PAGENAME  = "page";
-    private static final String PARAM_STYLE     = "style";
-    private static final String PARAM_MAXLENGTH = "maxlength";
-    private static final String PARAM_CLASS     = "class";
-    private static final String PARAM_SECTION   = "section";
-    private static final String PARAM_DEFAULT   = "default";
+    public static final String PARAM_PAGENAME  = "page";
+    public static final String PARAM_STYLE     = "style";
+    public static final String PARAM_MAXLENGTH = "maxlength";
+    public static final String PARAM_CLASS     = "class";
+    public static final String PARAM_SECTION   = "section";
+    public static final String PARAM_DEFAULT   = "default";
 
     private static final String DEFAULT_STYLE = "";
 

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/RecentChangesPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/RecentChangesPlugin.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/RecentChangesPlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/RecentChangesPlugin.java Mon Jul
 7 09:13:30 2008
@@ -46,9 +46,9 @@
 public class RecentChangesPlugin
     implements WikiPlugin
 {
-    private static final String PARAM_FORMAT = "format";
-    private static final String PARAM_TIME_FORMAT = "timeFormat";
-    private static final String PARAM_DATE_FORMAT = "dateFormat";
+    public static final String PARAM_FORMAT = "format";
+    public static final String PARAM_TIME_FORMAT = "timeFormat";
+    public static final String PARAM_DATE_FORMAT = "dateFormat";
 
     /** How many days we show by default. */
     private static final int    DEFAULT_DAYS = 100*365;

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogArchivePlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogArchivePlugin.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogArchivePlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogArchivePlugin.java Mon Jul
 7 09:13:30 2008
@@ -36,7 +36,7 @@
 {
     private static Logger     log = Logger.getLogger(WeblogArchivePlugin.class);
 
-    private static final String PARAM_PAGE = "page";
+    public static final String PARAM_PAGE = "page";
 
     private SimpleDateFormat m_monthUrlFormat;
 

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogEntryPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogEntryPlugin.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogEntryPlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogEntryPlugin.java Mon Jul  7
09:13:30 2008
@@ -38,7 +38,7 @@
 
     private static final int MAX_BLOG_ENTRIES = 10000; // Just a precaution.
 
-    private static final String PARAM_ENTRYTEXT = "entrytext";
+    public static final String PARAM_ENTRYTEXT = "entrytext";
     /** 
      * Optional parameter: page that actually contains the blog.
      * This lets us provide a "new entry" link for a blog page 

Modified: incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java
URL: http://svn.apache.org/viewvc/incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java?rev=674535&r1=674534&r2=674535&view=diff
==============================================================================
--- incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java (original)
+++ incubator/jspwiki/trunk/src/com/ecyrd/jspwiki/plugin/WeblogPlugin.java Mon Jul  7 09:13:30
2008
@@ -87,12 +87,12 @@
     /** The default date format used in the blog entry page names. */
     public static final String   DEFAULT_DATEFORMAT = "ddMMyy";
 
-    private static final String  PARAM_STARTDATE    = "startDate";
-    private static final String  PARAM_ENTRYFORMAT  = "entryFormat";
-    private static final String  PARAM_DAYS         = "days";
-    private static final String  PARAM_ALLOWCOMMENTS = "allowComments";
-    private static final String  PARAM_MAXENTRIES   = "maxEntries";
-    private static final String  PARAM_PAGE         = "page";
+    public static final String  PARAM_STARTDATE    = "startDate";
+    public static final String  PARAM_ENTRYFORMAT  = "entryFormat";
+    public static final String  PARAM_DAYS         = "days";
+    public static final String  PARAM_ALLOWCOMMENTS = "allowComments";
+    public static final String  PARAM_MAXENTRIES   = "maxEntries";
+    public static final String  PARAM_PAGE         = "page";
 
     /** The attribute which is stashed to the WikiPage attributes to check if a page
      *  is a weblog or not. You may check for its presence.



Mime
View raw message