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

Matthew Swift
23.53.2013 acb937f4a9fe1b9adb55f1e63c95e38d33484f4f
Fix IDE warnings.
3 files modified
20 ■■■■ changed files
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java 4 ●●●● patch | view | raw | blame | history
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java 8 ●●●●● patch | view | raw | blame | history
opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java 8 ●●●● patch | view | raw | blame | history
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java
@@ -286,7 +286,7 @@
     *             if the entry could not be decoded using the default schema.
     * @throws NullPointerException
     *             If {@code ldifLines} was {@code null}.
     * @see {@code LDIF#makeEntry(String...)}
     * @see LDIF#makeEntry(String...)
     */
    public static Entry makeEntry(List<String> ldifLines) {
        return makeEntry(ldifLines.toArray(new String[ldifLines.size()]));
@@ -356,7 +356,7 @@
     *             decoded using the default schema.
     * @throws NullPointerException
     *             If {@code ldifLines} was {@code null}.
     * @see {@code LDIF#makeEntries(String...)}
     * @see LDIF#makeEntries(String...)
     */
    public static List<Entry> makeEntries(List<String> ldifLines) {
        return makeEntries(ldifLines.toArray(new String[ldifLines.size()]));
opendj-sdk/opendj-core/src/main/java/org/forgerock/opendj/ldif/TemplateFile.java
@@ -732,12 +732,6 @@
     *            template lines appears.
     * @param templateLines
     *            The set of lines containing the template definition.
     * @param tags
     *            The set of defined tags from the template file. Note that this
     *            does not include the tags that are always registered by
     *            default.
     * @param definedTemplates
     *            The set of templates already defined in the template file.
     * @param warnings
     *            A list into which any warnings identified may be placed.
     * @return The decoded template definition.
@@ -1237,8 +1231,6 @@
     * <p>
     * Use {@code readFile()} method to avoid caching.
     *
     * @param label
     *            Label used as identifier to cache the line read.
     * @param reader
     *            Reader to parse for lines.
     * @return a list of lines
opendj-sdk/opendj-core/src/test/java/org/forgerock/opendj/ldap/requests/RequestsTestCase.java
@@ -102,14 +102,8 @@
     */
    protected abstract Request unmodifiableOf(final Request original);
    /**
     * Request data to be validated.
     *
     * @return An array of requests.
     * @throws Exception
     */
    @DataProvider(name = "createModifiableInstance")
    Object[][] createModifiableInstance() throws Exception {
    final Object[][] createModifiableInstance() throws Exception {
        final Request[] requestArray = newInstance();
        final Object[][] objectArray = new Object[requestArray.length][1];