harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apetre...@apache.org
Subject svn commit: r558474 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java
Date Sun, 22 Jul 2007 12:09:15 GMT
Author: apetrenko
Date: Sun Jul 22 05:09:15 2007
New Revision: 558474

URL: http://svn.apache.org/viewvc?view=rev&rev=558474
Log:
Additional patch for HARMONY-4495.
Debug output has been removed.

Modified:
    harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java

Modified: harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java?view=diff&rev=558474&r1=558473&r2=558474
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java
(original)
+++ harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java
Sun Jul 22 05:09:15 2007
@@ -468,10 +468,8 @@
      */
     public static Font embedFont(String absolutePath) throws IOException {
         String familyName = embedFontNative(absolutePath);
-        if (familyName == null) {
-            System.err.println("Exception!");
+        if (familyName == null)
             throw new IOException(Messages.getString("awt.299"));
-        }
 
         return new Font(familyName, Font.PLAIN, 1);
     }



Mime
View raw message