From 838e873376cc4a1cc3588746f6bf8dec4c9355a9 Mon Sep 17 00:00:00 2001
From: jvergara <jvergara@localhost>
Date: Tue, 19 Jan 2010 17:09:10 +0000
Subject: [PATCH] Fix a bunch of warnings mentioned by the IDE (most of them related to the non-use of generics).
---
opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/AttributeSyntaxTreeNode.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/AttributeSyntaxTreeNode.java b/opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/AttributeSyntaxTreeNode.java
index 8837ad2..5763707 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/AttributeSyntaxTreeNode.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/ui/nodes/AttributeSyntaxTreeNode.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008 Sun Microsystems, Inc.
+ * Copyright 2008-2010 Sun Microsystems, Inc.
*/
package org.opends.guitools.controlpanel.ui.nodes;
@@ -37,14 +37,14 @@
public class AttributeSyntaxTreeNode extends SchemaElementTreeNode
{
private static final long serialVersionUID = 2439971368723239776L;
- private AttributeSyntax syntax;
+ private AttributeSyntax<?> syntax;
/**
* Constructor of the node.
* @param name the name of the node.
* @param syntax the attribute syntax.
*/
- public AttributeSyntaxTreeNode(String name, AttributeSyntax syntax)
+ public AttributeSyntaxTreeNode(String name, AttributeSyntax<?> syntax)
{
super(name, syntax);
this.syntax = syntax;
@@ -54,7 +54,7 @@
* Returns the attribute syntax represented by this node.
* @return the attribute syntax represented by this node.
*/
- public AttributeSyntax getAttributeSyntax()
+ public AttributeSyntax<?> getAttributeSyntax()
{
return syntax;
}
--
Gitblit v1.10.0