[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552678 ] Marcel Reutegger commented on JCR-1271: --- Well, as with any synchronization it will slow down execution. But if I

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552682 ] Ard Schrijvers commented on JCR-1271: - :-) True, but if it is like a big difference, other options might be

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552701 ] Marcel Reutegger commented on JCR-1271: --- AFAICS, the difference is minimal. Running times for tests only differ

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552718 ] Jukka Zitting commented on JCR-1271: Could we not fix the problem at its source instead of in a synchronization

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552746 ] Marcel Reutegger commented on JCR-1271: --- That would be an alternative, but as mentioned before there are use

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-18 Thread Jukka Zitting (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12552755 ] Jukka Zitting commented on JCR-1271: Our codebase is already pretty complex, so avoiding an extra wrapper class

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-14 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551834 ] Ard Schrijvers commented on JCR-1271: - Wouldn't be enough to replace public ItemStateReferenceMap() {

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-14 Thread Ard Schrijvers (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551845 ] Ard Schrijvers commented on JCR-1271: - Okay. Do you know/experience if you changes regarding synchronized make

[jira] Commented: (JCR-1271) NullPointerException when iterating over properties

2007-12-14 Thread Marcel Reutegger (JIRA)
[ https://issues.apache.org/jira/browse/JCR-1271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551841 ] Marcel Reutegger commented on JCR-1271: --- This will turn ItemStateReferenceMap into a synchonized map, which is