[HtmlUnit] SF.net SVN: htmlunit:[5152] trunk/htmlunit/src/main/java/com/ gargoylesoftware/htmlunit/html/HTMLParserListener.java

View: New views
1 Messages — Rating Filter:   Alert me  

[HtmlUnit] SF.net SVN: htmlunit:[5152] trunk/htmlunit/src/main/java/com/ gargoylesoftware/htmlunit/html/HTMLParserListener.java

by sdanig :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 5152
          http://htmlunit.svn.sourceforge.net/htmlunit/?rev=5152&view=rev
Author:   sdanig
Date:     2009-11-04 02:20:10 +0000 (Wed, 04 Nov 2009)

Log Message:
-----------
Remove unnecessary parameter (flagged by the PMD analysis tool).

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HTMLParserListener.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HTMLParserListener.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HTMLParserListener.java 2009-11-02 15:12:27 UTC (rev 5151)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HTMLParserListener.java 2009-11-04 02:20:10 UTC (rev 5152)
@@ -70,17 +70,17 @@
 
     public void error(final String message, final URL url, final int line, final int column, final String key) {
         if (LOG.isErrorEnabled()) {
-            LOG.error(format(message, url, line, column, key));
+            LOG.error(format(message, url, line, column));
         }
     }
 
     public void warning(final String message, final URL url, final int line, final int column, final String key) {
         if (LOG.isWarnEnabled()) {
-            LOG.warn(format(message, url, line, column, key));
+            LOG.warn(format(message, url, line, column));
         }
     }
 
-    private String format(final String message, final URL url, final int line, final int column, final String key) {
+    private String format(final String message, final URL url, final int line, final int column) {
         final StringBuilder buffer = new StringBuilder(message);
         buffer.append(" (");
         buffer.append(url.toExternalForm());


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
HtmlUnit-develop mailing list
HtmlUnit-develop@...
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop