[HtmlUnit] SVN: [13805] trunk/htmlunit/src

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[HtmlUnit] SVN: [13805] trunk/htmlunit/src

asashour-2
Revision: 13805
          http://sourceforge.net/p/htmlunit/code/13805
Author:   asashour
Date:     2017-03-17 17:24:59 +0000 (Fri, 17 Mar 2017)
Log Message:
-----------
spaces

Modified Paths:
--------------
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomElement.java
    trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlSelectTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/MalformedHtmlTest.java
    trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DOMParserTest.java

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomElement.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomElement.java 2017-03-17 17:19:21 UTC (rev 13804)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/DomElement.java 2017-03-17 17:24:59 UTC (rev 13805)
@@ -170,7 +170,7 @@
      * string, this method actually removes the named style attribute.
      * @param name the attribute name (delimiter-separated, not camel-cased)
      * @param value the attribute value
-     * @param priority  the new priority of the property; <code>"important"</code>or the empty string if none.
+     * @param priority the new priority of the property; <code>"important"</code>or the empty string if none.
      */
     public void replaceStyleAttribute(final String name, final String value, final String priority) {
         if (org.apache.commons.lang3.StringUtils.isBlank(value)) {

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java 2017-03-17 17:19:21 UTC (rev 13804)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/javascript/host/css/CSSStyleDeclaration.java 2017-03-17 17:24:59 UTC (rev 13805)
@@ -3098,7 +3098,7 @@
             if (undefinedAsEmpty && Undefined.instance == value) {
                 valueString = "";
             }
-            else  if (null == value) {
+            else if (null == value) {
                 valueString = "";
             }
 

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlSelectTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlSelectTest.java 2017-03-17 17:19:21 UTC (rev 13804)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/HtmlSelectTest.java 2017-03-17 17:24:59 UTC (rev 13805)
@@ -358,7 +358,7 @@
      * @throws Exception if the test fails
      */
     @Test
-    public void  getOptionByValue() throws Exception {
+    public void getOptionByValue() throws Exception {
         final String htmlContent = "<html><head><title>foo</title></head><body><form id='form1'>\n"
             + "<select name='select1'>\n"
             + "  <option value='option1'>s1o1</option>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/MalformedHtmlTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/MalformedHtmlTest.java 2017-03-17 17:19:21 UTC (rev 13804)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/html/MalformedHtmlTest.java 2017-03-17 17:24:59 UTC (rev 13805)
@@ -164,7 +164,7 @@
      */
     @Test
     @Alerts("12345")
-    public void  wrongHtml_TagBeforeHtml() throws Exception {
+    public void wrongHtml_TagBeforeHtml() throws Exception {
         final String html = "<div>\n"
             + "<html>\n"
             + "<head><title>foo</title>\n"

Modified: trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DOMParserTest.java
===================================================================
--- trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DOMParserTest.java 2017-03-17 17:19:21 UTC (rev 13804)
+++ trunk/htmlunit/src/test/java/com/gargoylesoftware/htmlunit/javascript/host/dom/DOMParserTest.java 2017-03-17 17:24:59 UTC (rev 13805)
@@ -154,7 +154,7 @@
         final String content = HtmlPageTest.STANDARDS_MODE_PREFIX_
             + "<html><head><title>foo</title><script>\n"
             + "  function test() {\n"
-            + "    var text='<svg  xmlns=\"http://www.w3.org/2000/svg\"/>';\n"
+            + "    var text='<svg xmlns=\"http://www.w3.org/2000/svg\"/>';\n"
             + "    try {\n"
             + "      var parser = new DOMParser();\n"
             + "      var doc = parser.parseFromString(text, 'image/svg+xml');\n"


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
HtmlUnit-develop mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/htmlunit-develop