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/util/SchemaLoader.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opends/src/guitools/org/opends/guitools/controlpanel/util/SchemaLoader.java b/opends/src/guitools/org/opends/guitools/controlpanel/util/SchemaLoader.java
index 675ed6d..363545a 100644
--- a/opends/src/guitools/org/opends/guitools/controlpanel/util/SchemaLoader.java
+++ b/opends/src/guitools/org/opends/guitools/controlpanel/util/SchemaLoader.java
@@ -22,7 +22,7 @@
* CDDL HEADER END
*
*
- * Copyright 2008-2009 Sun Microsystems, Inc.
+ * Copyright 2008-2010 Sun Microsystems, Inc.
*/
package org.opends.guitools.controlpanel.util;
@@ -70,8 +70,8 @@
new ArrayList<AttributeType>();
private final ArrayList<MatchingRule> matchingRulesToKeep =
new ArrayList<MatchingRule>();
- private final ArrayList<AttributeSyntax> syntaxesToKeep =
- new ArrayList<AttributeSyntax>();
+ private final ArrayList<AttributeSyntax<?>> syntaxesToKeep =
+ new ArrayList<AttributeSyntax<?>>();
/**
* Constructor.
@@ -100,7 +100,7 @@
{
matchingRulesToKeep.add(mr);
}
- for (AttributeSyntax syntax : sc.getSyntaxes().values())
+ for (AttributeSyntax<?> syntax : sc.getSyntaxes().values())
{
syntaxesToKeep.add(syntax);
}
@@ -260,7 +260,7 @@
{
schema.registerMatchingRule(mr, true);
}
- for (AttributeSyntax syntax : syntaxesToKeep)
+ for (AttributeSyntax<?> syntax : syntaxesToKeep)
{
schema.registerSyntax(syntax, true);
}
--
Gitblit v1.10.0