velocity-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cbris...@apache.org
Subject svn commit: r493735 - /velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java
Date Sun, 07 Jan 2007 15:13:46 GMT
Author: cbrisson
Date: Sun Jan  7 07:13:46 2007
New Revision: 493735

URL: http://svn.apache.org/viewvc?view=rev&rev=493735
Log:
let the BrowerSnifferTool detect java when the client is HttpUnit

Modified:
    velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java

Modified: velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java
URL: http://svn.apache.org/viewvc/velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java?view=diff&rev=493735&r1=493734&r2=493735
==============================================================================
--- velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java
(original)
+++ velocity/tools/trunk/src/java/org/apache/velocity/tools/view/tools/BrowserSnifferTool.java
Sun Jan  7 07:13:46 2007
@@ -424,7 +424,7 @@
 
     public boolean getJava()
     {
-        return test("java") || test("jdk");
+        return test("java") || test("jdk") || test("httpunit");
     }
 
     public boolean getAltavista()



Mime
View raw message