Skip to content

Commit 4c4a6c2

Browse files
remove Xtend compiler warning (cast to int)
1 parent 48d1706 commit 4c4a6c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/GradientToolbar.xtend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class GradientToolbar extends JToolBar {
5858
val g2d = g as Graphics2D
5959
val w = width
6060
val h = height - 1
61-
val h2 = height / 2 as int
61+
val int h2 = height / 2
6262
val colorTop = new Color(237, 237, 237)
6363
val colorMiddle = new Color(244, 244, 244)
6464
val colorBottom = new Color(254, 254, 254)

0 commit comments

Comments
 (0)