diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2007-11-01 20:06:54 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2007-11-01 20:06:54 +0000 |
commit | 74150ce539f8793b96b5e499ced499ed04e757e8 (patch) | |
tree | 347730ae056d70ad7a8ec7c00752137762e957a3 /java/lang | |
parent | fb07abfc4f9d2773eb757121e26e4036e005faaa (diff) | |
download | classpath-74150ce539f8793b96b5e499ced499ed04e757e8.tar.gz |
2007-11-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* gnu/java/awt/java2d/ScanlineCoverage.java,
* gnu/javax/net/ssl/provider/ServerHandshake.java:
Fix non-ASCII characters in the Javadoc comments.
* gnu/java/lang/management/BeanImpl.java,
* gnu/javax/management/Server.java,
* gnu/xml/pipeline/EventFilter.java,
* java/awt/AWTKeyStroke.java,
* java/beans/DefaultPersistenceDelegate.java,
* java/beans/EventHandler.java,
* java/io/ObjectStreamClass.java,
* java/lang/Class.java,
* java/lang/reflect/Proxy.java,
* javax/management/NotificationBroadcasterSupport.java,
* javax/management/StandardMBean.java,
* javax/swing/TransferHandler.java:
Fix warnings from use of varargs methods.
Diffstat (limited to 'java/lang')
-rw-r--r-- | java/lang/Class.java | 2 | ||||
-rw-r--r-- | java/lang/reflect/Proxy.java | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/java/lang/Class.java b/java/lang/Class.java index 372382ecb..0aafe80f8 100644 --- a/java/lang/Class.java +++ b/java/lang/Class.java @@ -1151,7 +1151,7 @@ public final class Class<T> } try { - return constructor.newInstance(null); + return constructor.newInstance(); } catch (InvocationTargetException e) { diff --git a/java/lang/reflect/Proxy.java b/java/lang/reflect/Proxy.java index ef743f6bc..598617423 100644 --- a/java/lang/reflect/Proxy.java +++ b/java/lang/reflect/Proxy.java @@ -471,9 +471,9 @@ public class Proxy implements Serializable .getMethod("equals", new Class[] {Object.class})); coreMethods.put(sig, sig); - sig = new ProxySignature(Object.class.getMethod("hashCode", null)); + sig = new ProxySignature(Object.class.getMethod("hashCode")); coreMethods.put(sig, sig); - sig = new ProxySignature(Object.class.getMethod("toString", null)); + sig = new ProxySignature(Object.class.getMethod("toString")); coreMethods.put(sig, sig); } catch (Exception e) |