Author: schor
Date: Tue Mar 25 19:45:44 2014
New Revision: 1581485

URL: http://svn.apache.org/r1581485
Log:
[UIMA-2693] reduce unneeded object creation

Modified:
    
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java

Modified: 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java
URL: 
http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java?rev=1581485&r1=1581484&r2=1581485&view=diff
==============================================================================
--- 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java
 (original)
+++ 
uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java
 Tue Mar 25 19:45:44 2014
@@ -58,7 +58,7 @@ public class AnalysisEngineMetaData_impl
 
   private AnalysisEngineMetaData[] mDelegateAnalysisEngineMetaData;
 
-  private Capability[] mCapabilities = new Capability[0];
+  private Capability[] mCapabilities = Capability.EMPTY_CAPABILITIES;
 
   private TypeSystemDescription mTypeSystem;
 


Reply via email to