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 2010/11/25 22:06:35 UTC

svn commit: r1039180 - /uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java

Author: joern
Date: Thu Nov 25 21:06:35 2010
New Revision: 1039180

URL: http://svn.apache.org/viewvc?rev=1039180&view=rev
Log:
No jira, corrected indention of two lines

Modified:
    uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java

Modified: uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java
URL: http://svn.apache.org/viewvc/uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java?rev=1039180&r1=1039179&r2=1039180&view=diff
==============================================================================
--- uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java (original)
+++ uima/uimaj/trunk/uimaj-ep-cas-editor/src/main/java/org/apache/uima/caseditor/editor/annotation/BackgroundDrawingStrategy.java Thu Nov 25 21:06:35 2010
@@ -111,11 +111,11 @@ final class BackgroundDrawingStrategy im
 	    	if (zBegin < annotationEnd) {
 	    		  Rectangle selectionBounds = textWidget.getTextBounds(zBegin, annotationEnd -1);
 	    		  gc.fillRectangle(selectionBounds);
-	    	}
+	    	  }
         }
         else {
-  		  Rectangle selectionBounds = textWidget.getTextBounds(annotationBegin, annotationEnd -1);
-		  gc.fillRectangle(selectionBounds);
+  		    Rectangle selectionBounds = textWidget.getTextBounds(annotationBegin, annotationEnd -1);
+		      gc.fillRectangle(selectionBounds);
         }
         
         int start = offset;