roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1505192 - in /roller/trunk/app/src/main/java/org/apache/roller: planet/business/ planet/business/fetcher/ planet/business/updater/ planet/pojos/ planet/util/rome/ weblogger/business/ weblogger/business/pings/ weblogger/business/plugins/ we...
Date Sat, 20 Jul 2013 19:21:48 GMT
Author: gmazza
Date: Sat Jul 20 19:21:47 2013
New Revision: 1505192

URL: http://svn.apache.org/r1505192
Log:
Fixed Sonar complaints about unnecessary modifiers in interfaces.

Modified:
    roller/trunk/app/src/main/java/org/apache/roller/planet/business/Manager.java
    roller/trunk/app/src/main/java/org/apache/roller/planet/business/fetcher/FeedFetcher.java
    roller/trunk/app/src/main/java/org/apache/roller/planet/business/updater/FeedUpdater.java
    roller/trunk/app/src/main/java/org/apache/roller/planet/pojos/Template.java
    roller/trunk/app/src/main/java/org/apache/roller/planet/util/rome/ContentModule.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/MediaFileManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/PropertiesManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/URLStrategy.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/Weblogger.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerProvider.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/pings/PingQueueManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/PluginManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/comment/WeblogEntryCommentPlugin.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/entry/WeblogEntryPlugin.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/referrers/ReferrerQueueManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/runnable/Job.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/startup/DatabaseScriptProvider.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/themes/ThemeManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/pojos/Resource.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/UIPluginManager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/WeblogEntryEditor.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerUserDetails.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/Renderer.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/Model.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers/Pager.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentAuthenticator.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentValidator.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIActionPreparable.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UISecurityEnforced.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/util/cache/Cache.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/EntrySet.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/Service.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/UserEntrySet.java
    roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/WeblogEntrySet.java

Modified: roller/trunk/app/src/main/java/org/apache/roller/planet/business/Manager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/planet/business/Manager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/planet/business/Manager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/planet/business/Manager.java Sat Jul 20 19:21:47 2013
@@ -29,18 +29,18 @@ public interface Manager {
     /**
      * Initialize the Manager.  Called once after instantiation.
      */
-    public void initialize() throws Exception;
+    void initialize() throws Exception;
     
     
     /**
      * Release all resources associated with session.
      */
-    public void release();
+    void release();
     
     
     /**
      * Cleanup for application shutdown.
      */
-    public void shutdown();
+    void shutdown();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/planet/business/fetcher/FeedFetcher.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/planet/business/fetcher/FeedFetcher.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/planet/business/fetcher/FeedFetcher.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/planet/business/fetcher/FeedFetcher.java Sat Jul 20 19:21:47 2013
@@ -46,7 +46,7 @@ public interface FeedFetcher {
      * @return Subscription The fetched subscription.
      * @throws FetcherException If there is an error fetching the subscription.
      */
-    public Subscription fetchSubscription(String feedURL) throws FetcherException;
+    Subscription fetchSubscription(String feedURL) throws FetcherException;
     
     
     /**
@@ -67,6 +67,6 @@ public interface FeedFetcher {
      * @return Subscription The fetched subscription.
      * @throws FetcherException If there is an error fetching the subscription.
      */
-    public Subscription fetchSubscription(String feedURL, Date lastModified) throws FetcherException;
+    Subscription fetchSubscription(String feedURL, Date lastModified) throws FetcherException;
 
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/planet/business/updater/FeedUpdater.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/planet/business/updater/FeedUpdater.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/planet/business/updater/FeedUpdater.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/planet/business/updater/FeedUpdater.java Sat Jul 20 19:21:47 2013
@@ -44,7 +44,7 @@ public interface FeedUpdater {
      * @param sub The PlanetSubscription to be updated.
      * @throws org.apache.roller.planet.business.fetcher.FetcherException If there is an error updating the subscription.
      */
-    public void updateSubscription(Subscription sub) throws UpdaterException;
+    void updateSubscription(Subscription sub) throws UpdaterException;
     
     
     /**
@@ -52,7 +52,7 @@ public interface FeedUpdater {
      *
      * @throws UpdaterException If there is an error during the update and the operation cannot continue.
      */
-    public void updateSubscriptions() throws UpdaterException;
+    void updateSubscriptions() throws UpdaterException;
     
     
     /**
@@ -60,6 +60,6 @@ public interface FeedUpdater {
      *
      * @throws UpdaterException If there is an error during the update and the operation cannot continue.
      */
-    public void updateSubscriptions(PlanetGroup group) throws UpdaterException;
+    void updateSubscriptions(PlanetGroup group) throws UpdaterException;
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/planet/pojos/Template.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/planet/pojos/Template.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/planet/pojos/Template.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/planet/pojos/Template.java Sat Jul 20 19:21:47 2013
@@ -14,8 +14,8 @@ package org.apache.roller.planet.pojos;
  */
 public interface Template {
     
-    public String getId();
+    String getId();
     
-    public String getTemplateLanguage();
+    String getTemplateLanguage();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/planet/util/rome/ContentModule.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/planet/util/rome/ContentModule.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/planet/util/rome/ContentModule.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/planet/util/rome/ContentModule.java Sat Jul 20 19:21:47 2013
@@ -19,7 +19,11 @@ package org.apache.roller.planet.util.ro
 import com.sun.syndication.feed.module.Module;
 
 public interface ContentModule extends Module {
-    public static final String URI = "http://purl.org/rss/1.0/modules/content/";
-    public String getEncoded();
-    public void setEncoded(String encoded);
+
+    String URI = "http://purl.org/rss/1.0/modules/content/";
+
+    String getEncoded();
+
+    void setEncoded(String encoded);
+
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/MediaFileManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/MediaFileManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/MediaFileManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/MediaFileManager.java Sat Jul 20 19:21:47 2013
@@ -39,145 +39,145 @@ public interface MediaFileManager {
     /**
      * Initialization; deal with upgrade migrations, etc.
      */
-    public void initialize();
+    void initialize();
 
     /**
      * Release all resources associated with Roller session.
      */
-    public void release();
+    void release();
 
     /**
      * Create a media file
      */
-    public void createMediaFile(Weblog weblog, MediaFile mediaFile,
+    void createMediaFile(Weblog weblog, MediaFile mediaFile,
             RollerMessages errors) throws WebloggerException;
 
     /**
      * Update metadata for a media file
      */
-    public void updateMediaFile(Weblog weblog, MediaFile mediaFile)
+    void updateMediaFile(Weblog weblog, MediaFile mediaFile)
             throws WebloggerException;
 
     /**
      * Update metadata for a media file and content.
      */
-    public void updateMediaFile(Weblog website, MediaFile mf, InputStream fis)
+    void updateMediaFile(Weblog website, MediaFile mf, InputStream fis)
             throws WebloggerException;
 
     /**
      * Get media file metadata by file id
      */
-    public MediaFile getMediaFile(String id) throws WebloggerException;
+    MediaFile getMediaFile(String id) throws WebloggerException;
 
     /**
      * Get media file metadata optionally including the actual content
      */
-    public MediaFile getMediaFile(String id, boolean includeContent)
+    MediaFile getMediaFile(String id, boolean includeContent)
             throws WebloggerException;
 
     /**
      * Delete a media file
      */
-    public void removeMediaFile(Weblog weblog, MediaFile mediaFile)
+    void removeMediaFile(Weblog weblog, MediaFile mediaFile)
             throws WebloggerException;
 
     /**
      * Search for media files based on the filter criteria
      */
-    public List<MediaFile> searchMediaFiles(Weblog weblog,
+    List<MediaFile> searchMediaFiles(Weblog weblog,
             MediaFileFilter filter) throws WebloggerException;
 
     /**
      * Create root directory for media files in a weblog.
      */
-    public MediaFileDirectory createRootMediaFileDirectory(Weblog weblog)
+    MediaFileDirectory createRootMediaFileDirectory(Weblog weblog)
             throws WebloggerException;
 
     /**
      * Create a media file directory with the given name
      */
-    public MediaFileDirectory createMediaFileDirectory(
+    MediaFileDirectory createMediaFileDirectory(
             MediaFileDirectory parentDirectory, String newDirName)
             throws WebloggerException;
 
     /**
      * Create a media file directory
      */
-    public void createMediaFileDirectory(MediaFileDirectory directory)
+    void createMediaFileDirectory(MediaFileDirectory directory)
             throws WebloggerException;
 
     /**
      * Create a media file directory given its path
      */
-    public MediaFileDirectory createMediaFileDirectoryByPath(Weblog weblog,
+    MediaFileDirectory createMediaFileDirectoryByPath(Weblog weblog,
             String path) throws WebloggerException;
 
     /**
      * Get media file directory by id
      */
-    public MediaFileDirectory getMediaFileDirectory(String id)
+    MediaFileDirectory getMediaFileDirectory(String id)
             throws WebloggerException;
 
     /**
      * Get media file directory by its path
      */
-    public MediaFileDirectory getMediaFileDirectoryByPath(Weblog weblog,
+    MediaFileDirectory getMediaFileDirectoryByPath(Weblog weblog,
             String path) throws WebloggerException;
 
     /**
      * Get media file by path.
      */
-    public MediaFile getMediaFileByPath(Weblog weblog, String path)
+    MediaFile getMediaFileByPath(Weblog weblog, String path)
             throws WebloggerException;
 
     /**
      * Get media file by the original path by which it was stored. Required for
      * support of old upload file URLs and for theme resources. {@inheritDoc}
      */
-    public MediaFile getMediaFileByOriginalPath(Weblog weblog, String origpath)
+    MediaFile getMediaFileByOriginalPath(Weblog weblog, String origpath)
             throws WebloggerException;
 
     /**
      * Get the list of media file directories for the given weblog.
      */
-    public List<MediaFileDirectory> getMediaFileDirectories(Weblog weblog)
+    List<MediaFileDirectory> getMediaFileDirectories(Weblog weblog)
             throws WebloggerException;
 
     /**
      * Get the root directory for media files for the given weblog.
      */
-    public MediaFileDirectory getMediaFileRootDirectory(Weblog weblog)
+    MediaFileDirectory getMediaFileRootDirectory(Weblog weblog)
             throws WebloggerException;
 
     /**
      * Move a set of media files to a new directory.
      */
-    public void moveMediaFiles(Collection<MediaFile> mediaFiles,
+    void moveMediaFiles(Collection<MediaFile> mediaFiles,
             MediaFileDirectory directory) throws WebloggerException;
 
     /**
      * Move one media file to a new directory.
      */
-    public void moveMediaFile(MediaFile mediaFile, MediaFileDirectory directory)
+    void moveMediaFile(MediaFile mediaFile, MediaFileDirectory directory)
             throws WebloggerException;
 
     /**
      * Move a set of media files to a new directory.
      */
-    public void moveMediaFileDirectories(
+    void moveMediaFileDirectories(
             Collection<MediaFileDirectory> mediaFilesDir,
             MediaFileDirectory directory) throws WebloggerException;
 
     /**
      * Move one media file to a new directory.
      */
-    public void moveMediaFileDirectory(MediaFileDirectory mediaFileDir,
+    void moveMediaFileDirectory(MediaFileDirectory mediaFileDir,
             MediaFileDirectory directory) throws WebloggerException;
 
     /**
      * Return recently added media files that are public.
      */
-    public List<MediaFile> fetchRecentPublicMediaFiles(int length)
+    List<MediaFile> fetchRecentPublicMediaFiles(int length)
             throws WebloggerException;
 
     /**
@@ -185,15 +185,14 @@ public interface MediaFileManager {
      * 
      * @param website
      */
-    public void removeAllFiles(Weblog website) throws WebloggerException;
+    void removeAllFiles(Weblog website) throws WebloggerException;
 
     /**
      * Remove media file directory
      * 
-     * @param weblog
      * @param mediaFileDir
      */
-    public void removeMediaFileDirectory(MediaFileDirectory mediaFileDir)
+    void removeMediaFileDirectory(MediaFileDirectory mediaFileDir)
             throws WebloggerException;
 
     /**
@@ -202,7 +201,7 @@ public interface MediaFileManager {
      * @param name
      *            Name of tag to be removed
      */
-    public void removeMediaFileTag(String name, MediaFile entry)
+    void removeMediaFileTag(String name, MediaFile entry)
             throws WebloggerException;
 
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/PropertiesManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/PropertiesManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/PropertiesManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/PropertiesManager.java Sat Jul 20 19:21:47 2013
@@ -33,36 +33,36 @@ public interface PropertiesManager {
      *
      * @throws InitializationException If there is a problem during initialization.
      */
-    public void initialize() throws InitializationException;
+    void initialize() throws InitializationException;
     
     
     /**
      * Release all resources associated with Roller session.
      */
-    public void release();
+    void release();
     
     
     /**
      * Save a single property
      */
-    public void saveProperty(RuntimeConfigProperty property) throws WebloggerException;
+    void saveProperty(RuntimeConfigProperty property) throws WebloggerException;
     
     
     /**
      * Save a list of properties
      */
-    public void saveProperties(Map properties) throws WebloggerException;
+    void saveProperties(Map properties) throws WebloggerException;
     
     
     /**
      * Retrieve a single property by name
      */
-    public RuntimeConfigProperty getProperty(String name) throws WebloggerException;
+    RuntimeConfigProperty getProperty(String name) throws WebloggerException;
     
     
     /**
      * Retrieve a list of all properties
      */
-    public Map getProperties() throws WebloggerException;
+    Map getProperties() throws WebloggerException;
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/URLStrategy.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/URLStrategy.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/URLStrategy.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/URLStrategy.java Sat Jul 20 19:21:47 2013
@@ -35,26 +35,26 @@ public interface URLStrategy {
      * Get a version of this url strategy meant for use in previewing and set
      * it to preview a given theme.
      */
-    public URLStrategy getPreviewURLStrategy(String previewTheme);
+    URLStrategy getPreviewURLStrategy(String previewTheme);
     
     
     /**
      * Url to login page.
      */
-    public String getLoginURL(boolean absolute);
+    String getLoginURL(boolean absolute);
     
     
     /**
      * Url to logout page.
      */
-    public String getLogoutURL(boolean absolute);
+    String getLogoutURL(boolean absolute);
     
     
     /**
      * Get a url to a UI action in a given namespace, optionally specifying
      * a weblogHandle parameter if that is needed by the action.
      */
-    public String getActionURL(String action,
+    String getActionURL(String action,
                                             String namespace,
                                             String weblogHandle,
                                             Map<String, String> parameters,
@@ -64,14 +64,14 @@ public interface URLStrategy {
     /**
      * Get a url to add a new weblog entry.
      */
-    public String getEntryAddURL(String weblogHandle,
+    String getEntryAddURL(String weblogHandle,
                                               boolean absolute);
     
     
     /**
      * Get a url to edit a specific weblog entry.
      */
-    public String getEntryEditURL(String weblogHandle,
+    String getEntryEditURL(String weblogHandle,
                                                String entryId,
                                                boolean absolute);
     
@@ -79,44 +79,44 @@ public interface URLStrategy {
     /**
      * Get a url to weblog config page.
      */
-    public String getWeblogConfigURL(String weblogHandle,
+    String getWeblogConfigURL(String weblogHandle,
                                                   boolean absolute);
     
     
     /**
      * URL for OpenSearch descriptor file for site.
      */
-    public String getOpenSearchSiteURL();
+    String getOpenSearchSiteURL();
     
 
     /**
      * URL for OpenSearch descriptor file for weblog.
      */
-    public String getOpenSearchWeblogURL(String weblogHandle);
+    String getOpenSearchWeblogURL(String weblogHandle);
 
     
     /**
      * Get OpenSearch compatible search URL template for weblog search feed.
      */
-    public String getWeblogSearchFeedURLTemplate(Weblog weblog);
+    String getWeblogSearchFeedURLTemplate(Weblog weblog);
 
     
     /**
      * Get OpenSearch compatible search URL template for weblog search page.
      */
-    public String getWeblogSearchPageURLTemplate(Weblog weblog);
+    String getWeblogSearchPageURLTemplate(Weblog weblog);
 
     
-    public String getXmlrpcURL(boolean absolute);
+    String getXmlrpcURL(boolean absolute);
     
     
-    public String getAtomProtocolURL(boolean absolute);
+    String getAtomProtocolURL(boolean absolute);
     
     
     /**
      * Get root url for a given weblog.  Optionally for a certain locale.
      */
-    public String getWeblogURL(Weblog weblog,
+    String getWeblogURL(Weblog weblog,
                                             String locale,
                                             boolean absolute);
     
@@ -124,7 +124,7 @@ public interface URLStrategy {
     /**
      * Get url for a single weblog entry on a given weblog.
      */
-    public String getWeblogEntryURL(Weblog weblog,
+    String getWeblogEntryURL(Weblog weblog,
                                                  String locale,
                                                  String entryAnchor,
                                                  boolean absolute);
@@ -133,7 +133,7 @@ public interface URLStrategy {
     /**
      * Get url for a single weblog entry comments on a given weblog.
      */
-    public String getWeblogCommentsURL(Weblog weblog,
+    String getWeblogCommentsURL(Weblog weblog,
                                                     String locale,
                                                     String entryAnchor,
                                                     boolean absolute);
@@ -142,7 +142,7 @@ public interface URLStrategy {
     /**
      * Get url for a single weblog entry comment on a given weblog.
      */
-    public String getWeblogCommentURL(Weblog weblog,
+    String getWeblogCommentURL(Weblog weblog,
                                                    String locale,
                                                    String entryAnchor,
                                                    String timeStamp,
@@ -152,20 +152,20 @@ public interface URLStrategy {
     /**
      * Get url for a single mediafile on a given weblog.
      */
-    public String getMediaFileURL(Weblog weblog, String fileAnchor,
+    String getMediaFileURL(Weblog weblog, String fileAnchor,
                                                  boolean absolute);
 
     /**
      * Get url for a single mediafile thumbnail on a given weblog.
      */
-    public String getMediaFileThumbnailURL(Weblog weblog,
+    String getMediaFileThumbnailURL(Weblog weblog,
                                                 String fileAnchor,
                                                 boolean absolute);
 
     /**
      * Get url for a collection of entries on a given weblog.
      */
-    public String getWeblogCollectionURL(Weblog weblog,
+    String getWeblogCollectionURL(Weblog weblog,
                                                       String locale,
                                                       String category,
                                                       String dateString,
@@ -177,7 +177,7 @@ public interface URLStrategy {
     /**
      * Get url for a custom page on a given weblog.
      */
-    public String getWeblogPageURL(Weblog weblog,
+    String getWeblogPageURL(Weblog weblog,
                                                 String locale,
                                                 String pageLink,
                                                 String entryAnchor,
@@ -191,7 +191,7 @@ public interface URLStrategy {
     /**
      * Get url for a feed on a given weblog.
      */
-    public String getWeblogFeedURL(Weblog weblog,
+    String getWeblogFeedURL(Weblog weblog,
                                                 String locale,
                                                 String type,
                                                 String format,
@@ -205,7 +205,7 @@ public interface URLStrategy {
     /**
      * Get url to search endpoint on a given weblog.
      */
-    public String getWeblogSearchURL(Weblog weblog,
+    String getWeblogSearchURL(Weblog weblog,
                                                   String locale,
                                                   String query,
                                                   String category,
@@ -216,7 +216,7 @@ public interface URLStrategy {
     /**
      * Get url to a resource on a given weblog.
      */
-    public String getWeblogResourceURL(Weblog weblog,
+    String getWeblogResourceURL(Weblog weblog,
                                                     String filePath,
                                                     boolean absolute);
     
@@ -224,21 +224,21 @@ public interface URLStrategy {
     /**
      * Get url to rsd file on a given weblog.
      */
-    public String getWeblogRsdURL(Weblog weblog, boolean absolute);
+    String getWeblogRsdURL(Weblog weblog, boolean absolute);
     
     
     /**
      * Get url to JSON tags service url, optionally for a given weblog.
      */
-    public String getWeblogTagsJsonURL(Weblog weblog, boolean absolute, int pageNum);
+    String getWeblogTagsJsonURL(Weblog weblog, boolean absolute, int pageNum);
 
 
     /* Get URL for obtaining OAuth Request Token */
-    public String getOAuthRequestTokenURL();
+    String getOAuthRequestTokenURL();
 
     /* Get URL authorizing an OAuth Request Token */
-    public String getOAuthAuthorizationURL();
+    String getOAuthAuthorizationURL();
 
     /* Get URL for obtaining OAuth Access Token */
-    public String getOAuthAccessTokenURL();
+    String getOAuthAccessTokenURL();
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/Weblogger.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/Weblogger.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/Weblogger.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/Weblogger.java Sat Jul 20 19:21:47 2013
@@ -42,159 +42,159 @@ public interface Weblogger {
      * 
      * Get UserManager associated with this Weblogger instance.
      */
-    public UserManager getUserManager();
+    UserManager getUserManager();
     
     
     /**
      * 
      * Get BookmarkManager associated with this Weblogger instance.
      */
-    public BookmarkManager getBookmarkManager();
+    BookmarkManager getBookmarkManager();
     
     
     /**
      *
      * Get OAuthManager associated with this Weblogger instance.
      */
-    public OAuthManager getOAuthManager();
+    OAuthManager getOAuthManager();
 
 
     /**
      * 
      * Get WeblogManager associated with this Weblogger instance.
      */
-    public WeblogManager getWeblogManager();
+    WeblogManager getWeblogManager();
     
     /**
      * 
      * Get WeblogManager associated with this Weblogger instance.
      */
-    public WeblogEntryManager getWeblogEntryManager();
+    WeblogEntryManager getWeblogEntryManager();
     
     
     /**
      * 
      * Get RefererManager associated with this Weblogger instance.
      */
-    public RefererManager getRefererManager();
+    RefererManager getRefererManager();
     
     
     /**
      * Get ReferrerQueueManager.
      */
-    public ReferrerQueueManager getReferrerQueueManager();
+    ReferrerQueueManager getReferrerQueueManager();
     
     
     /**
      * Get the AutoPingManager associated with this Weblogger instance.
      */
-    public AutoPingManager getAutopingManager();
+    AutoPingManager getAutopingManager();
     
     
     /**
      * Get the PingTargetManager associated with this Weblogger instance.
      */
-    public PingTargetManager getPingTargetManager();
+    PingTargetManager getPingTargetManager();
     
     
     /**
      * Get the PingQueueManager associated with this Weblogger instance.
      */
-    public PingQueueManager getPingQueueManager();
+    PingQueueManager getPingQueueManager();
     
     
     /**
      * 
      * Get PropertiesManager associated with this Weblogger instance.
      */
-    public PropertiesManager getPropertiesManager();   
+    PropertiesManager getPropertiesManager();
     
     
     /**
      * Get ThreadManager associated with this Weblogger instance.
      */
-    public ThreadManager getThreadManager();
+    ThreadManager getThreadManager();
     
     
     /**
      * Get IndexManager associated with this Weblogger instance.
      */
-    public IndexManager getIndexManager();
+    IndexManager getIndexManager();
     
     
     /**
      * Get ThemeManager associated with this Weblogger instance.
      */
-    public ThemeManager getThemeManager();
+    ThemeManager getThemeManager();
     
     
     /**
      * Get PluginManager associated with this Weblogger instance.
      */
-    public PluginManager getPluginManager();
+    PluginManager getPluginManager();
     
     /**
      * Get MediaFileManager associated with this Weblogger instance.
      */
-    public MediaFileManager getMediaFileManager();
+    MediaFileManager getMediaFileManager();
     
     /**
      * Get FileContentManager associated with this Weblogger instance.
      */
-    public FileContentManager getFileContentManager();
+    FileContentManager getFileContentManager();
 
     /**
      * Get the URLStrategy used to build all urls in the system.
      */
-    public URLStrategy getUrlStrategy();
+    URLStrategy getUrlStrategy();
     
     /**
      * Flush object states.
      */
-    public void flush() throws WebloggerException;
+    void flush() throws WebloggerException;
     
     
     /**
      * Release all resources associated with Weblogger session.
      */
-    public void release();
+    void release();
     
     
     /**
      * Initialize any resources necessary for this instance of Weblogger.
      */
-    public void initialize() throws InitializationException;
+    void initialize() throws InitializationException;
     
     
     /**
      * Release all resources necessary for this instance of Weblogger.
      */
-    public void shutdown();
+    void shutdown();
     
     
     /**
      * Weblogger version
      */
-    public String getVersion();    
+    String getVersion();
     
     /**
      * Weblogger source code management revision
      */
-    public String getRevision();
+    String getRevision();
     
     /**
      * Weblogger build time
      */
-    public String getBuildTime();
+    String getBuildTime();
         
     /**
      * Get username that built Weblogger
      */
-    public String getBuildUser();
+    String getBuildUser();
 
-	public FeedFetcher getFeedFetcher();
+	FeedFetcher getFeedFetcher();
 
-	public PlanetManager getPlanetManager();
+	PlanetManager getPlanetManager();
 
-	public org.apache.roller.planet.business.PlanetURLStrategy getPlanetURLStrategy();
+	org.apache.roller.planet.business.PlanetURLStrategy getPlanetURLStrategy();
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerProvider.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerProvider.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerProvider.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/WebloggerProvider.java Sat Jul 20 19:21:47 2013
@@ -27,12 +27,12 @@ public interface WebloggerProvider {
     /**
      * Trigger bootstrapping.
      */
-    public void bootstrap() throws BootstrapException;
+    void bootstrap() throws BootstrapException;
     
     
     /**
      * Get a Weblogger instance.
      */
-    public Weblogger getWeblogger();
+    Weblogger getWeblogger();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/pings/PingQueueManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/pings/PingQueueManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/pings/PingQueueManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/pings/PingQueueManager.java Sat Jul 20 19:21:47 2013
@@ -38,7 +38,7 @@ public interface PingQueueManager {
      *
      * @param autoPing auto ping configuration for the ping request to be queued.
      */
-    public void addQueueEntry(AutoPing autoPing) throws WebloggerException;
+    void addQueueEntry(AutoPing autoPing) throws WebloggerException;
     
     
     /**
@@ -47,7 +47,7 @@ public interface PingQueueManager {
      * @param pingQueueEntry update the given queue entry
      * @throws WebloggerException
      */
-    public void saveQueueEntry(PingQueueEntry pingQueueEntry) throws WebloggerException;
+    void saveQueueEntry(PingQueueEntry pingQueueEntry) throws WebloggerException;
     
     
     /**
@@ -56,7 +56,7 @@ public interface PingQueueManager {
      * @param pingQueueEntry the entry to be removed.
      * @throws WebloggerException
      */
-    public void removeQueueEntry(PingQueueEntry pingQueueEntry) throws WebloggerException;
+    void removeQueueEntry(PingQueueEntry pingQueueEntry) throws WebloggerException;
     
     
     /**
@@ -66,21 +66,21 @@ public interface PingQueueManager {
      * @return the queue entry with the specified id.
      * @throws WebloggerException
      */
-    public PingQueueEntry getQueueEntry(String id) throws WebloggerException;
+    PingQueueEntry getQueueEntry(String id) throws WebloggerException;
     
     
     /**
      * Get all of the queue entries.
      * 
-     * @return the queue as a <code>List</code> of {@link PPingQueueEntry objects.
+     * @return the queue as a <code>List</code> of {@link PingQueueEntry objects.
      * @throws WebloggerException
      */
-    public List getAllQueueEntries() throws WebloggerException;
+    List getAllQueueEntries() throws WebloggerException;
     
     
     /**
      * Release all resources associated with Roller session.
      */
-    public void release();
+    void release();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/PluginManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/PluginManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/PluginManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/PluginManager.java Sat Jul 20 19:21:47 2013
@@ -34,7 +34,7 @@ public interface PluginManager {
     /**
      * Returns true if plugins are present
      */
-    public boolean hasPagePlugins();
+    boolean hasPagePlugins();
     
     
     /**
@@ -43,7 +43,7 @@ public interface PluginManager {
      *
      * @param website        Website being processed
      */
-    public Map getWeblogEntryPlugins(Weblog website);
+    Map getWeblogEntryPlugins(Weblog website);
     
     
     /**
@@ -52,11 +52,10 @@ public interface PluginManager {
      * the original entry object.
      *
      * @param entry       Original weblog entry
-     * @param plugins     Map of plugins to apply
      * @param str         String to which to apply plugins
      * @return        the transformed text
      */
-    public String applyWeblogEntryPlugins(Map pagePlugins,WeblogEntry entry, String str);
+    String applyWeblogEntryPlugins(Map pagePlugins,WeblogEntry entry, String str);
     
     
     /**
@@ -67,7 +66,7 @@ public interface PluginManager {
      *
      * Should return an empty list if no plugins are configured.
      */
-    public List<WeblogEntryCommentPlugin> getCommentPlugins();
+    List<WeblogEntryCommentPlugin> getCommentPlugins();
     
     
     /**
@@ -77,12 +76,12 @@ public interface PluginManager {
      * @param text The text to apply the plugins to.
      * @return String The transformed comment text.
      */
-    public String applyCommentPlugins(WeblogEntryComment comment, String text);
+    String applyCommentPlugins(WeblogEntryComment comment, String text);
     
     
     /**
      * Release all resources associated with Roller session.
      */
-    public void release();
+    void release();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/comment/WeblogEntryCommentPlugin.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/comment/WeblogEntryCommentPlugin.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/comment/WeblogEntryCommentPlugin.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/comment/WeblogEntryCommentPlugin.java Sat Jul 20 19:21:47 2013
@@ -31,28 +31,28 @@ public interface WeblogEntryCommentPlugi
     /**
      * A unique identifier for the plugin.
      */
-    public String getId();
+    String getId();
     
     
     /**
      * Returns the display name of this Plugin.
      */
-    public String getName();
+    String getName();
     
     
     /**
      * Briefly describes the function of the Plugin.  May contain HTML.
      */
-    public String getDescription();
+    String getDescription();
     
     
     /**
      * Apply plugin to the specified text.
      *
-     * @param entry       Entry being rendered.
+     * @param comment     Comment being rendered.
      * @param str         String to which plugin should be applied.
      * @return            Results of applying plugin to string.
      */
-    public String render(final WeblogEntryComment comment, String str);
+    String render(final WeblogEntryComment comment, String str);
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/entry/WeblogEntryPlugin.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/entry/WeblogEntryPlugin.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/entry/WeblogEntryPlugin.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/plugins/entry/WeblogEntryPlugin.java Sat Jul 20 19:21:47 2013
@@ -34,22 +34,21 @@ public interface WeblogEntryPlugin {
     /**
      * Returns the display name of this Plugin.
      */
-    public String getName();
+    String getName();
     
     
     /**
      * Briefly describes the function of the Plugin.  May contain HTML.
      */
-    public String getDescription();
+    String getDescription();
     
     
     /**
      * Give plugin a chance to initialize and add objects the rendering model.
      *
      * @param weblog     Weblog being processed
-     * @param model      Rendering model where objects can be placed
      */
-    public void init(Weblog weblog) throws WebloggerException;
+    void init(Weblog weblog) throws WebloggerException;
     
     
     /**
@@ -59,6 +58,6 @@ public interface WeblogEntryPlugin {
      * @param str         String to which plugin should be applied.
      * @return            Results of applying plugin to entry.
      */
-    public String render(WeblogEntry entry, String str);
+    String render(WeblogEntry entry, String str);
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/referrers/ReferrerQueueManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/referrers/ReferrerQueueManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/referrers/ReferrerQueueManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/referrers/ReferrerQueueManager.java Sat Jul 20 19:21:47 2013
@@ -36,7 +36,7 @@ public interface ReferrerQueueManager {
      * This method may contain additional logic on how to deal with referrers.
      * It may process them immediately or it may store them for later processing.
      */
-    public void processReferrer(IncomingReferrer ref);
+    void processReferrer(IncomingReferrer ref);
     
     
     /**
@@ -44,7 +44,7 @@ public interface ReferrerQueueManager {
      *
      * It is almost always preferable to call processReferrer() instead.
      */
-    public void enqueue(IncomingReferrer ref);
+    void enqueue(IncomingReferrer ref);
     
     
     /**
@@ -52,12 +52,12 @@ public interface ReferrerQueueManager {
      *
      * Returns null if there is nothing in the queue.
      */
-    public IncomingReferrer dequeue();
+    IncomingReferrer dequeue();
     
     
     /**
      * Called when the system is being shutdown.
      */
-    public void shutdown();
+    void shutdown();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/runnable/Job.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/runnable/Job.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/runnable/Job.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/runnable/Job.java Sat Jul 20 19:21:47 2013
@@ -35,18 +35,18 @@ public interface Job {
     /**
      * Execute the job.
      */
-    public void execute();
+    void execute();
     
     
     /**
      * Pass in input to be used for the job.
      */
-    public void input(Map input);
+    void input(Map input);
     
     
     /**
      * Get any output from the job.
      */
-    public Map output();
+    Map output();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/startup/DatabaseScriptProvider.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/startup/DatabaseScriptProvider.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/startup/DatabaseScriptProvider.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/startup/DatabaseScriptProvider.java Sat Jul 20 19:21:47 2013
@@ -29,6 +29,6 @@ public interface DatabaseScriptProvider 
     /** 
      * Get an InputStream to a database script at the given path.
      */
-    public InputStream getDatabaseScript(String path) throws Exception;
+    InputStream getDatabaseScript(String path) throws Exception;
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/themes/ThemeManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/themes/ThemeManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/themes/ThemeManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/business/themes/ThemeManager.java Sat Jul 20 19:21:47 2013
@@ -29,68 +29,68 @@ import org.apache.roller.weblogger.pojos
  */
 public interface ThemeManager {
 
-	/**
-	 * Initialize the theme system.
-	 * 
-	 * @throws InitializationException
-	 *             If there is a problem during initialization.
-	 */
-	public void initialize() throws InitializationException;
-
-	/**
-	 * Get the Theme object with the given id.
-	 * 
-	 * @return Theme The Theme object with the given id.
-	 * @throws ThemeNotFoundException
-	 *             If the named theme cannot be found.
-	 * @throws WebloggerException
-	 *             If there is some kind of fatal backend error.
-	 **/
-	public SharedTheme getTheme(String id) throws ThemeNotFoundException,
-			WebloggerException;
-
-	/**
-	 * Get the WeblogTheme for a given weblog.
-	 * 
-	 * @param weblog
-	 *            The weblog to get the theme for.
-	 * @return WeblogTheme The theme to be used for the given weblog.
-	 * @throws WebloggerException
-	 *             If there is some kind of fatal backend error.
-	 */
-	public WeblogTheme getTheme(Weblog weblog) throws WebloggerException;
-
-	/**
-	 * Get a list of all theme names that are currently enabled. This list is
-	 * ordered alphabetically by default.
-	 * 
-	 * @return List A list of Theme objects which are enabled.
-	 */
-	public List getEnabledThemesList();
-
-	/**
-	 * Import all the contents for a Theme into a weblog.
-	 * 
-	 * @param weblog
-	 *            The weblog to import the theme into.
-	 * @param theme
-	 *            The theme that should be imported.
-	 * 
-	 * @throws WebloggerException
-	 *             If there is some kind of error in saving.
-	 */
-	public void importTheme(Weblog website, SharedTheme theme)
-			throws WebloggerException;
-
-	/**
-	 * This is a development only method which reloads theme data from themes
-	 * stored on the filesystem in the webapp /themes/ directory.
-	 * 
-	 * @param reloadTheme
-	 *            the reload theme
-	 * 
-	 * @return true, if reloaded theme from disk
-	 */
-	public boolean reLoadThemeFromDisk(String reloadTheme);
+    /**
+     * Initialize the theme system.
+     *
+     * @throws InitializationException
+     *             If there is a problem during initialization.
+     */
+    void initialize() throws InitializationException;
+
+    /**
+     * Get the Theme object with the given id.
+     *
+     * @return Theme The Theme object with the given id.
+     * @throws ThemeNotFoundException
+     *             If the named theme cannot be found.
+     * @throws WebloggerException
+     *             If there is some kind of fatal backend error.
+     **/
+    SharedTheme getTheme(String id) throws ThemeNotFoundException,
+            WebloggerException;
+
+    /**
+     * Get the WeblogTheme for a given weblog.
+     *
+     * @param weblog
+     *            The weblog to get the theme for.
+     * @return WeblogTheme The theme to be used for the given weblog.
+     * @throws WebloggerException
+     *             If there is some kind of fatal backend error.
+     */
+    WeblogTheme getTheme(Weblog weblog) throws WebloggerException;
+
+    /**
+     * Get a list of all theme names that are currently enabled. This list is
+     * ordered alphabetically by default.
+     *
+     * @return List A list of Theme objects which are enabled.
+     */
+    List getEnabledThemesList();
+
+    /**
+     * Import all the contents for a Theme into a weblog.
+     *
+     * @param website
+     *            The weblog (website) to import the theme into.
+     * @param theme
+     *            The theme that should be imported.
+     *
+     * @throws WebloggerException
+     *             If there is some kind of error in saving.
+     */
+    void importTheme(Weblog website, SharedTheme theme)
+            throws WebloggerException;
+
+    /**
+     * This is a development only method which reloads theme data from themes
+     * stored on the filesystem in the webapp /themes/ directory.
+     *
+     * @param reloadTheme
+     *            the reload theme
+     *
+     * @return true, if reloaded theme from disk
+     */
+    boolean reLoadThemeFromDisk(String reloadTheme);
 
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/pojos/Resource.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/pojos/Resource.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/pojos/Resource.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/pojos/Resource.java Sat Jul 20 19:21:47 2013
@@ -33,7 +33,7 @@ public interface Resource {
      *
      * @return The short name for the resource.
      */
-    public String getName();
+    String getName();
     
     
     /**
@@ -42,7 +42,7 @@ public interface Resource {
      *
      * @return The path to the resource, relative to its container.
      */
-    public String getPath();
+    String getPath();
     
     
     /**
@@ -50,7 +50,7 @@ public interface Resource {
      *
      * @return The last time the resource changed, as a long value.
      */
-    public long getLastModified();
+    long getLastModified();
     
     
     /**
@@ -58,7 +58,7 @@ public interface Resource {
      *
      * @return The length of the resource in bytes.
      */
-    public long getLength();
+    long getLength();
     
     
     /**
@@ -66,6 +66,6 @@ public interface Resource {
      *
      * @return an InputStream for the resource.
      */
-    public InputStream getInputStream();
+    InputStream getInputStream();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/UIPluginManager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/UIPluginManager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/UIPluginManager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/UIPluginManager.java Sat Jul 20 19:21:47 2013
@@ -31,7 +31,7 @@ public interface UIPluginManager {
      *
      * @return List of all configure WeblogEntryEditor objects.
      */
-    public List getWeblogEntryEditors();
+    List getWeblogEntryEditors();
     
     
     /**
@@ -42,6 +42,6 @@ public interface UIPluginManager {
      * @return The WeblogEntry editor desired, or the default editor if the
      *      desired editor could not be found.
      */
-    public WeblogEntryEditor getWeblogEntryEditor(String id);
+    WeblogEntryEditor getWeblogEntryEditor(String id);
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/WeblogEntryEditor.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/WeblogEntryEditor.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/WeblogEntryEditor.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/plugins/WeblogEntryEditor.java Sat Jul 20 19:21:47 2013
@@ -35,7 +35,7 @@ public interface WeblogEntryEditor {
      *
      * @return The unique identifier for this WeblogEntryEditor.
      */
-    public String getId();
+    String getId();
     
     
     /**
@@ -48,7 +48,7 @@ public interface WeblogEntryEditor {
      *
      * @return The display name of this WeblogEntryEditor.
      */
-    public String getName();
+    String getName();
     
     
     /**
@@ -58,6 +58,6 @@ public interface WeblogEntryEditor {
      *
      * @return The location of the jsp for this editor.
      */
-    public String getJspPage();
+    String getJspPage();
 
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerUserDetails.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerUserDetails.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerUserDetails.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/core/security/RollerUserDetails.java Sat Jul 20 19:21:47 2013
@@ -28,14 +28,14 @@ import org.springframework.security.user
  */
 public interface RollerUserDetails extends UserDetails {
 
-  public String getTimeZone();
+    String getTimeZone();
   
-  public String getLocale();
+    String getLocale();
   
-  public String getScreenName();
+    String getScreenName();
 
-  public String getFullName();
+    String getFullName();
 
-  public String getEmailAddress();
+    String getEmailAddress();
   
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/Renderer.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/Renderer.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/Renderer.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/Renderer.java Sat Jul 20 19:21:47 2013
@@ -34,6 +34,6 @@ public interface Renderer {
      *
      * Throws an exception if there is a problem during rendering.
      */
-    public void render(Map model, Writer writer) throws RenderingException;
+    void render(Map model, Writer writer) throws RenderingException;
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/Model.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/Model.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/Model.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/model/Model.java Sat Jul 20 19:21:47 2013
@@ -30,12 +30,12 @@ public interface Model {
     /**
      * Name to be used when referring to this model.
      */
-    public String getModelName();
+    String getModelName();
     
     
     /**
      * Initialize.
      */
-    public void init(Map params) throws WebloggerException;
+    void init(Map params) throws WebloggerException;
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers/Pager.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers/Pager.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers/Pager.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/pagers/Pager.java Sat Jul 20 19:21:47 2013
@@ -27,36 +27,36 @@ public interface Pager {
     /**
      * Link value for returning to pager home
      */
-    public String getHomeLink();
+    String getHomeLink();
 
     /**
      * Name of pager home.
      */
-    public String getHomeName();
+    String getHomeName();
 
     /**
      * Link value for next page in current collection view
      */
-    public String getNextLink();
+    String getNextLink();
 
     /**
      * Name for next page in current collection view
      */
-    public String getNextName();
+    String getNextName();
 
     /**
      * Link value for prev page in current collection view
      */
-    public String getPrevLink();
+    String getPrevLink();
 
     /**
      * Link value for prev page in current collection view
      */
-    public String getPrevName();
+    String getPrevName();
     
     /**
      * Get current list of items available from the pager.
      */
-    public List getItems();
+    List getItems();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentAuthenticator.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentAuthenticator.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentAuthenticator.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentAuthenticator.java Sat Jul 20 19:21:47 2013
@@ -33,7 +33,7 @@ public interface CommentAuthenticator {
      *
      * @param request comment form request object
      */
-    public String getHtml(HttpServletRequest request);
+    String getHtml(HttpServletRequest request);
     
     
     /**
@@ -43,6 +43,6 @@ public interface CommentAuthenticator {
      * @param request comment posting request object
      * @return true if authentication passed, false otherwise
      */
-    public boolean authenticate(HttpServletRequest request);
+    boolean authenticate(HttpServletRequest request);
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentValidator.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentValidator.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentValidator.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/rendering/plugins/comments/CommentValidator.java Sat Jul 20 19:21:47 2013
@@ -27,12 +27,12 @@ public interface CommentValidator {  
     /**
      * Plain text name of validator for display purposes.
      */
-    public String getName();
+    String getName();
 
     /**
      * @param comment Comment to be validated
      * @param messages Messages object to which errors will added
      * @return Number indicating confidence that comment is valid (100 meaning 100%)
      */
-    public int validate(WeblogEntryComment comment, RollerMessages messages);   
+    int validate(WeblogEntryComment comment, RollerMessages messages);
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIActionPreparable.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIActionPreparable.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIActionPreparable.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UIActionPreparable.java Sat Jul 20 19:21:47 2013
@@ -38,6 +38,6 @@ package org.apache.roller.weblogger.ui.s
  */
 public interface UIActionPreparable {
     
-    public void myPrepare();
+    void myPrepare();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UISecurityEnforced.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UISecurityEnforced.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UISecurityEnforced.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/ui/struts2/util/UISecurityEnforced.java Sat Jul 20 19:21:47 2013
@@ -39,7 +39,7 @@ public interface UISecurityEnforced {
      *
      * @return boolean True if authenticated user is required, false otherwise.
      */
-    public boolean isUserRequired();
+    boolean isUserRequired();
     
     
     /**
@@ -49,17 +49,17 @@ public interface UISecurityEnforced {
      *
      * @return boolean True if action weblog is required, false otherwise.
      */
-    public boolean isWeblogRequired();
+    boolean isWeblogRequired();
     
     
     /**
      * List of global permission actions required to access resource.
      */
-    public List<String> requiredWeblogPermissionActions();
+    List<String> requiredWeblogPermissionActions();
     
     
     /** 
      * List of weblog permissions required to access action if applicable.
      */
-    public List<String> requiredGlobalPermissionActions();
+    List<String> requiredGlobalPermissionActions();
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/util/cache/Cache.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/util/cache/Cache.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/util/cache/Cache.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/util/cache/Cache.java Sat Jul 20 19:21:47 2013
@@ -29,36 +29,36 @@ public interface Cache {
     /**
      * a unique identifier for the cache.
      */
-    public String getId();
+    String getId();
     
     
     /**
      * put an item in the cache.
      */
-    public void put(String key, Object value);
+    void put(String key, Object value);
     
     
     /**
      * get an item from the cache.
      */
-    public Object get(String key);
+    Object get(String key);
     
     
     /**
      * remove an item from the cache.
      */
-    public void remove(String key);
+    void remove(String key);
     
     
     /**
      * clear the entire cache.
      */
-    public void clear();
+    void clear();
     
     
     /**
      * get cache stats.
      */
-    public Map getStats();
+    Map getStats();
     
 }

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/EntrySet.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/EntrySet.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/EntrySet.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/EntrySet.java Sat Jul 20 19:21:47 2013
@@ -1,6 +1,6 @@
 /*
 * Licensed to the Apache Software Foundation (ASF) under one or more
-*  contributor license agreements.  The ASF licenses this file to You
+* contributor license agreements.  The ASF licenses this file to You
 * under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License.
 * You may obtain a copy of the License at
@@ -30,24 +30,24 @@ import org.jdom.Element;
  */
 public abstract class EntrySet extends Entry {
     /** Entry set types. */
-    public static interface Types {
+    public interface Types {
         /*
          * Set of user entries. 
          * A user entry describes a user of the weblog server.
          */
-        public static final String USERS = "users";
+        String USERS = "users";
         /** 
          * Set of weblog entries. 
          * Note that this is not a set of entries in a weblog, but rather,
          * a set of entries that describe the weblog itself.
          */
-        public static final String WEBLOGS = "weblogs";
+        String WEBLOGS = "weblogs";
         /** 
          * Set of member entries.
          * A member entry describes a user's membership to and 
          * permission with a particular weblog.
          */
-        public static final String MEMBERS = "members";
+        String MEMBERS = "members";
          /**
           * Set of workspace entries.
           * This type, along with WORKSPACE and COLLECTION, define
@@ -57,9 +57,9 @@ public abstract class EntrySet extends E
           * A service is a set of workspaces, and a workspace is a set of 
           * collections.
           */
-        public static final String SERVICE = "service";        
+        String SERVICE = "service";
         /** Set of collection entries. */
-        public static final String WORKSPACE = "workspace";           
+        String WORKSPACE = "workspace";
     }
     
     private List entries = null;

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/Service.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/Service.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/Service.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/Service.java Sat Jul 20 19:21:47 2013
@@ -52,7 +52,7 @@ public class Service extends EntrySet {
         populate(d);
     }
     
-    public Service(InputStream stream) throws JDOMException, IOException, UnexpectedRootElementException {               
+    public Service(InputStream stream) throws JDOMException, IOException, UnexpectedRootElementException {
         SAXBuilder sb = new SAXBuilder();
         Document d = sb.build(stream);
         populate(d);        
@@ -92,8 +92,8 @@ public class Service extends EntrySet {
     /** This class describes a service workspace. */    
     public static class Workspace extends EntrySet {   
         
-        private static interface Attributes {
-            public static final String TITLE = "title";
+        private interface Attributes {
+            String TITLE = "title";
         }
         
         private String title = null;
@@ -146,12 +146,12 @@ public class Service extends EntrySet {
         /** This class describes a workspace collection. */
         public static class Collection extends Entry {
             
-            private static interface Tags {
-                public static final String MEMBER_TYPE = "member-type";
+            private interface Tags {
+                String MEMBER_TYPE = "member-type";
             }
             
-            private static interface Attributes {
-                public static final String TITLE = "title";
+            private interface Attributes {
+                String TITLE = "title";
             }
             
             private String title;

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/UserEntrySet.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/UserEntrySet.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/UserEntrySet.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/UserEntrySet.java Sat Jul 20 19:21:47 2013
@@ -40,8 +40,8 @@ import org.apache.roller.weblogger.webse
  */
 public class UserEntrySet extends EntrySet {
     /** XML tags that describe a set of user entries. */
-    private static interface Tags {
-        public static final String USERS = "users";
+    private interface Tags {
+        String USERS = "users";
     }       
         
     /** Construct based on an array of Roller UserData objects. */

Modified: roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/WeblogEntrySet.java
URL: http://svn.apache.org/viewvc/roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/WeblogEntrySet.java?rev=1505192&r1=1505191&r2=1505192&view=diff
==============================================================================
--- roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/WeblogEntrySet.java (original)
+++ roller/trunk/app/src/main/java/org/apache/roller/weblogger/webservices/adminprotocol/sdk/WeblogEntrySet.java Sat Jul 20 19:21:47 2013
@@ -39,8 +39,8 @@ import org.apache.roller.weblogger.webse
  * @author jtb
  */
 public class WeblogEntrySet extends EntrySet {
-    static interface Tags {
-        public static final String WEBLOGS = "weblogs";
+    interface Tags {
+        String WEBLOGS = "weblogs";
     }      
     
     public WeblogEntrySet(String urlPrefix) {
@@ -51,7 +51,7 @@ public class WeblogEntrySet extends Entr
         populate(d, urlPrefix);
     }
     
-    public WeblogEntrySet(InputStream stream, String urlPrefix) throws JDOMException, IOException, UnexpectedRootElementException {               
+    public WeblogEntrySet(InputStream stream, String urlPrefix) throws JDOMException, IOException, UnexpectedRootElementException {
         SAXBuilder sb = new SAXBuilder();
         Document d = sb.build(stream);
 



Mime
View raw message