[jbosstools-dev] [Fwd: [jbosstools-commits] JBoss Tools SVN: r4461 - trunk/seam/plugins/org.jboss.tools.seam.core/src/org/jboss/tools/seam/internal/core/validation.]

Alexey Kazakov akazakov at exadel.com
Thu Oct 25 06:02:32 EDT 2007


Hello Max,

Thursday, October 25, 2007, 12:40:24 PM, you wrote:

> Hi Alexey,

> Saw your fix for the "resource out of sync exception" and got a question.

> Wouldn't it be better to use
> file.isSynchronized(IResource.DEPTH_ZERO) 
> to check before reading instead of catching all exceptions ?

You're right. It's better.



-- 
Best regards,
 Alexey                            mailto:akazakov at exadel.com




More information about the jbosstools-dev mailing list