< prev index next >
src/java.desktop/share/classes/sun/awt/PlatformFont.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
@@ -118,11 +118,11 @@
* make a array of CharsetString with given char array.
* @param str The char array to convert.
* @param offset offset of first character of interest
* @param len number of characters to convert
*/
- public CharsetString[] makeMultiCharsetString(char str[], int offset, int len) {
+ public CharsetString[] makeMultiCharsetString(char[] str, int offset, int len) {
return makeMultiCharsetString(str, offset, len, true);
}
/**
* make a array of CharsetString with given char array.
@@ -135,11 +135,11 @@
* @return array of CharsetString or if allowDefault is false and any
* of the returned chars would have been converted to a default char,
* then return null.
* This is used to choose alternative means of displaying the text.
*/
- public CharsetString[] makeMultiCharsetString(char str[], int offset, int len,
+ public CharsetString[] makeMultiCharsetString(char[] str, int offset, int len,
boolean allowDefault) {
if (len < 1) {
return new CharsetString[0];
}
< prev index next >