7172737475767778798081
// note: old annotations are removed via the strategies on // AbstractStructuredTextReconcilingStrategy#setDocument(...) } } finally { if(model != null) { model.releaseFromRead(); } } } } }
6566676869707172737475
try { if (sModel != null) indexedRegion = sModel.getIndexedRegion(sdRegion.getStart()); } finally { if (sModel != null) sModel.releaseFromRead(); } return indexedRegion; } }
} } } finally { if (model != null) model.releaseFromRead(); } } private boolean isPreferenceEnabled(String key) { return (key != null && JSPUIPlugin.getDefault().getPreferenceStore().getBoolean(key));
213214215216217218219220221222223
} } } finally { if (model != null) { model.releaseFromRead(); } } } return file; }
327328329330331332333334335336337
return model.getBaseLocation(); } } finally { if (model != null) { model.releaseFromRead(); } } return null; }
241242243244245246247248249250251
} catch (CoreException e) { Logger.logException("Could not get translator for " + jspFile.getName() + //$NON-NLS-1$ " because could not read model for same.", e); //$NON-NLS-1$ } finally { if(model != null) { model.releaseFromRead(); } } return translator; }
120121122123124125126127128129130
catch (Exception e) { Logger.log(Logger.WARNING, e.getMessage()); } finally { if (model != null) { model.releaseFromRead(); } } if (file == null && fileString.startsWith("/")) { //$NON-NLS-1$ file = ResourcesPlugin.getWorkspace().getRoot().getFile(new Path(fileString)); }
409410411412413414415416417418419
} } } finally { if (model != null) model.releaseFromRead(); } } } return baselocation; }
930931932933934935936937938939940
} fAutoActivation = CompletionProposalComputerRegistry.getDefault().getActivator(fContentTypeID, fPartitionTypeID); } } finally { if(model != null) { model.releaseFromRead(); } } } } }
90919293949596979899100
} catch (CoreException e) { return STATUS_ERROR; } finally { model.releaseFromRead(); } } else { model.releaseFromRead(); }