< prev index next >

src/java.desktop/windows/classes/sun/awt/windows/WFontMetrics.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -41,11 +41,11 @@
     }
 
     /**
      * The widths of the first 256 characters.
      */
-    int widths[];
+    int[] widths;
 
     /**
      * The standard ascent of the font.  This is the logical height
      * above the baseline for the Alphanumeric characters and should
      * be used for determining line spacing.  Note, however, that some

@@ -179,17 +179,17 @@
 
     /**
      * Return the width of the specified char[] in this Font.
      */
     @Override
-    public native int charsWidth(char data[], int off, int len);
+    public native int charsWidth(char[] data, int off, int len);
 
     /**
      * Return the width of the specified byte[] in this Font.
      */
     @Override
-    public native int bytesWidth(byte data[], int off, int len);
+    public native int bytesWidth(byte[] data, int off, int len);
 
     /**
      * Get the widths of the first 256 characters in the font.
      */
     @Override
< prev index next >