You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by al...@apache.org on 2006/11/28 23:25:57 UTC

svn commit: r480252 [3/16] - in /incubator/uima/uimaj/trunk/uimaj-core/src: main/java/org/apache/uima/ main/java/org/apache/uima/analysis_component/ main/java/org/apache/uima/analysis_engine/ main/java/org/apache/uima/analysis_engine/annotator/ main/ja...

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/PrimitiveAnalysisEngine_impl.java Tue Nov 28 14:25:39 2006
@@ -91,7 +91,7 @@
    * @see org.apache.uima.resource.Resource#initialize(ResourceSpecifier, Map)
    */
   public boolean initialize(ResourceSpecifier aSpecifier, Map aAdditionalParams)
-                  throws ResourceInitializationException {
+          throws ResourceInitializationException {
     try {
       // Primitive AnalysisEngine can be build from any ResourceCreationSpecifier-
       // this includes CollectionReader, and CasConsumer descriptors
@@ -103,7 +103,7 @@
 
       // BUT, for AnalysisEngineDescriptions, must not be an aggregate
       if (aSpecifier instanceof AnalysisEngineDescription
-                      && !((AnalysisEngineDescription) aSpecifier).isPrimitive()) {
+              && !((AnalysisEngineDescription) aSpecifier).isPrimitive()) {
         return false;
       }
 
@@ -120,7 +120,7 @@
       ProcessingResourceMetaData md = (ProcessingResourceMetaData) mDescription.getMetaData();
 
       getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                      "UIMA_analysis_engine_init_begin__CONFIG", md.getName());
+              "UIMA_analysis_engine_init_begin__CONFIG", md.getName());
 
       // Normalize language codes. Need to do this since a wide variety of
       // spellings are acceptable according to ISO.
@@ -156,12 +156,12 @@
       resetResultSpecificationToDefault();
 
       getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                      "UIMA_analysis_engine_init_successful__CONFIG", md.getName());
+              "UIMA_analysis_engine_init_successful__CONFIG", md.getName());
       return true;
     } catch (ResourceConfigurationException e) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.ERROR_INITIALIZING_FROM_DESCRIPTOR,
-                      new Object[] { getMetaData().getName(), aSpecifier.getSourceUrlString() });
+              ResourceInitializationException.ERROR_INITIALIZING_FROM_DESCRIPTOR, new Object[] {
+                  getMetaData().getName(), aSpecifier.getSourceUrlString() });
     }
   }
 
@@ -175,15 +175,15 @@
    *           if an initialization failure occurs
    */
   protected void initializeAnalysisComponent(Map aAdditionalParams)
-                  throws ResourceInitializationException {
+          throws ResourceInitializationException {
     // instantiate Annotator class
     String annotatorClassName;
     annotatorClassName = mDescription.getImplementationName();
 
     if (annotatorClassName == null || annotatorClassName.length() == 0) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.MISSING_ANNOTATOR_CLASS_NAME,
-                      new Object[] { mDescription.getSourceUrlString() });
+              ResourceInitializationException.MISSING_ANNOTATOR_CLASS_NAME,
+              new Object[] { mDescription.getSourceUrlString() });
     }
 
     // load annotator class
@@ -201,16 +201,16 @@
       }
     } catch (ClassNotFoundException e) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.ANNOTATOR_CLASS_NOT_FOUND, new Object[] {
-                          annotatorClassName, mDescription.getSourceUrlString() }, e);
+              ResourceInitializationException.ANNOTATOR_CLASS_NOT_FOUND, new Object[] {
+                  annotatorClassName, mDescription.getSourceUrlString() }, e);
     }
 
     // Make sure the specified class can be adapter to an AnalysisComponent.
     if (!(AnalysisComponent.class.isAssignableFrom(annotatorClass))
-                    && !AnalysisComponentAdapterFactory.isAdaptable(annotatorClass)) {
+            && !AnalysisComponentAdapterFactory.isAdaptable(annotatorClass)) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.NOT_AN_ANALYSIS_COMPONENT, new Object[] {
-                          annotatorClass.getName(), mDescription.getSourceUrlString() });
+              ResourceInitializationException.NOT_AN_ANALYSIS_COMPONENT, new Object[] {
+                  annotatorClass.getName(), mDescription.getSourceUrlString() });
     }
 
     // if we're in verification mode, stop here and do not try to instantiate the
@@ -225,14 +225,14 @@
         mAnalysisComponent = (AnalysisComponent) userObject;
       } else {
         mAnalysisComponent = AnalysisComponentAdapterFactory.createAdapter(userObject,
-                        getAnalysisEngineMetaData(), aAdditionalParams);
+                getAnalysisEngineMetaData(), aAdditionalParams);
       }
     } catch (ResourceInitializationException e) {
       throw e;
     } catch (Exception e) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.COULD_NOT_INSTANTIATE_ANNOTATOR,
-                      new Object[] { annotatorClassName, mDescription.getSourceUrlString() }, e);
+              ResourceInitializationException.COULD_NOT_INSTANTIATE_ANNOTATOR, new Object[] {
+                  annotatorClassName, mDescription.getSourceUrlString() }, e);
     }
 
     // Set Logger, to enable annotator-specific logging
@@ -246,14 +246,14 @@
       mAnalysisComponent.initialize(getUimaContext());
     } catch (Exception e) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.ANNOTATOR_INITIALIZATION_FAILED,
-                      new Object[] { annotatorClassName, mDescription.getSourceUrlString() }, e);
+              ResourceInitializationException.ANNOTATOR_INITIALIZATION_FAILED, new Object[] {
+                  annotatorClassName, mDescription.getSourceUrlString() }, e);
     }
 
     // set up the CAS pool for this AE (this won't do anything if
     // mAnalysisComponent.getCasInstancesRequired() == 0)
     getUimaContextAdmin().defineCasPool(mAnalysisComponent.getCasInstancesRequired(),
-                    getPerformanceTuningSettings(), mSofaAware);
+            getPerformanceTuningSettings(), mSofaAware);
   }
 
   /**
@@ -263,7 +263,7 @@
     if (mAnalysisComponent != null) {
       mAnalysisComponent.destroy();
       getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                      "UIMA_analysis_engine_destroyed__CONFIG", getMetaData().getName());
+              "UIMA_analysis_engine_destroyed__CONFIG", getMetaData().getName());
     }
     super.destroy();
   }
@@ -331,7 +331,7 @@
     // logging and instrumentation
     String resourceName = getMetaData().getName();
     getLogger().logrb(Level.FINE, CLASS_NAME.getName(), "process", LOG_RESOURCE_BUNDLE,
-                    "UIMA_analysis_engine_process_begin__FINE", resourceName);
+            "UIMA_analysis_engine_process_begin__FINE", resourceName);
     try {
       // call Annotator's process method
       try {
@@ -362,8 +362,7 @@
           // looking at this primitive AE's declared output types and eliminiating
           // any that are not in mCurrentResultSpecification.
           ResultSpecification analysisComponentResultSpec = computeAnalysisComponentResultSpec(
-                          mCurrentResultSpecification, getAnalysisEngineMetaData()
-                                          .getCapabilities());
+                  mCurrentResultSpecification, getAnalysisEngineMetaData().getCapabilities());
           // compile result spec - necessary to get type subsumption to work properly
           analysisComponentResultSpec.compile(mLastTypeSystem);
           mAnalysisComponent.setResultSpecification(analysisComponentResultSpec);
@@ -379,7 +378,7 @@
           throw e;
         } else {
           throw new AnalysisEngineProcessException(
-                          AnalysisEngineProcessException.ANNOTATOR_EXCEPTION, null, e);
+                  AnalysisEngineProcessException.ANNOTATOR_EXCEPTION, null, e);
         }
       } finally {
         // unlock CAS functions
@@ -388,7 +387,7 @@
 
       // log end of event
       getLogger().logrb(Level.FINE, CLASS_NAME.getName(), "process", LOG_RESOURCE_BUNDLE,
-                      "UIMA_analysis_engine_process_end__FINE", resourceName);
+              "UIMA_analysis_engine_process_end__FINE", resourceName);
     } catch (Exception e) {
       // log and rethrow exception
       getLogger().log(Level.SEVERE, "", e);
@@ -413,7 +412,7 @@
    * @return a ResultSpecifciation to pass to the AnalysisComponent
    */
   protected ResultSpecification computeAnalysisComponentResultSpec(
-                  ResultSpecification inputResultSpec, Capability[] capabilities) {
+          ResultSpecification inputResultSpec, Capability[] capabilities) {
     ResultSpecification newResultSpec = new ResultSpecification_impl();
     for (int i = 0; i < capabilities.length; i++) {
       Capability cap = capabilities[i];
@@ -425,11 +424,11 @@
       for (int j = 0; j < outputs.length; j++) {
         for (int k = 0; k < languages.length; k++) {
           if (outputs[j].isType()
-                          && inputResultSpec.containsType(outputs[j].getName(), languages[k])) {
+                  && inputResultSpec.containsType(outputs[j].getName(), languages[k])) {
             newResultSpec.addResultType(outputs[j].getName(), outputs[j].isAllAnnotatorFeatures(),
-                            new String[] { languages[k] });
+                    new String[] { languages[k] });
           } else if (!outputs[j].isType()
-                          && inputResultSpec.containsFeature(outputs[j].getName(), languages[k])) {
+                  && inputResultSpec.containsFeature(outputs[j].getName(), languages[k])) {
             newResultSpec.addResultFeature(outputs[j].getName(), new String[] { languages[k] });
           }
         }
@@ -444,7 +443,7 @@
    * @return CAS returned by the analysis component
    */
   protected CAS callAnalysisComponentNext() throws AnalysisEngineProcessException,
-                  ResultNotSupportedException {
+          ResultNotSupportedException {
     try {
       AbstractCas absCas = mAnalysisComponent.next();
       getMBean().incrementCASesProcessed();
@@ -547,7 +546,7 @@
         boolean analysisComponentHasNext = mMyAnalysisComponent.hasNext();
         if (!analysisComponentHasNext) {
           throw new UIMA_IllegalStateException(UIMA_IllegalStateException.NO_NEXT_CAS,
-                          new Object[0]);
+                  new Object[0]);
         }
         // call AnalysisComponent.next method to populate CAS
         try {

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/ResultSpecification_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/ResultSpecification_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/ResultSpecification_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/ResultSpecification_impl.java Tue Nov 28 14:25:39 2006
@@ -71,7 +71,7 @@
    * Default language set to use if nothing else is specified
    */
   private HashSet mDefaultLanguage = new HashSet();
-  
+
   /**
    * constructor init the default languge set with the language x-unspecified
    */
@@ -109,7 +109,7 @@
       // get value for the current key
       Set values = (HashSet) mTypesAndFeatures.get(tof);
       if (values.contains(language) || values.contains(UNSPECIFIED_LANGUAGE)
-                      || values.contains(baseLanguage)) {
+              || values.contains(baseLanguage)) {
         // add tof to the TypeOfFeature array
         vec.add(tof);
       }
@@ -310,7 +310,7 @@
    * @param t
    */
   private void addTypeRecursive(Type type, TypeSystem typeSystem, HashSet languages,
-                  boolean allFeatures) {
+          boolean allFeatures) {
     mCompiledNameToLanguageMap.put(type.getName(), languages);
     if (allFeatures) {
       List features = type.getFeatures();
@@ -376,8 +376,7 @@
       if (languages != null) {
         // check if tof is supported for the current language
         if (UNSPECIFIED_LANGUAGE.equals(language) || languages.contains(language)
-                        || languages.contains(UNSPECIFIED_LANGUAGE)
-                        || languages.contains(baseLanguage)) {
+                || languages.contains(UNSPECIFIED_LANGUAGE) || languages.contains(baseLanguage)) {
           // mark item found
           found = true;
         }
@@ -392,8 +391,7 @@
           if (languages != null) {
             // check if tof is supported for the current language
             if (UNSPECIFIED_LANGUAGE.equals(language) || languages.contains(language)
-                            || languages.contains(UNSPECIFIED_LANGUAGE)
-                            || languages.contains(baseLanguage)) {
+                    || languages.contains(UNSPECIFIED_LANGUAGE) || languages.contains(baseLanguage)) {
               // mark item found
               return true;
             }
@@ -428,8 +426,8 @@
       while (it.hasNext()) {
         TypeOrFeature elem = (TypeOrFeature) it.next();
         if ((!elem.isType() && aFullFeatureName.equals(elem.getName()))
-                        || (elem.isType() && elem.isAllAnnotatorFeatures() && typeName.equals(elem
-                                        .getName()))) {
+                || (elem.isType() && elem.isAllAnnotatorFeatures() && typeName.equals(elem
+                        .getName()))) {
           return true;
         }
       }
@@ -463,8 +461,7 @@
       if (languages != null) {
         // check if tof is supported for the current language
         if (UNSPECIFIED_LANGUAGE.equals(language) || languages.contains(language)
-                        || languages.contains(UNSPECIFIED_LANGUAGE)
-                        || languages.contains(baseLanguage)) {
+                || languages.contains(UNSPECIFIED_LANGUAGE) || languages.contains(baseLanguage)) {
           // mark item found
           found = true;
         }
@@ -482,14 +479,13 @@
       while (it.hasNext()) {
         TypeOrFeature elem = (TypeOrFeature) it.next();
         if ((!elem.isType() && aFullFeatureName.equals(elem.getName()))
-                        || (elem.isType() && elem.isAllAnnotatorFeatures() && typeName.equals(elem
-                                        .getName()))) {
+                || (elem.isType() && elem.isAllAnnotatorFeatures() && typeName.equals(elem
+                        .getName()))) {
           HashSet languages = (HashSet) mTypesAndFeatures.get(elem);
           if (languages != null) {
             // check if tof is supported for the current language
             if (UNSPECIFIED_LANGUAGE.equals(language) || languages.contains(language)
-                            || languages.contains(UNSPECIFIED_LANGUAGE)
-                            || languages.contains(baseLanguage)) {
+                    || languages.contains(UNSPECIFIED_LANGUAGE) || languages.contains(baseLanguage)) {
               // mark item found
               return true;
             }
@@ -506,7 +502,7 @@
    */
   protected XmlizationInfo getXmlizationInfo() {
     return new XmlizationInfo("resultSpecification", null,
-                    new PropertyXmlInfo[] { new PropertyXmlInfo("resultTypesAndFeatures", null) });
+            new PropertyXmlInfo[] { new PropertyXmlInfo("resultTypesAndFeatures", null) });
   }
 
   /**

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TaeDescription_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TaeDescription_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TaeDescription_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TaeDescription_impl.java Tue Nov 28 14:25:39 2006
@@ -35,7 +35,7 @@
     return XMLIZATION_INFO;
   }
 
-  static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo("taeDescription", null); 
+  static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo("taeDescription", null);
   // property info set below
 
   static {

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TypeOrFeature_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TypeOrFeature_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TypeOrFeature_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/TypeOrFeature_impl.java Tue Nov 28 14:25:39 2006
@@ -44,7 +44,7 @@
   private String mName;
 
   private boolean mAllAnnotatorFeatures;
-  
+
   /**
    * @see org.apache.uima.analysis_engine.TypeOrFeature#isType()
    */
@@ -94,7 +94,7 @@
    *      org.apache.uima.util.XMLParser)
    */
   public void buildFromXMLElement(Element aElement, XMLParser aParser,
-                  XMLParser.ParsingOptions aOptions) throws InvalidXMLException {
+          XMLParser.ParsingOptions aOptions) throws InvalidXMLException {
     // element tag determines whether this is a type or a feature
     if (aElement.getTagName().equals("type")) {
       setType(true);
@@ -115,7 +115,7 @@
    * @see org.apache.uima.util.XMLizable#toXML(ContentHandler)
    */
   public void toXML(ContentHandler aContentHandler, boolean aWriteDefaultNamespaceAttribute)
-                  throws SAXException {
+          throws SAXException {
     if (isType()) {
       // tag is "type"
       // if allAnnotatorFeatures is true, write that as an attribute
@@ -125,7 +125,7 @@
         aContentHandler.startElement(getXmlizationInfo().namespace, "type", "type", attrs);
       } else {
         aContentHandler.startElement(getXmlizationInfo().namespace, "type", "type",
-                        new AttributesImpl());
+                new AttributesImpl());
       }
       // write type name here
       aContentHandler.characters(getName().toCharArray(), 0, getName().length());
@@ -134,7 +134,7 @@
     } else // feature
     {
       aContentHandler.startElement(getXmlizationInfo().namespace, "feature", "feature",
-                      new AttributesImpl());
+              new AttributesImpl());
 
       aContentHandler.characters(getName().toCharArray(), 0, getName().length());
 

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/UimacppAnalysisEngineImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/UimacppAnalysisEngineImpl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/UimacppAnalysisEngineImpl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/UimacppAnalysisEngineImpl.java Tue Nov 28 14:25:39 2006
@@ -64,6 +64,7 @@
    * current class
    */
   private static final Class CLASS_NAME = UimacppAnalysisEngineImpl.class;
+
   /**
    * The AnalysisEngineDescription for this AnlaysisEngine instance.
    */
@@ -102,7 +103,7 @@
    * @see org.apache.uima.resource.Resource#initialize(ResourceSpecifier, Map)
    */
   public boolean initialize(ResourceSpecifier aSpecifier, Map aAdditionalParams)
-                  throws ResourceInitializationException {
+          throws ResourceInitializationException {
     // aSpecifier must be a AnalysisEngineDescription
     if (!(aSpecifier instanceof AnalysisEngineDescription)) {
       return false;
@@ -140,7 +141,7 @@
     ProcessingResourceMetaData md = (ProcessingResourceMetaData) mDescription.getMetaData();
 
     getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                    "UIMA_analysis_engine_init_begin__CONFIG", md.getName());
+            "UIMA_analysis_engine_init_begin__CONFIG", md.getName());
 
     // AnalysisEngineMetaData md = mDescription.getAnalysisEngineMetaData();
 
@@ -181,7 +182,7 @@
     resetResultSpecificationToDefault();
 
     getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                    "UIMA_analysis_engine_init_successful__CONFIG", md.getName());
+            "UIMA_analysis_engine_init_successful__CONFIG", md.getName());
 
     return true;
   }
@@ -201,7 +202,7 @@
     if (mAnnotator != null)
       mAnnotator.destroy();
     getLogger().logrb(Level.CONFIG, CLASS_NAME.getName(), "initialize", LOG_RESOURCE_BUNDLE,
-                    "UIMA_analysis_engine_destroyed__CONFIG", getMetaData().getName());
+            "UIMA_analysis_engine_destroyed__CONFIG", getMetaData().getName());
     super.destroy();
   }
 
@@ -263,7 +264,7 @@
     // logging and instrumentation
     String resourceName = getMetaData().getName();
     getLogger().logrb(Level.FINE, CLASS_NAME.getName(), "process", LOG_RESOURCE_BUNDLE,
-                    "UIMA_analysis_engine_process_begin__FINE", resourceName);
+            "UIMA_analysis_engine_process_begin__FINE", resourceName);
     try {
       // call Annotator's process method
       try {
@@ -283,7 +284,7 @@
           throw e;
         } else {
           throw new AnalysisEngineProcessException(
-                          AnalysisEngineProcessException.ANNOTATOR_EXCEPTION, null, e);
+                  AnalysisEngineProcessException.ANNOTATOR_EXCEPTION, null, e);
         }
       } finally {
         // unlock CAS functions
@@ -292,7 +293,7 @@
 
       // log end of event
       getLogger().logrb(Level.FINE, CLASS_NAME.getName(), "process", LOG_RESOURCE_BUNDLE,
-                      "UIMA_analysis_engine_process_end__FINE", resourceName);
+              "UIMA_analysis_engine_process_end__FINE", resourceName);
     } catch (Exception e) {
       // log and rethrow exception
       getLogger().log(Level.SEVERE, "", e);
@@ -316,7 +317,7 @@
    *           if an initialization failure occurs
    */
   protected void initializeAnalysisComponent(AnalysisEngineDescription aDescription)
-                  throws ResourceInitializationException {
+          throws ResourceInitializationException {
     // create Annotator Context and set Logger
     UimaContextAdmin uimaContext = getUimaContextAdmin();
     uimaContext.setLogger(UIMAFramework.getLogger(UimacppAnalysisComponent.class));
@@ -326,7 +327,7 @@
       mAnnotator = new UimacppAnalysisComponent(aDescription, this);
 
       getUimaContextAdmin().defineCasPool(mAnnotator.getCasInstancesRequired(),
-                      getPerformanceTuningSettings(), mSofaAware);
+              getPerformanceTuningSettings(), mSofaAware);
 
       mAnnotator.initialize(uimaContext);
     }
@@ -342,12 +343,11 @@
   protected void mergeDelegateAnalysisEngineMetaData() throws ResourceInitializationException {
     // do the merge
     TypeSystemDescription aggTypeSystem = CasCreationUtils.mergeDelegateAnalysisEngineTypeSystems(
-                    mDescription, getResourceManager());
+            mDescription, getResourceManager());
     TypePriorities aggTypePriorities = CasCreationUtils.mergeDelegateAnalysisEngineTypePriorities(
-                    mDescription, getResourceManager());
+            mDescription, getResourceManager());
     FsIndexCollection aggIndexColl = CasCreationUtils
-                    .mergeDelegateAnalysisEngineFsIndexCollections(mDescription,
-                                    getResourceManager());
+            .mergeDelegateAnalysisEngineFsIndexCollections(mDescription, getResourceManager());
 
     // assign results of merge to this aggregate AE's metadata
     AnalysisEngineMetaData aggregateMD = mDescription.getAnalysisEngineMetaData();
@@ -378,7 +378,7 @@
    * @return CAS returned by the analysis component
    */
   protected CAS callAnalysisComponentNext() throws AnalysisEngineProcessException,
-                  ResultNotSupportedException {
+          ResultNotSupportedException {
     try {
       AbstractCas absCas = mAnnotator.next();
       getMBean().incrementCASesProcessed();
@@ -497,7 +497,7 @@
         boolean analysisComponentHasNext = mAnalysisComponent.hasNext();
         if (!analysisComponentHasNext) {
           throw new UIMA_IllegalStateException(UIMA_IllegalStateException.NO_NEXT_CAS,
-                          new Object[0]);
+                  new Object[0]);
         }
         // call AnalyaisComponent.next method to populate CAS
         try {

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnalysisComponentAdapterFactory.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnalysisComponentAdapterFactory.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnalysisComponentAdapterFactory.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnalysisComponentAdapterFactory.java Tue Nov 28 14:25:39 2006
@@ -57,7 +57,7 @@
    * @throws ResourceInitializationException
    */
   public static AnalysisComponent createAdapter(Object aAdaptee, AnalysisEngineMetaData aMetaData,
-                  Map aAdditionalParams) throws ResourceInitializationException {
+          Map aAdditionalParams) throws ResourceInitializationException {
     if (aAdaptee instanceof BaseAnnotator) {
       return new AnnotatorAdapter((BaseAnnotator) aAdaptee, aMetaData, aAdditionalParams);
     } else if (aAdaptee instanceof CasConsumer) {
@@ -66,8 +66,8 @@
       return new CollectionReaderAdapter((CollectionReader) aAdaptee, aMetaData);
     } else {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.NOT_AN_ANALYSIS_COMPONENT, new Object[] {
-                          aAdaptee.getClass().getName(), aMetaData.getSourceUrlString() });
+              ResourceInitializationException.NOT_AN_ANALYSIS_COMPONENT, new Object[] {
+                  aAdaptee.getClass().getName(), aMetaData.getSourceUrlString() });
     }
   }
 
@@ -81,7 +81,7 @@
    */
   public static boolean isAdaptable(Class cls) {
     return BaseAnnotator.class.isAssignableFrom(cls) || CasConsumer.class.isAssignableFrom(cls)
-                    || CollectionReader.class.isAssignableFrom(cls);
+            || CollectionReader.class.isAssignableFrom(cls);
   }
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnnotatorAdapter.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnnotatorAdapter.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnnotatorAdapter.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/AnnotatorAdapter.java Tue Nov 28 14:25:39 2006
@@ -75,20 +75,19 @@
    * @throws ResourceInitializationException
    */
   public AnnotatorAdapter(BaseAnnotator aAnnotator, AnalysisEngineMetaData aMetaData,
-                  Map aAdditionalParams) throws ResourceInitializationException {
+          Map aAdditionalParams) throws ResourceInitializationException {
     mAnnotator = aAnnotator;
 
     // check for the invalid case where a TextAnnotator or JTextAnnotator
     // declares sofa input/output capabilities. Text annotators should not be
     // "sofa-aware".
     if (aMetaData.isSofaAware()
-                    && (mAnnotator instanceof TextAnnotator || mAnnotator instanceof JTextAnnotator)) {
+            && (mAnnotator instanceof TextAnnotator || mAnnotator instanceof JTextAnnotator)) {
       throw new ResourceInitializationException(
-                      ResourceInitializationException.TEXT_ANNOTATOR_CANNOT_BE_SOFA_AWARE,
-                      new Object[] {
-                          aMetaData.getName(),
-                          (mAnnotator instanceof TextAnnotator) ? "TextAnnotator"
-                                          : "JTextAnnotator", aMetaData.getSourceUrlString() });
+              ResourceInitializationException.TEXT_ANNOTATOR_CANNOT_BE_SOFA_AWARE, new Object[] {
+                  aMetaData.getName(),
+                  (mAnnotator instanceof TextAnnotator) ? "TextAnnotator" : "JTextAnnotator",
+                  aMetaData.getSourceUrlString() });
     }
 
     // determine which CAS interface this Annotator needs
@@ -128,8 +127,8 @@
   public void process(AbstractCas aCAS) throws AnalysisEngineProcessException {
     if (!mCasInterface.isAssignableFrom(aCAS.getClass())) {
       throw new AnalysisEngineProcessException(
-                      AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] {
-                          mCasInterface, aCAS.getClass() });
+              AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] { mCasInterface,
+                  aCAS.getClass() });
     }
 
     // check if type system changed; if so, notify Annotator
@@ -208,7 +207,7 @@
    * @see org.apache.uima.core.AnalysisComponent#batchProcessComplete()
    */
   public void batchProcessComplete() throws AnalysisEngineProcessException {
-    //v1.x annotators cannot implement batchProcessComplete
+    // v1.x annotators cannot implement batchProcessComplete
   }
 
   /*
@@ -217,7 +216,7 @@
    * @see org.apache.uima.core.AnalysisComponent#collectionProcessComplete()
    */
   public void collectionProcessComplete() throws AnalysisEngineProcessException {
-    //v1.x annotators cannot implement collectionProcessComplete
+    // v1.x annotators cannot implement collectionProcessComplete
   }
 
   /*
@@ -260,8 +259,8 @@
    */
   public AbstractCas next() throws AnalysisEngineProcessException {
     throw new UIMA_UnsupportedOperationException(
-                    UIMA_UnsupportedOperationException.UNSUPPORTED_METHOD, new Object[] {
-                        AnnotatorAdapter.class, "next" });
+            UIMA_UnsupportedOperationException.UNSUPPORTED_METHOD, new Object[] {
+                AnnotatorAdapter.class, "next" });
   }
 
   /**

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CasConsumerAdapter.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CasConsumerAdapter.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CasConsumerAdapter.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CasConsumerAdapter.java Tue Nov 28 14:25:39 2006
@@ -88,8 +88,8 @@
   public void process(AbstractCas aCAS) throws AnalysisEngineProcessException {
     if (!CAS.class.isAssignableFrom(aCAS.getClass())) {
       throw new AnalysisEngineProcessException(
-                      AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] {
-                          CAS.class, aCAS.getClass() });
+              AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] { CAS.class,
+                  aCAS.getClass() });
     }
 
     // check if type system changed; if so, notify Annotator
@@ -189,8 +189,8 @@
    */
   public AbstractCas next() throws AnalysisEngineProcessException {
     throw new UIMA_UnsupportedOperationException(
-                    UIMA_UnsupportedOperationException.UNSUPPORTED_METHOD, new Object[] {
-                        AnnotatorAdapter.class, "next" });
+            UIMA_UnsupportedOperationException.UNSUPPORTED_METHOD, new Object[] {
+                AnnotatorAdapter.class, "next" });
   }
 
   /**

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CollectionReaderAdapter.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CollectionReaderAdapter.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CollectionReaderAdapter.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/impl/compatibility/CollectionReaderAdapter.java Tue Nov 28 14:25:39 2006
@@ -61,7 +61,7 @@
    *          metadata for the annotator. Needed to compute ResultSpecification.
    */
   public CollectionReaderAdapter(CollectionReader aCollectionReader,
-                  AnalysisEngineMetaData aMetaData) {
+          AnalysisEngineMetaData aMetaData) {
     mCollectionReader = aCollectionReader;
     mSofaAware = aMetaData.isSofaAware();
   }
@@ -205,8 +205,8 @@
   public void next(AbstractCas aEmptyCas) throws AnalysisEngineProcessException {
     if (!CAS.class.isAssignableFrom(aEmptyCas.getClass())) {
       throw new AnalysisEngineProcessException(
-                      AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] {
-                          CAS.class, aEmptyCas.getClass() });
+              AnalysisEngineProcessException.INCORRECT_CAS_INTERFACE, new Object[] { CAS.class,
+                  aEmptyCas.getClass() });
     }
 
   }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/FixedFlow.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/FixedFlow.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/FixedFlow.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/FixedFlow.java Tue Nov 28 14:25:39 2006
@@ -37,7 +37,7 @@
    * of {@link #getFlowConstraintsType()}.
    */
   public static final String FLOW_CONSTRAINTS_TYPE = "FIXED";
-  
+
   /**
    * Gets the type of this <code>FlowConstraints</code> object. Each sub-interface of
    * <code>FlowConstraints</code> has its own standard type identifier String. These identifier

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/AnalysisEngineMetaData_impl.java Tue Nov 28 14:25:39 2006
@@ -49,7 +49,7 @@
  * 
  */
 public class AnalysisEngineMetaData_impl extends ResourceMetaData_impl implements
-                AnalysisEngineMetaData {
+        AnalysisEngineMetaData {
   static final long serialVersionUID = -3030574527767871396L;
 
   private boolean mAsynchronousModeSupported;
@@ -67,7 +67,7 @@
   private FsIndexCollection mFsIndexCollection;
 
   private OperationalProperties mOperationalProperties;
-  
+
   /*
    * (non-Javadoc)
    * 
@@ -107,7 +107,7 @@
   public void setCapabilities(Capability[] aCapabilities) {
     if (aCapabilities == null) {
       throw new UIMA_IllegalArgumentException(UIMA_IllegalArgumentException.ILLEGAL_ARGUMENT,
-                      new Object[] { "null", "aCapabilities", "setCapabilities" });
+              new Object[] { "null", "aCapabilities", "setCapabilities" });
     }
     mCapabilities = aCapabilities;
   }
@@ -190,7 +190,7 @@
    *      java.lang.String, org.xml.sax.ContentHandler)
    */
   protected void writePropertyAsElement(PropertyXmlInfo aPropInfo, String aNamespace,
-                  ContentHandler aContentHandler) throws SAXException {
+          ContentHandler aContentHandler) throws SAXException {
     // Prevent the fsIndexes property from being written to XML - it exists only so old-style XML
     // can be read.
     if (!"fsIndexes".equals(aPropInfo.propertyName)) {
@@ -199,26 +199,26 @@
   }
 
   protected void readPropertyValueFromXMLElement(PropertyXmlInfo aPropXmlInfo, Element aElement,
-                  XMLParser aParser, ParsingOptions aOptions) throws InvalidXMLException {
+          XMLParser aParser, ParsingOptions aOptions) throws InvalidXMLException {
     // Catch the case where both fsIndexes and fsIndexCollection are specified
     if ("fsIndexes".equals(aPropXmlInfo.xmlElementName)
-                    || "fsIndexCollection".equals(aPropXmlInfo.xmlElementName)) {
+            || "fsIndexCollection".equals(aPropXmlInfo.xmlElementName)) {
       if (mFsIndexCollection != null) {
         throw new InvalidXMLException(InvalidXMLException.FS_INDEXES_OUTSIDE_FS_INDEX_COLLECTION,
-                        null);
+                null);
       }
     }
     super.readPropertyValueFromXMLElement(aPropXmlInfo, aElement, aParser, aOptions);
   }
 
   protected void readUnknownPropertyValueFromXMLElement(Element aElement, XMLParser aParser,
-                  ParsingOptions aOptions, List aKnownPropertyNames) throws InvalidXMLException {
+          ParsingOptions aOptions, List aKnownPropertyNames) throws InvalidXMLException {
     // Catch the case where both fsIndexes and fsIndexCollection are specified
     if ("fsIndexes".equals(aElement.getTagName())
-                    || "fsIndexCollection".equals(aElement.getTagName())) {
+            || "fsIndexCollection".equals(aElement.getTagName())) {
       if (mFsIndexCollection != null) {
         throw new InvalidXMLException(InvalidXMLException.FS_INDEXES_OUTSIDE_FS_INDEX_COLLECTION,
-                        null);
+                null);
       }
     }
     super.readUnknownPropertyValueFromXMLElement(aElement, aParser, aOptions, aKnownPropertyNames);
@@ -281,7 +281,7 @@
     if (capabilities != null) {
       for (int i = 0; i < capabilities.length; i++) {
         if (capabilities[i].getInputSofas().length > 0
-                        || capabilities[i].getOutputSofas().length > 0) {
+                || capabilities[i].getOutputSofas().length > 0) {
           return true;
         }
       }
@@ -292,17 +292,16 @@
   protected XmlizationInfo getXmlizationInfo() {
     return XMLIZATION_INFO;
   }
-    
+
   /**
-   * Static method to get XmlizationInfo, used by subclasses to
-   * set up their own XmlizationInfo.
+   * Static method to get XmlizationInfo, used by subclasses to set up their own XmlizationInfo.
    */
   protected static XmlizationInfo getXmlizationInfoForClass() {
     return XMLIZATION_INFO;
-  }  
+  }
 
   static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo(
-                  "analysisEngineMetaData", null); // properties assigned below
+          "analysisEngineMetaData", null); // properties assigned below
 
   static {
     // this class's Xmlization info is derived from that of its superclass
@@ -318,10 +317,10 @@
         new PropertyXmlInfo("operationalProperties", null), new PropertyXmlInfo("casInterface") };
 
     XMLIZATION_INFO.propertyInfo = new PropertyXmlInfo[superclassInfo.propertyInfo.length
-                    + newProperties.length];
+            + newProperties.length];
     System.arraycopy(superclassInfo.propertyInfo, 0, XMLIZATION_INFO.propertyInfo, 0,
-                    superclassInfo.propertyInfo.length);
+            superclassInfo.propertyInfo.length);
     System.arraycopy(newProperties, 0, XMLIZATION_INFO.propertyInfo,
-                    superclassInfo.propertyInfo.length, newProperties.length);
+            superclassInfo.propertyInfo.length, newProperties.length);
   }
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/CapabilityLanguageFlow_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/CapabilityLanguageFlow_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/CapabilityLanguageFlow_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/CapabilityLanguageFlow_impl.java Tue Nov 28 14:25:39 2006
@@ -39,11 +39,11 @@
  * 
  */
 public class CapabilityLanguageFlow_impl extends MetaDataObject_impl implements
-                CapabilityLanguageFlow {
+        CapabilityLanguageFlow {
 
   static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo(
-                  "capabilityLanguageFlow", new PropertyXmlInfo[] { new PropertyXmlInfo(
-                                  "capabilityLanguageFlow", null, true, "node") });
+          "capabilityLanguageFlow", new PropertyXmlInfo[] { new PropertyXmlInfo(
+                  "capabilityLanguageFlow", null, true, "node") });
 
   /** Array of AnalysisEngine identifiers indicating the capabilityLanguage flow. */
   private String[] mCapabilityLanguageFlow = new String[0];
@@ -70,7 +70,7 @@
   public void setCapabilityLanguageFlow(String[] aFlow) {
     if (aFlow == null) {
       throw new UIMA_IllegalArgumentException(UIMA_IllegalArgumentException.ILLEGAL_ARGUMENT,
-                      new Object[] { "null", "aFlow", "setCapabilityLanguageFlow" });
+              new Object[] { "null", "aFlow", "setCapabilityLanguageFlow" });
     }
     mCapabilityLanguageFlow = aFlow;
   }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FixedFlow_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FixedFlow_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FixedFlow_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FixedFlow_impl.java Tue Nov 28 14:25:39 2006
@@ -35,7 +35,7 @@
 public class FixedFlow_impl extends MetaDataObject_impl implements FixedFlow {
 
   static final long serialVersionUID = -3582926806264514233L;
- 
+
   /** Array of AnalysisEngine identifiers indicating the fixed flow. */
   private String[] mFixedFlow = new String[0];
 
@@ -59,7 +59,7 @@
   public void setFixedFlow(String[] aFlow) {
     if (aFlow == null) {
       throw new UIMA_IllegalArgumentException(UIMA_IllegalArgumentException.ILLEGAL_ARGUMENT,
-                      new Object[] { "null", "aFlow", "setFixedFlow" });
+              new Object[] { "null", "aFlow", "setFixedFlow" });
     }
     mFixedFlow = aFlow;
   }
@@ -90,6 +90,6 @@
   }
 
   static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo("fixedFlow",
-                  new PropertyXmlInfo[] { new PropertyXmlInfo("fixedFlow", null, true, "node") });
+          new PropertyXmlInfo[] { new PropertyXmlInfo("fixedFlow", null, true, "node") });
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FlowControllerDeclaration_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FlowControllerDeclaration_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FlowControllerDeclaration_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/FlowControllerDeclaration_impl.java Tue Nov 28 14:25:39 2006
@@ -43,7 +43,7 @@
  * Declares which FlowController is used by the Aggregate Analysis Engine.
  */
 public class FlowControllerDeclaration_impl extends MetaDataObject_impl implements
-                FlowControllerDeclaration {
+        FlowControllerDeclaration {
   private static final long serialVersionUID = 1526130202197517743L;
 
   private String mKey;
@@ -152,7 +152,7 @@
    *      org.apache.uima.util.XMLParser, org.apache.uima.util.XMLParser.ParsingOptions)
    */
   public void buildFromXMLElement(Element aElement, XMLParser aParser, ParsingOptions aOptions)
-                  throws InvalidXMLException {
+          throws InvalidXMLException {
     super.buildFromXMLElement(aElement, aParser, aOptions);
     // set key from attributes
     mKey = aElement.getAttribute("key");
@@ -177,6 +177,6 @@
   }
 
   static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo("flowController",
-                  new PropertyXmlInfo[] { new PropertyXmlInfo("import", null),
-                      new PropertyXmlInfo("specifier", null) });
+          new PropertyXmlInfo[] { new PropertyXmlInfo("import", null),
+              new PropertyXmlInfo("specifier", null) });
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/SofaMapping_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/SofaMapping_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/SofaMapping_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/metadata/impl/SofaMapping_impl.java Tue Nov 28 14:25:39 2006
@@ -39,7 +39,7 @@
   private String mComponentSofaName;
 
   private String mAggregateSofaName;
-  
+
   /*
    * (non-Javadoc)
    * 
@@ -99,7 +99,6 @@
   }
 
   static final private XmlizationInfo XMLIZATION_INFO = new XmlizationInfo("sofaMapping",
-                  new PropertyXmlInfo[] { new PropertyXmlInfo("componentKey"),
-                      new PropertyXmlInfo("componentSofaName"),
-                      new PropertyXmlInfo("aggregateSofaName") });
+          new PropertyXmlInfo[] { new PropertyXmlInfo("componentKey"),
+              new PropertyXmlInfo("componentSofaName"), new PropertyXmlInfo("aggregateSofaName") });
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineServiceAdapter.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineServiceAdapter.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineServiceAdapter.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineServiceAdapter.java Tue Nov 28 14:25:39 2006
@@ -53,7 +53,7 @@
  * 
  */
 public abstract class AnalysisEngineServiceAdapter extends AnalysisEngineImplBase implements
-                TextAnalysisEngine, CasConsumer {
+        TextAnalysisEngine, CasConsumer {
 
   /**
    * current class
@@ -123,16 +123,14 @@
     // logging and instrumentation
     mTimer.startIt();
     UIMAFramework.getLogger(CLASS_NAME).logrb(Level.FINE, CLASS_NAME.getName(), "process",
-                    LOG_RESOURCE_BUNDLE, "UIMA_analysis_engine_process_begin__FINE",
-                    getResourceName());
+            LOG_RESOURCE_BUNDLE, "UIMA_analysis_engine_process_begin__FINE", getResourceName());
     try {
       // invoke service
       getStub().callProcess(aCAS);
 
       // log end of event
       UIMAFramework.getLogger(CLASS_NAME).logrb(Level.FINE, CLASS_NAME.getName(), "process",
-                      LOG_RESOURCE_BUNDLE, "UIMA_analysis_engine_process_end__FINE",
-                      getResourceName());
+              LOG_RESOURCE_BUNDLE, "UIMA_analysis_engine_process_end__FINE", getResourceName());
 
       // we don't support CasMultiplier services yet, so this always returns
       // an empty iterator
@@ -153,8 +151,7 @@
    */
   public void reconfigure() throws ResourceConfigurationException {
     throw new UIMA_UnsupportedOperationException(
-                    UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE,
-                    new Object[] {});
+            UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE, new Object[] {});
   }
 
   /**
@@ -163,7 +160,7 @@
    */
   public Object getConfigParameterValue(String aGroupName, String aParamName) {
     return getMetaData().getConfigurationParameterSettings().getParameterValue(aGroupName,
-                    aParamName);
+            aParamName);
   }
 
   /**
@@ -179,8 +176,7 @@
    */
   public void setConfigParameterValue(String aParamName, Object aValue) {
     throw new UIMA_UnsupportedOperationException(
-                    UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE,
-                    new Object[] {});
+            UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE, new Object[] {});
   }
 
   /**
@@ -189,8 +185,7 @@
    */
   public void setConfigParameterValue(String aGroupName, String aParamName, Object aValue) {
     throw new UIMA_UnsupportedOperationException(
-                    UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE,
-                    new Object[] {});
+            UIMA_UnsupportedOperationException.SHARED_RESOURCE_NOT_RECONFIGURABLE, new Object[] {});
   }
 
   public void batchProcessComplete() throws AnalysisEngineProcessException {

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineService_impl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineService_impl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineService_impl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/AnalysisEngineService_impl.java Tue Nov 28 14:25:39 2006
@@ -51,7 +51,7 @@
    * Timeout period, in milliseocnds, to wait when attempting to get CAS from the pool.
    */
   private int mTimeout;
-  
+
   /**
    * Initialize this service. This is where the CAS pool is created.
    * 
@@ -59,10 +59,10 @@
    *      int, java.util.Map, int)
    */
   public void initialize(ResourceSpecifier aResourceSpecifier, Map aResourceInitParams)
-                  throws ResourceInitializationException {
+          throws ResourceInitializationException {
     super.initialize(aResourceSpecifier, aResourceInitParams);
     Integer numInstances = (Integer) aResourceInitParams
-                    .get(AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS);
+            .get(AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS);
     if (numInstances == null) {
       numInstances = new Integer(1);
     }
@@ -82,10 +82,10 @@
    * period as explicit arguments.
    */
   public void initialize(ResourceSpecifier aResourceSpecifier, int aNumSimultaneousRequests,
-                  int aTimeout) throws ResourceInitializationException {
+          int aTimeout) throws ResourceInitializationException {
     Map initParams = new HashMap();
     initParams.put(AnalysisEngine.PARAM_NUM_SIMULTANEOUS_REQUESTS, new Integer(
-                    aNumSimultaneousRequests));
+            aNumSimultaneousRequests));
     initParams.put(AnalysisEngine.PARAM_TIMEOUT_PERIOD, new Integer(aTimeout));
     this.initialize(aResourceSpecifier, initParams);
   }
@@ -101,7 +101,7 @@
    * @return the results of analysis
    */
   public ServiceDataCargo process(ServiceDataCargo aData, ResultSpecification aResultSpec)
-                  throws ResourceServiceException {
+          throws ResourceServiceException {
     ProcessTrace trace = aData.getProcessTrace();
     if (trace == null) {
       trace = new ProcessTrace_impl();
@@ -118,7 +118,7 @@
 
       if (cas == null) {
         throw new ResourceServiceException(ResourceServiceException.RESOURCE_UNAVAILABLE,
-                        new Object[0]);
+                new Object[0]);
       }
 
       // deserialize CAS data into this CAS instance

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/ServiceDataCargo.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/ServiceDataCargo.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/ServiceDataCargo.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/analysis_engine/service/impl/ServiceDataCargo.java Tue Nov 28 14:25:39 2006
@@ -60,7 +60,7 @@
   private CASCompleteSerializer mCasSer;
 
   private ProcessTrace mProcessTrace;
-  
+
   /**
    * Creates a new <code>SerializableAnalysisProcessData</code> that contains information
    * extracted from the specified <code>AnalysisProcessData</code>.
@@ -100,7 +100,7 @@
    *          the AnalysisProcessData to unmarshal into
    */
   public void unmarshalInto(AnalysisProcessData aDataContainer, boolean aReplaceCasTypeSystem)
-                  throws TCASException {
+          throws TCASException {
     unmarshalCas(aDataContainer.getCAS(), aReplaceCasTypeSystem);
     aDataContainer.getProcessTrace().addAll(mProcessTrace.getEvents());
   }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ArrayFS.java Tue Nov 28 14:25:39 2006
@@ -72,7 +72,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, FeatureStructure[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -87,7 +87,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(FeatureStructure[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Creates a new array the this array is copied to.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/BooleanArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/BooleanArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/BooleanArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/BooleanArrayFS.java Tue Nov 28 14:25:39 2006
@@ -72,7 +72,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, boolean[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -87,5 +87,5 @@
    *          The number of elements to copy.
    */
   void copyFromArray(boolean[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ByteArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ByteArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ByteArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ByteArrayFS.java Tue Nov 28 14:25:39 2006
@@ -72,7 +72,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, byte[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -87,6 +87,6 @@
    *          The number of elements to copy.
    */
   void copyFromArray(byte[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CAS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CAS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CAS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CAS.java Tue Nov 28 14:25:39 2006
@@ -221,37 +221,37 @@
    * Qualified name of Sofa number feature.
    */
   static final String FEATURE_FULL_NAME_SOFANUM = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFANUM;
+          + FEATURE_BASE_NAME_SOFANUM;
 
   /**
    * Qualified name of Sofa id feature.
    */
   static final String FEATURE_FULL_NAME_SOFAID = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFAID;
+          + FEATURE_BASE_NAME_SOFAID;
 
   /**
    * Qualified name of Sofa mime type feature.
    */
   static final String FEATURE_FULL_NAME_SOFAMIME = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFAMIME;
+          + FEATURE_BASE_NAME_SOFAMIME;
 
   /**
    * Qualified name of Sofa URI feature.
    */
   static final String FEATURE_FULL_NAME_SOFAURI = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFAURI;
+          + FEATURE_BASE_NAME_SOFAURI;
 
   /**
    * Qualified name of Sofa string data feature.
    */
   static final String FEATURE_FULL_NAME_SOFASTRING = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFASTRING;
+          + FEATURE_BASE_NAME_SOFASTRING;
 
   /**
    * Qualified name of Sofa array fs data feature.
    */
   static final String FEATURE_FULL_NAME_SOFAARRAY = TYPE_NAME_SOFA + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFAARRAY;
+          + FEATURE_BASE_NAME_SOFAARRAY;
 
   // ////////////////////////////////////////////////////////////////////////
   // Other Sofa names
@@ -353,49 +353,49 @@
    * Qualified name of fs list head feature.
    */
   static final String FEATURE_FULL_NAME_FS_LIST_HEAD = TYPE_NAME_NON_EMPTY_FS_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
 
   /**
    * Qualified name of integer list head feature.
    */
   static final String FEATURE_FULL_NAME_INTEGER_LIST_HEAD = TYPE_NAME_NON_EMPTY_INTEGER_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
 
   /**
    * Qualified name of float list head feature.
    */
   static final String FEATURE_FULL_NAME_FLOAT_LIST_HEAD = TYPE_NAME_NON_EMPTY_FLOAT_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
 
   /**
    * Qualified name of string list head feature.
    */
   static final String FEATURE_FULL_NAME_STRING_LIST_HEAD = TYPE_NAME_NON_EMPTY_STRING_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_HEAD;
 
   /**
    * Qualified name of fs list tail feature.
    */
   static final String FEATURE_FULL_NAME_FS_LIST_TAIL = TYPE_NAME_NON_EMPTY_FS_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
 
   /**
    * Qualified name of integer list tail feature.
    */
   static final String FEATURE_FULL_NAME_INTEGER_LIST_TAIL = TYPE_NAME_NON_EMPTY_INTEGER_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
 
   /**
    * Qualified name of float list tail feature.
    */
   static final String FEATURE_FULL_NAME_FLOAT_LIST_TAIL = TYPE_NAME_NON_EMPTY_FLOAT_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
 
   /**
    * Qualified name of string list tail feature.
    */
   static final String FEATURE_FULL_NAME_STRING_LIST_TAIL = TYPE_NAME_NON_EMPTY_STRING_LIST
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_TAIL;
 
   /**
    * Name of TCAS (Text CAS) name space.
@@ -406,13 +406,13 @@
    * Name of annotation type.
    */
   static final String TYPE_NAME_ANNOTATION = NAME_SPACE_UIMA_TCAS + TypeSystem.NAMESPACE_SEPARATOR
-                  + "Annotation";
+          + "Annotation";
 
   /**
    * Name of document annotation type.
    */
   static final String TYPE_NAME_DOCUMENT_ANNOTATION = NAME_SPACE_UIMA_TCAS
-                  + TypeSystem.NAMESPACE_SEPARATOR + "DocumentAnnotation";
+          + TypeSystem.NAMESPACE_SEPARATOR + "DocumentAnnotation";
 
   /**
    * Sofa ID feature that is the handle to a text Sofa.
@@ -438,25 +438,25 @@
    * Fully qualified name of annotation begin feature.
    */
   static final String FEATURE_FULL_NAME_BEGIN = TYPE_NAME_ANNOTATION + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_BEGIN;
+          + FEATURE_BASE_NAME_BEGIN;
 
   /**
    * Fully qualified name of annotation sofa feature.
    */
   static final String FEATURE_FULL_NAME_SOFA = TYPE_NAME_ANNOTATION + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_SOFA;
+          + FEATURE_BASE_NAME_SOFA;
 
   /**
    * Fully qualified name of annotation end feature.
    */
   static final String FEATURE_FULL_NAME_END = TYPE_NAME_ANNOTATION + TypeSystem.FEATURE_SEPARATOR
-                  + FEATURE_BASE_NAME_END;
+          + FEATURE_BASE_NAME_END;
 
   /**
    * Fully qualified name of document language feature.
    */
   static final String FEATURE_FULL_NAME_LANGUAGE = TYPE_NAME_DOCUMENT_ANNOTATION
-                  + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_LANGUAGE;
+          + TypeSystem.FEATURE_SEPARATOR + FEATURE_BASE_NAME_LANGUAGE;
 
   /**
    * Name of the standard index on annotations. The standard index is automatically defined if you

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASException.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASException.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASException.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASException.java Tue Nov 28 14:25:39 2006
@@ -33,7 +33,7 @@
   private static final String resource_file = "org.apache.uima.cas.cas_exception";
 
   private static final String missing_resource_error = "Could not load message catalog: "
-                  + resource_file;
+          + resource_file;
 
   private static final int MESSAGES_NOT_FOUND = -1;
 
@@ -131,7 +131,7 @@
     // Retrieve message from resource bundle, format using arguments,
     // and return resulting string.
     return (new MessageFormat(this.resource.getString(identifiers[this.error])))
-                    .format(this.arguments);
+            .format(this.arguments);
   }
 
   /** @return The same as getMessage(), but prefixed with <code>"CASException: "</code>. */

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CASRuntimeException.java Tue Nov 28 14:25:39 2006
@@ -33,7 +33,7 @@
   private static final String resource_file = "org.apache.uima.cas.cas_runtime_exception";
 
   private static final String missing_resource_error = "Could not load message catalog: "
-                  + resource_file;
+          + resource_file;
 
   private static final int MESSAGES_NOT_FOUND = -1;
 

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CommonArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CommonArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CommonArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/CommonArrayFS.java Tue Nov 28 14:25:39 2006
@@ -54,7 +54,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, String[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external string array into this array. The strings are parsed and
@@ -74,6 +74,6 @@
    *              When the input strings do not represent valid floats.
    */
   void copyFromArray(String[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException, NumberFormatException;
+          throws ArrayIndexOutOfBoundsException, NumberFormatException;
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ComponentInfo.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ComponentInfo.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ComponentInfo.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ComponentInfo.java Tue Nov 28 14:25:39 2006
@@ -19,7 +19,6 @@
 
 package org.apache.uima.cas;
 
-
 /**
  * Information that a CAS needs to know about the component that's currently operating on it.
  * Intended for internal framework usage.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParser.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParser.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParser.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParser.java Tue Nov 28 14:25:39 2006
@@ -60,6 +60,6 @@
    *           If the input string is not a well-formed string representation of a match constraint.
    */
   public FSMatchConstraint parse(String s, String src, int line, int col) throws IOException,
-                  ParsingException;
+          ParsingException;
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParserFactory.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParserFactory.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParserFactory.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ConstraintParserFactory.java Tue Nov 28 14:25:39 2006
@@ -34,12 +34,12 @@
   }
 
   public static ConstraintParser getDefaultConstraintParser() throws ClassNotFoundException,
-                  InstantiationException, IllegalAccessException {
+          InstantiationException, IllegalAccessException {
     return getConstraintParser("org.apache.uima.cas.constraint_compiler.SableConstraintParser");
   }
 
   public static ConstraintParser getConstraintParser(String className)
-                  throws ClassNotFoundException, InstantiationException, IllegalAccessException {
+          throws ClassNotFoundException, InstantiationException, IllegalAccessException {
     ClassLoader loader = getAvailableClassLoader();
     if (loader == null) {
       throw new ClassNotFoundException("No class loader accessible.");

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/DoubleArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/DoubleArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/DoubleArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/DoubleArrayFS.java Tue Nov 28 14:25:39 2006
@@ -72,7 +72,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, double[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -87,6 +87,6 @@
    *          The number of elements to copy.
    */
   void copyFromArray(double[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FeatureValuePath.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FeatureValuePath.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FeatureValuePath.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FeatureValuePath.java Tue Nov 28 14:25:39 2006
@@ -57,10 +57,10 @@
  * can be omitted, and only the array access operator can be used. Examples:
  * 
  * <pre>
- *  
- *       []/somepackage.Person:coveredText()
- *        [last]/somepackage.Person:fsId()
  *   
+ *        []/somepackage.Person:coveredText()
+ *         [last]/somepackage.Person:fsId()
+ *    
  * </pre>
  * 
  * If the feature path is defined directly, for a String, integer or float array, the array access

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FloatArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FloatArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FloatArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/FloatArrayFS.java Tue Nov 28 14:25:39 2006
@@ -64,7 +64,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, float[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -79,7 +79,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(float[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Create a Java array that is a copy of the internal CAS array.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/IntArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/IntArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/IntArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/IntArrayFS.java Tue Nov 28 14:25:39 2006
@@ -65,7 +65,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, int[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -80,7 +80,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(int[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Create a Java array that is a copy of the internal CAS array.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/LongArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/LongArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/LongArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/LongArrayFS.java Tue Nov 28 14:25:39 2006
@@ -65,7 +65,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, long[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -80,7 +80,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(long[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Creates a new array the this array is copied to.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ShortArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ShortArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ShortArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/ShortArrayFS.java Tue Nov 28 14:25:39 2006
@@ -65,7 +65,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, short[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -80,7 +80,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(short[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Creates a new array the this array is copied to.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/StringArrayFS.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/StringArrayFS.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/StringArrayFS.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/StringArrayFS.java Tue Nov 28 14:25:39 2006
@@ -72,7 +72,7 @@
    *              <code>destOffset + length > destArray.length</code>.
    */
   void copyToArray(int srcOffset, String[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Copy the contents of an external array into this array.
@@ -87,7 +87,7 @@
    *          The number of elements to copy.
    */
   void copyFromArray(String[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException;
+          throws ArrayIndexOutOfBoundsException;
 
   /**
    * Creates a new array the this array is copied to.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/CASAdminException.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/CASAdminException.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/CASAdminException.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/CASAdminException.java Tue Nov 28 14:25:39 2006
@@ -34,7 +34,7 @@
   private static final String resource_file = "org.apache.uima.cas.admin.admin_errors";
 
   private static final String missing_resource_error = "Could not load message catalog: "
-                  + resource_file;
+          + resource_file;
 
   private static final int MESSAGES_NOT_FOUND = -1;
 
@@ -129,7 +129,7 @@
     // Retrieve message from resource bundle, format using arguments,
     // and return resulting string.
     return (new MessageFormat(this.resource.getString(identifiers[this.error])))
-                    .format(this.arguments);
+            .format(this.arguments);
   }
 
   /** @return The same as getMessage(), but prefixed with <code>"CASAdminException: "</code>. */

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/FSIndexRepositoryMgr.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/FSIndexRepositoryMgr.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/FSIndexRepositoryMgr.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/FSIndexRepositoryMgr.java Tue Nov 28 14:25:39 2006
@@ -50,7 +50,7 @@
    *           If the repository is locked (after calling {@link #commit() commit()}).
    */
   boolean createIndex(FSIndexComparator comp, String label, int indexingStrategy)
-                  throws CASAdminException;
+          throws CASAdminException;
 
   /**
    * Create a new sorted index.

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/TypeSystemMgr.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/TypeSystemMgr.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/TypeSystemMgr.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/admin/TypeSystemMgr.java Tue Nov 28 14:25:39 2006
@@ -104,7 +104,7 @@
    *              (or a supertype) with a different range than <code>rangeType</code>.
    */
   Feature addFeature(String featureName, Type domainType, Type rangeType,
-                  boolean multipleReferencesAllowed) throws CASAdminException;
+          boolean multipleReferencesAllowed) throws CASAdminException;
 
   /**
    * Commit the type system. The type system will be locked and no longer writable. WARNING: Users

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotationImplException.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotationImplException.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotationImplException.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/AnnotationImplException.java Tue Nov 28 14:25:39 2006
@@ -34,7 +34,7 @@
   private static final String resource_file = "org.apache.uima.cas.impl.annot_impl";
 
   private static final String missing_resource_error = "Could not load message catalog: "
-                  + resource_file;
+          + resource_file;
 
   private static final int MESSAGES_NOT_FOUND = -1;
 
@@ -112,7 +112,7 @@
     // Retrieve message from resource bundle, format using arguments,
     // and return resulting string.
     return (new MessageFormat(this.resource.getString(identifiers[this.error])))
-                    .format(this.arguments);
+            .format(this.arguments);
   }
 
   /** @return The same as getMessage(), but prefixed with <code>"AnnotationImplException: "</code>. */

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ArrayFSImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ArrayFSImpl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ArrayFSImpl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ArrayFSImpl.java Tue Nov 28 14:25:39 2006
@@ -65,7 +65,7 @@
    * @see org.apache.uima.cas.ArrayFS#copyFromArray(FeatureStructure[], int, int, int)
    */
   public void copyFromArray(FeatureStructure[] src, int srcOffset, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException {
+          throws ArrayIndexOutOfBoundsException {
     if ((destOffset < 0) || ((destOffset + length) > size())) {
       throw new ArrayIndexOutOfBoundsException();
     }
@@ -83,7 +83,7 @@
    * @see org.apache.uima.cas.ArrayFS#copyToArray(int, FeatureStructure[], int, int)
    */
   public void copyToArray(int srcOffset, FeatureStructure[] dest, int destOffset, int length)
-                  throws ArrayIndexOutOfBoundsException {
+          throws ArrayIndexOutOfBoundsException {
     if ((srcOffset < 0) || ((srcOffset + length) > size())) {
       throw new ArrayIndexOutOfBoundsException();
     }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/BooleanArrayFSImpl.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/BooleanArrayFSImpl.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/BooleanArrayFSImpl.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/BooleanArrayFSImpl.java Tue Nov 28 14:25:39 2006
@@ -113,7 +113,7 @@
     for (int i = 0; i < length; i++) {
       final String item = src[srcOffset + i];
       casImpl.ll_setBooleanArrayValue(addr, destOffset + i, null != item
-                      && item.equalsIgnoreCase("true"));
+              && item.equalsIgnoreCase("true"));
     }
   }
 }

Modified: incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ByteHeap.java
URL: http://svn.apache.org/viewvc/incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ByteHeap.java?view=diff&rev=480252&r1=480251&r2=480252
==============================================================================
--- incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ByteHeap.java (original)
+++ incubator/uima/uimaj/trunk/uimaj-core/src/main/java/org/apache/uima/cas/impl/ByteHeap.java Tue Nov 28 14:25:39 2006
@@ -45,7 +45,7 @@
       return;
 
     byte[] new_array = new byte[computeNewArraySize(heap.length, heapPos, GROWTH_FACTOR,
-                    heapMultLimit)];
+            heapMultLimit)];
     System.arraycopy(heap, 0, new_array, 0, heap.length);
     heap = new_array;
   }