commit | 363d520257f0b187271f2cd571471eb38192d2e0 | [log] [tgz] |
---|---|---|
author | nitind <nitind> | Tue Feb 17 01:44:39 2009 +0000 |
committer | nitind <nitind> | Tue Feb 17 01:44:39 2009 +0000 |
tree | 116f3f0bde3c21beb5cef23d8c17436a330af821 | |
parent | 5d71756a8ad76082e3b05e886b5daf0391d5d524 [diff] |
[264646] HTMLValidator.validate() could call releaseFromRead() twice
diff --git a/bundles/org.eclipse.wst.html.ui/src-html-validation/org/eclipse/wst/html/internal/validation/HTMLValidator.java b/bundles/org.eclipse.wst.html.ui/src-html-validation/org/eclipse/wst/html/internal/validation/HTMLValidator.java index 9e7c6e7..dfbf27c 100644 --- a/bundles/org.eclipse.wst.html.ui/src-html-validation/org/eclipse/wst/html/internal/validation/HTMLValidator.java +++ b/bundles/org.eclipse.wst.html.ui/src-html-validation/org/eclipse/wst/html/internal/validation/HTMLValidator.java
@@ -273,7 +273,8 @@ } if (document == null || !hasHTMLFeature(document)) { - model.releaseFromRead(); + // handled in finally clause + // model.releaseFromRead(); return; //ignore }