You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by sc...@apache.org on 2017/10/04 15:19:04 UTC
svn commit: r1811092 -
/uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml
Author: schor
Date: Wed Oct 4 15:19:04 2017
New Revision: 1811092
URL: http://svn.apache.org/viewvc?rev=1811092&view=rev
Log:
no jira, minor update
Modified:
uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml
Modified: uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml
URL: http://svn.apache.org/viewvc/uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml?rev=1811092&r1=1811091&r2=1811092&view=diff
==============================================================================
--- uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml (original)
+++ uima/uv3/uimaj-v3/trunk/uima-docbook-references/src/docbook/ref.cas.xml Wed Oct 4 15:19:04 2017
@@ -790,8 +790,7 @@ try {
ac.close();
}
-// if Java 8 is in use,
-// this can be written using the auto-close feature of try:
+// This can more compactly be written using the auto-close feature of try:
try (AutoCloseable ac = my_cas.protectIndexes()) {
... arbitrary user code which updates features