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

neil_a_wilson
21.54.2007 862a04b6dd5667ae1ffa3355f0d206d39e0442d5
Update the AciTests test cases to eliminate a couple of redundant casts that
were triggering a warning message when compiled with Java SE 6.
1 files modified
6 ■■■■ changed files
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java 6 ●●●● patch | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java
@@ -761,7 +761,7 @@
      }
    }
    return (Object[][]) paramsList.toArray(new Object[][]{});
    return paramsList.toArray(new Object[][]{});
  }
  @Test(dataProvider = "validAcis")
@@ -1368,7 +1368,7 @@
        }
      }
      return (Object[][]) allTestParams.toArray(new Object[][]{});
      return allTestParams.toArray(new Object[][]{});
    } catch (Throwable e) {
      // We had some exceptions here and they were hard to track down
      // because they get hidden behind an InvocationTargetException.
@@ -1770,4 +1770,4 @@
  private static final String getServerLdapPort() {
    return String.valueOf(TestCaseUtils.getServerLdapPort());
  }
}
}