roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bay...@apache.org
Subject svn commit: r580234 - in /roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger: business/startup/SQLScriptRunner.java webservices/atomprotocol/RollerAtomHandler.java
Date Fri, 28 Sep 2007 07:16:12 GMT
Author: bayard
Date: Fri Sep 28 00:16:12 2007
New Revision: 580234

URL: http://svn.apache.org/viewvc?rev=580234&view=rev
Log:
Another unused variable, and a duplicated variable definition

Modified:
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/startup/SQLScriptRunner.java
    roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/atomprotocol/RollerAtomHandler.java

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/startup/SQLScriptRunner.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/startup/SQLScriptRunner.java?rev=580234&r1=580233&r2=580234&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/startup/SQLScriptRunner.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/business/startup/SQLScriptRunner.java
Fri Sep 28 00:16:12 2007
@@ -43,7 +43,6 @@
     
     private static Log   log = LogFactory.getLog(SQLScriptRunner.class);
     
-    private String       scriptPath = null;
     private List<String> commands = new ArrayList<String>();
     private List<String> messages = new ArrayList<String>();
     private boolean      failed = false;
@@ -55,7 +54,6 @@
         
         log.debug("instantiated");
         
-        this.scriptPath = scriptPath;
         BufferedReader in = new BufferedReader(new InputStreamReader(is));
         String command = ""; 
         String line;

Modified: roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/atomprotocol/RollerAtomHandler.java
URL: http://svn.apache.org/viewvc/roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/atomprotocol/RollerAtomHandler.java?rev=580234&r1=580233&r2=580234&view=diff
==============================================================================
--- roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/atomprotocol/RollerAtomHandler.java
(original)
+++ roller/trunk/apps/weblogger/src/java/org/apache/roller/weblogger/webservices/atomprotocol/RollerAtomHandler.java
Fri Sep 28 00:16:12 2007
@@ -316,7 +316,7 @@
             if (!canView(website)) {
                 throw new AtomNotAuthorizedException("Not authorized to access website: "
+ handle);
             }
-            List entries = entries = roller.getWeblogManager().getWeblogEntries( 
+            List entries = roller.getWeblogManager().getWeblogEntries( 
                     website,           // website
                     null,              // user
                     null,              // startDate



Mime
View raw message