[libbluray-devel] BDFontMetrics: destroy() is private

hpi1 git at videolan.org
Tue Mar 25 12:39:48 CET 2014


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Tue Mar 25 11:58:40 2014 +0200| [8d201bd356399099ab9a1c334fdb27d64b9c6510] | committer: hpi1

BDFontMetrics: destroy() is private

BDFontMetrics can be shared between multiple users.
Native resources are also shared, and should not be freed by class users.

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

 src/libbluray/bdj/java/java/awt/BDFontMetrics.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/java/awt/BDFontMetrics.java b/src/libbluray/bdj/java/java/awt/BDFontMetrics.java
index f1c636c..54f6c48 100644
--- a/src/libbluray/bdj/java/java/awt/BDFontMetrics.java
+++ b/src/libbluray/bdj/java/java/awt/BDFontMetrics.java
@@ -247,7 +247,7 @@ public class BDFontMetrics extends FontMetrics {
         return newWidths;
     }
 
-    public void destroy() {
+    private void destroy() {
         if (ftFace != 0) {
             destroyFontN(ftFace);
             ftFace = 0;



More information about the libbluray-devel mailing list