Bunyan-style
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@6650 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package com.threerings.geom;
|
||||
|
||||
import com.samskivert.util.Logger;
|
||||
|
||||
/**
|
||||
* A very simple representation of the geometric concept, because sometimes we can't use awt.
|
||||
*/
|
||||
@@ -25,6 +27,6 @@ public class Point
|
||||
@Override
|
||||
public String toString ()
|
||||
{
|
||||
return getClass().getName() + "[x=" + x + ",y=" + y + "]";
|
||||
return Logger.format(getClass().getName(), "x", x, "y", y);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
package com.threerings.geom;
|
||||
|
||||
import com.samskivert.util.Logger;
|
||||
|
||||
/**
|
||||
* A very simple representation of the geometric shape, because sometimes we can't use awt.
|
||||
*/
|
||||
@@ -79,7 +81,6 @@ public class Rectangle
|
||||
@Override
|
||||
public String toString ()
|
||||
{
|
||||
return getClass().getName() +
|
||||
"[x=" + x + ",y=" + y + ",width=" + width + ",height=" + height + "]";
|
||||
return Logger.format(getClass().getName(), "x", x, "y", y, "w", width, "h", height);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user