[libbluray-devel] Add toString()

hpi1 git at videolan.org
Sun Feb 19 12:27:38 CET 2017


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Jan 10 10:23:41 2017 +0200| [961f646440dfc2c4176e5240e633c2e7307d2a53] | committer: hpi1

Add toString()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=961f646440dfc2c4176e5240e633c2e7307d2a53
---

 src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java b/src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java
index c72271b..8451ee8 100644
--- a/src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java
+++ b/src/libbluray/bdj/java/org/havi/ui/HScreenDimension.java
@@ -33,6 +33,10 @@ public class HScreenDimension {
         this.height = height;
     }
 
+    public String toString() {
+        return getClass().getName() + "[" + width + "x" + height + "]";
+    }
+
     public float width;
     public float height;
 }



More information about the libbluray-devel mailing list