You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@uima.apache.org by jo...@apache.org on 2009/04/15 20:11:41 UTC

svn commit: r765291 - in /incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core: ./ uima/ util/

Author: joern
Date: Wed Apr 15 18:11:38 2009
New Revision: 765291

URL: http://svn.apache.org/viewvc?rev=765291&view=rev
Log:
UIMA-546 Formated source code according to UIMA code conventions

Modified:
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/TaeError.java
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/AnnotatorConfiguration.java
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/CasConsumerConfiguration.java
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/EventDispatcher.java
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/IEventHandler.java
    incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/MarkerUtil.java

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/TaeError.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/TaeError.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/TaeError.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/TaeError.java Wed Apr 15 18:11:38 2009
@@ -30,7 +30,7 @@
 
   /**
    * Initializes the current instance.
-   *
+   * 
    * @param message
    */
   public TaeError(String message) {
@@ -39,11 +39,11 @@
 
   /**
    * Initializes the current instance.
-   *
+   * 
    * @param message
    * @param cause
    */
   public TaeError(String message, Throwable cause) {
     super(message, cause);
   }
-}
\ No newline at end of file
+}

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/AnnotatorConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/AnnotatorConfiguration.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/AnnotatorConfiguration.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/AnnotatorConfiguration.java Wed Apr 15 18:11:38 2009
@@ -42,21 +42,21 @@
 
   /**
    * Initializes the instance.
-   *
+   * 
    * @param descriptor
    */
   public AnnotatorConfiguration(AnnotatorElement element, ResourceSpecifier descriptor) {
     this.element = element;
-	mDescriptor = descriptor;
+    mDescriptor = descriptor;
   }
 
   public AnnotatorElement getAnnotatorElement() {
-	  return element;
+    return element;
   }
 
   /**
    * Only text analysis engines are supported.
-   *
+   * 
    * @return the text analysis engine
    * @throws ResourceInitializationException
    */
@@ -76,15 +76,15 @@
   }
 
   public IFolder getBaseFolder() {
-	  return mResourceBasePath;
+    return mResourceBasePath;
   }
 
   /**
    * Sets the base folder
-   *
+   * 
    * @param baseFolder
    */
   public void setBaseFolder(IFolder baseFolder) {
     mResourceBasePath = baseFolder;
   }
-}
\ No newline at end of file
+}

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/CasConsumerConfiguration.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/CasConsumerConfiguration.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/CasConsumerConfiguration.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/uima/CasConsumerConfiguration.java Wed Apr 15 18:11:38 2009
@@ -43,9 +43,9 @@
 
   /**
    * Initializes a new instance.
-   *
+   * 
    * @param element
-   *
+   * 
    * @param descriptor
    */
   public CasConsumerConfiguration(ConsumerElement element, CasConsumerDescription descriptor) {
@@ -55,7 +55,7 @@
 
   /**
    * Retrieves the name.
-   *
+   * 
    * @return the name
    */
   public String getName() {
@@ -66,7 +66,7 @@
 
   /**
    * Sets the base folder.
-   *
+   * 
    * @param baseFolder
    */
   public void setBaseFolder(IFolder baseFolder) {
@@ -74,12 +74,12 @@
   }
 
   public IFolder getBaseFolder() {
-	  return resourceBasePath;
+    return resourceBasePath;
   }
 
   /**
    * Creates the consumer.
-   *
+   * 
    * @return the consumer
    */
   public CasConsumer createConsumer() {
@@ -96,8 +96,8 @@
     }
 
     try {
-      CasConsumer consumer = UIMAFramework.produceCasConsumer(casConsumerDescriptor,
-              resourceManager, null);
+      CasConsumer consumer =
+              UIMAFramework.produceCasConsumer(casConsumerDescriptor, resourceManager, null);
 
       return consumer;
     } catch (ResourceInitializationException e) {
@@ -109,10 +109,10 @@
 
   /**
    * Retrieves the {@link ConsumerElement}.
-   *
+   * 
    * @return the {@link ConsumerElement}
    */
   public ConsumerElement getConsumerElement() {
     return consumerElement;
   }
-}
\ No newline at end of file
+}

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/EventDispatcher.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/EventDispatcher.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/EventDispatcher.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/EventDispatcher.java Wed Apr 15 18:11:38 2009
@@ -24,7 +24,7 @@
 
 /**
  * The EventDispatcher routes received events to the registered handler objects.
- *
+ * 
  * @param <K>
  *          the key type
  * @param <E>
@@ -37,7 +37,7 @@
 
   /**
    * Initializes the current instance with a default handler.
-   *
+   * 
    * @param defaultHandler
    *          handles all unkown events, must not be null
    */
@@ -51,7 +51,7 @@
 
   /**
    * Registers the given handler for the given key.
-   *
+   * 
    * @param key
    * @param handler
    */
@@ -62,7 +62,7 @@
   /**
    * Notifies the registered handler, if there is no handler registered for this key the default
    * handler is notified.
-   *
+   * 
    * @param key
    *          the key type
    * @param event
@@ -77,4 +77,4 @@
       mDefaultHandler.handle(event);
     }
   }
-}
\ No newline at end of file
+}

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/IEventHandler.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/IEventHandler.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/IEventHandler.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/IEventHandler.java Wed Apr 15 18:11:38 2009
@@ -22,16 +22,17 @@
 /**
  * Clients which implement this interface can receive event notifications from the
  * {@link EventDispatcher} after registering the handler for an specific event type.
- *
+ * 
  * @param <E>
  *          the event object type
  */
 public interface IEventHandler<E> {
   /**
    * This method is called to handle the given event.
-   *
+   * 
    * @param event
    *          the event to handle
    */
   void handle(E event);
 }
+

Modified: incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/MarkerUtil.java
URL: http://svn.apache.org/viewvc/incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/MarkerUtil.java?rev=765291&r1=765290&r2=765291&view=diff
==============================================================================
--- incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/MarkerUtil.java (original)
+++ incubator/uima/sandbox/trunk/CasEditorEclipsePlugin/src/main/java/org/apache/uima/caseditor/core/util/MarkerUtil.java Wed Apr 15 18:11:38 2009
@@ -40,7 +40,7 @@
 
   /**
    * Clears all markers of the given id for the given resource.
-   *
+   * 
    * @param resource
    * @param markerId
    * @throws CoreException
@@ -57,7 +57,7 @@
 
   /**
    * Creates a new marker.
-   *
+   * 
    * @param resource
    * @param errorMessage
    * @throws CoreException
@@ -74,7 +74,7 @@
 
   /**
    * Creates a new marker.
-   *
+   * 
    * @param resource
    * @param xmlException
    * @throws CoreException
@@ -97,4 +97,4 @@
       marker.setAttribute(IMarker.MESSAGE, xmlException.getMessage());
     }
   }
-}
\ No newline at end of file
+}