Mercurial > 510Connectbot
diff src/org/tn5250j/framework/tn5250/Rect.java @ 112:77ac18bc1b2f
cleanup java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 18 Jun 2014 13:03:01 -0700 |
parents | b29b39f386a4 |
children |
line wrap: on
line diff
--- a/src/org/tn5250j/framework/tn5250/Rect.java Wed Jun 18 13:00:19 2014 -0700 +++ b/src/org/tn5250j/framework/tn5250/Rect.java Wed Jun 18 13:03:01 2014 -0700 @@ -1,6 +1,6 @@ /** * $Id: Rect.java 1092 2011-01-16 20:27:56Z master_jaf $ - * + * * Title: tn5250J * Copyright: Copyright (c) 2001,2009 * Company: @@ -33,29 +33,29 @@ */ public class Rect { - /* default */ int x; - /* default */ int y; - /* default */ int height; - /* default */ int width; - - /** - * @param rect - */ - public void setBounds(Rect rect) { - setBounds(rect.x, rect.y, rect.width, rect.height); - } - + /* default */ int x; + /* default */ int y; + /* default */ int height; + /* default */ int width; + + /** + * @param rect + */ + public void setBounds(Rect rect) { + setBounds(rect.x, rect.y, rect.width, rect.height); + } + /** * @param x the new X coordinate for the upper-left corner of this rectangle * @param y the new Y coordinate for the upper-left corner of this rectangle * @param width the new width for this rectangle * @param height the new height for this rectangle */ - public void setBounds(int x, int y, int width, int height) { - this.x = x; - this.y = y; - this.width = width; - this.height = height; - } + public void setBounds(int x, int y, int width, int height) { + this.x = x; + this.y = y; + this.width = width; + this.height = height; + } }