LogManager.java (loggers): Genericized.
* java/util/logging/LogManager.java (loggers): Genericized. (addLogger): Merged. (findAncestor): Likewise. (getLogger): Likewise. (getLoggerNames): Genericized. (reset): Merged. (getLevelProperty): Likewise. * java/lang/reflect/Method.java (getDeclaringClass): Genericized. * java/lang/reflect/Constructor.java (getParameterTypes): Genericized. (getExceptionTypes): Likewise. (newInstance): Likewise. * java/lang/reflect/Array.java (newInstance): Genericized. * java/lang/Object.java (getClass): Genericized. * java/nio/charset/spi/CharsetProvider.java (charsets): Genericized. * java/text/Collator.java: Implement Comparable<Object>. From-SVN: r121473
This commit is contained in:
parent
0a32f469ac
commit
4d2446d99e
16 changed files with 57 additions and 39 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Collator.java -- Perform locale dependent String comparisons.
|
||||
Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005 Free Software Foundation, Inc.
|
||||
Copyright (C) 1998, 1999, 2000, 2001, 2004, 2005, 2007 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -68,11 +68,7 @@ import java.util.ResourceBundle;
|
|||
* @author Aaron M. Renn (arenn@urbanophile.com)
|
||||
* @date March 18, 1999
|
||||
*/
|
||||
/* Written using "Java Class Libraries", 2nd edition, plus online
|
||||
* API docs for JDK 1.2 from http://www.javasoft.com.
|
||||
* Status: Mostly complete, but parts stubbed out. Look for FIXME.
|
||||
*/
|
||||
public abstract class Collator implements Comparator, Cloneable
|
||||
public abstract class Collator implements Comparator<Object>, Cloneable
|
||||
{
|
||||
/**
|
||||
* This constant is a strength value which indicates that only primary
|
||||
|
@ -292,7 +288,7 @@ public abstract class Collator implements Comparator, Cloneable
|
|||
* specified locale. If no <code>Collator</code> exists for the desired
|
||||
* locale, a <code>Collator</code> for the default locale will be returned.
|
||||
*
|
||||
* @param loc The desired localed to load a <code>Collator</code> for.
|
||||
* @param loc The desired locale to load a <code>Collator</code> for.
|
||||
*
|
||||
* @return A <code>Collator</code> for the requested locale
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue