On Sep 17, 2009, at 11:40 , Søren Krum wrote:

It gets even more interesting:

When using a decompiler on class Property helper, hm i get the following:

/* 155*/ for(Iterator kI = props.keySet().iterator(); kI.hasNext(); props.put(key, value)) {

/* 157*/            key = (String)kI.next();

/* 159*/            value = props.getProperty(key);

/* 161*/            value = replace(value, props, settings);
              }
          }
}

and yes, line number 163 has just one curly brace in it, not a really god candidate for a null pointer...

In Cocoon trunk [1] the statement
        props.put(key, value);
is on line 163 of PropertyHelper.java.

Maybe the decompiler does change line numbers?

Alex

[1] 
http://svn.apache.org/repos/asf/cocoon/trunk/subprojects/cocoon-configuration/cocoon-configuration-api/src/main/java/org/apache/cocoon/configuration/PropertyHelper.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to