[HtmlUnit] SVN: [13797] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ html/HtmlImage.java

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

[HtmlUnit] SVN: [13797] trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/ html/HtmlImage.java

asashour-2
Revision: 13797
          http://sourceforge.net/p/htmlunit/code/13797
Author:   asashour
Date:     2017-03-16 09:52:38 +0000 (Thu, 16 Mar 2017)
Log Message:
-----------
checkstyle

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

Modified: trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlImage.java
===================================================================
--- trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlImage.java 2017-03-16 09:49:00 UTC (rev 13796)
+++ trunk/htmlunit/src/main/java/com/gargoylesoftware/htmlunit/html/HtmlImage.java 2017-03-16 09:52:38 UTC (rev 13797)
@@ -636,8 +636,8 @@
      * @return true if the image was successfully downloaded
      */
     public boolean isComplete() {
-        return downloaded_ ||
-                (hasFeature(JS_IMAGE_COMPLETE_RETURNS_TRUE_FOR_NO_REQUEST)
+        return downloaded_
+                || (hasFeature(JS_IMAGE_COMPLETE_RETURNS_TRUE_FOR_NO_REQUEST)
                 ? ATTRIBUTE_NOT_DEFINED == getSrcAttribute()
                 : imageData_ != null);
     }


------------------------------------------------------------------------------
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