You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by nd...@apache.org on 2006/06/07 03:56:21 UTC
svn commit: r412251 -
/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java
Author: ndbeyer
Date: Tue Jun 6 18:56:21 2006
New Revision: 412251
URL: http://svn.apache.org/viewvc?rev=412251&view=rev
Log:
Generify Class parameters and property
Modified:
incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java
Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java?rev=412251&r1=412250&r2=412251&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java (original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni/src/main/java/java/util/IllegalFormatConversionException.java Tue Jun 6 18:56:21 2006
@@ -20,6 +20,7 @@
/**
* The unchecked exception will be thrown out when the parameter is incompatible
* with the corresponding format specifier.
+ * @since 1.5
*/
public class IllegalFormatConversionException extends IllegalFormatException
implements Serializable {
@@ -27,7 +28,7 @@
private char c;
- private Class arg;
+ private Class<?> arg;
/**
* Constructs an IllegalFormatConversionException with the class of the
@@ -38,7 +39,7 @@
* @param arg
* The corresponding parameter.
*/
- public IllegalFormatConversionException(char c, Class arg) {
+ public IllegalFormatConversionException(char c, Class<?> arg) {
this.c = c;
if (arg == null) {
throw new NullPointerException();
@@ -51,7 +52,7 @@
*
* @return The class of the mismatched parameter.
*/
- public Class getArgumentClass() {
+ public Class<?> getArgumentClass() {
return arg;
}
@@ -67,7 +68,7 @@
/**
* Return the message string of the IllegalFormatConversionException.
*
- * @retun The message string of the IllegalFormatConversionException.
+ * @return The message string of the IllegalFormatConversionException.
*/
public String getMessage() {
StringBuilder buffer = new StringBuilder();