-
Hi there,
what a money with a null value means for the different methods in MoneyUtils is very inconsistent:
isZero: null == zero
max: null == negative infinity unless both arguments are null, where an exception is thrown
min: null == positive infinity unless both arguments are null, where an exception is thrown (Javadoc (or implementation) is wrong here)
add: null == zero unless both...
2009-08-25 08:01:00 UTC in Joda - Money
-
I can't compile the project from source as
the class org.sf.pkb.KnowledgeInfo is missing in the cvs repository.
2007-04-01 14:02:11 UTC in ALEX Personal Knowledge Base
-
Logged In: YES
user_id=1642385
After taking a close look at the HtmlUnit source code, I
found a better solution. Instead of commenting the
offending lines out we can provide the missing javascript
classes by using the following ScriptPreProcessor:
import org.mozilla.javascript.Scriptable;
import org.mozilla.javascript.ScriptableObject;
import...
2006-11-13 09:50:28 UTC in HtmlUnit
-
Logged In: YES
user_id=1642385
You can just comment the offending lines out. You don't need
to actually change the prototype.js itself; you can use a
script pre-processor to do that:
WebClient webClient = new WebClient();
// This is needed as htmlunit 1.10 cannot handle
prototype 1.5.0_rc1
webClient.setScriptPreProcessor(new ScriptPreProcessor() {
public...
2006-11-10 17:15:15 UTC in HtmlUnit