tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jkuhn...@apache.org
Subject svn commit: r612119 - /tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java
Date Tue, 15 Jan 2008 13:53:40 GMT
Author: jkuhnert
Date: Tue Jan 15 05:53:37 2008
New Revision: 612119

URL: http://svn.apache.org/viewvc?rev=612119&view=rev
Log:
Changed string empty block check to use Hivemind.isBlank utility.

Modified:
    tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java

Modified: tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java
URL: http://svn.apache.org/viewvc/tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java?rev=612119&r1=612118&r2=612119&view=diff
==============================================================================
--- tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java
(original)
+++ tapestry/tapestry4/trunk/tapestry-framework/src/java/org/apache/tapestry/util/io/CompressedDataEncoder.java
Tue Jan 15 05:53:37 2008
@@ -41,7 +41,7 @@
     {
         Defense.notNull(input, "input");
 
-        if (input.isEmpty())
+        if (HiveMind.isBlank(input))
             return "";
 
         try {



Mime
View raw message