You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by ap...@apache.org on 2007/07/22 14:09:15 UTC

svn commit: r558474 - /harmony/enhanced/classlib/trunk/modules/awt/src/main/java/windows/org/apache/harmony/awt/gl/font/NativeFont.java

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);
     }