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

neil_a_wilson
21.54.2007 22240019733ba0e8e7de0b19f52811e5135ba49a
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
opends/tests/unit-tests-testng/src/server/org/opends/server/authorization/dseecompat/AciTests.java 6 ●●●● patch | view | raw | blame | history
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());
  }
}
}