mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
03.18.2007 8faafb3aa1bfe6bfdf60518c8e3a3efe0b1bc833
Fix a number of build warnings that occur when compiling unit tests.
1 files modified
8 ■■■■■ changed files
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/DNBuilderTest.java 8 ●●●●● patch | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/admin/server/DNBuilderTest.java
@@ -32,6 +32,8 @@
import org.opends.server.TestCaseUtils;
import org.opends.server.admin.AdminTestCase;
import org.opends.server.admin.Configuration;
import org.opends.server.admin.ConfigurationClient;
import org.opends.server.admin.InstantiableRelationDefinition;
import org.opends.server.admin.ManagedObjectPath;
import org.opends.server.admin.OptionalRelationDefinition;
@@ -73,7 +75,7 @@
  @Test
  public void testCreateOneToMany() throws Exception {
    // First create the path.
    ManagedObjectPath path = ManagedObjectPath.emptyPath();
    ManagedObjectPath<? extends ConfigurationClient, ? extends Configuration> path = ManagedObjectPath.emptyPath();
    InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg> r1 = new InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg>(
        RootCfgDefn.getInstance(), "test-parent", "test-parents",
@@ -108,7 +110,7 @@
  @Test
  public void testCreateOneToOne() throws Exception {
    // First create the path.
    ManagedObjectPath path = ManagedObjectPath.emptyPath();
    ManagedObjectPath<? extends ConfigurationClient, ? extends Configuration> path = ManagedObjectPath.emptyPath();
    InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg> r1 = new InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg>(
        RootCfgDefn.getInstance(), "test-parent", "test-parents",
@@ -143,7 +145,7 @@
  @Test
  public void testCreateOneToZeroOrOne() throws Exception {
    // First create the path.
    ManagedObjectPath path = ManagedObjectPath.emptyPath();
    ManagedObjectPath<? extends ConfigurationClient, ? extends Configuration> path = ManagedObjectPath.emptyPath();
    InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg> r1 = new InstantiableRelationDefinition<TestParentCfgClient, TestParentCfg>(
        RootCfgDefn.getInstance(), "test-parent", "test-parents",