You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by tw...@apache.org on 2007/07/06 16:45:55 UTC
svn commit: r553907 -
/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java
Author: twgoetz
Date: Fri Jul 6 07:45:54 2007
New Revision: 553907
URL: http://svn.apache.org/viewvc?view=rev&rev=553907
Log:
Anaphylactic shock. From Wikipedia: The most severe type of anaphylaxis
—anaphylactic shock— will usually lead to death in a matter of minutes
if left untreated. So an immediate commit was necessary ;-) Please
follow the coding guidelines, whoever committed this.
Modified:
incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java
Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java?view=diff&rev=553907&r1=553906&r2=553907
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/TypeSystemImpl.java Fri Jul 6 07:45:54 2007
@@ -1072,8 +1072,9 @@
* @see org.apache.uima.cas.admin.TypeSystemMgr#commit()
*/
public void commit() {
- if (this.locked == true)
+ if (this.locked == true) {
return; // might be called multiple times, but only need to do once
+ }
this.locked = true;
// because subsumes depends on it
// and generator initialization uses subsumes