diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2009-03-09 16:09:02 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2009-03-09 16:09:02 +0000 |
commit | 526684ef33cdc9e14c83c10cc25d4e3b64389938 (patch) | |
tree | 26eac63d4a9f7e524dfe2b133f00f3374de9c0eb /org/ietf | |
parent | 0807654fb0860934433f77d7e74f17b713c0cce5 (diff) | |
download | classpath-526684ef33cdc9e14c83c10cc25d4e3b64389938.tar.gz |
More warning fixes.
2009-03-09 Andrew John Hughes <ahughes@redhat.com>
* gnu/javax/swing/text/html/css/Selector.java:
Use CPStringBuilder. Use typed list of maps
rather than an array for type safety.
* javax/swing/text/html/HTMLEditorKit.java,
* javax/swing/text/html/HTMLWriter.java:
Add generic typing where appropriate.
* javax/swing/text/html/ImageView.java:
Remove unused AttributeSet variables.
* javax/swing/text/html/MinimalHTMLWriter.java:
Switch to an ArrayDeque to avoid unnecessary
internal synchronisation on a private variable.
Add generic typing.
* javax/swing/text/html/MultiAttributeSet.java:
Add generic typing.
* javax/swing/text/html/MultiStyle.java:
Add generic typing, make class package-private
as not part of the standard classes.
* javax/swing/text/html/ObjectView.java,
* javax/swing/text/html/StyleSheet.java:
Add generic typing.
* javax/swing/text/html/TableView.java:
Remove unused variable.
* javax/swing/tree/DefaultMutableTreeNode.java:
Add generic typing, mute warnings where necessary.
* javax/swing/tree/FixedHeightLayoutCache.java:
Add generic typing.
* javax/swing/tree/TreeNode.java:
Mute warnings where necessary.
* javax/swing/tree/VariableHeightLayoutCache.java,
* javax/swing/undo/StateEdit.java,
* javax/swing/undo/UndoableEditSupport.java,
* org/ietf/jgss/GSSManager.java:
Add generic typing.
Diffstat (limited to 'org/ietf')
-rw-r--r-- | org/ietf/jgss/GSSManager.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org/ietf/jgss/GSSManager.java b/org/ietf/jgss/GSSManager.java index 3c735a2fd..60eca49ab 100644 --- a/org/ietf/jgss/GSSManager.java +++ b/org/ietf/jgss/GSSManager.java @@ -180,7 +180,7 @@ public abstract class GSSManager ClassLoader loader = GSSManager.class.getClassLoader(); if (loader == null) loader = ClassLoader.getSystemClassLoader(); - Class c = loader.loadClass(impl); + Class<?> c = loader.loadClass(impl); return (GSSManager) c.newInstance(); } catch (Exception x) |