Browse Source

Switch interface to use varargs.

pull/56/head
Greg Holmes 9 years ago
parent
commit
cb47a85f15
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      common/src/com/dmdirc/parser/interfaces/SecureParser.java

+ 2
- 2
common/src/com/dmdirc/parser/interfaces/SecureParser.java View File

@@ -40,13 +40,13 @@ public interface SecureParser extends Parser {
40 40
      *
41 41
      * @param managers The new trust managers to use
42 42
      */
43
-    void setTrustManagers(TrustManager[] managers);
43
+    void setTrustManagers(TrustManager... managers);
44 44
 
45 45
     /**
46 46
      * Sets the key managers which should be used to supply client certificates.
47 47
      *
48 48
      * @param managers The new key managers to use
49 49
      */
50
-    void setKeyManagers(KeyManager[] managers);
50
+    void setKeyManagers(KeyManager... managers);
51 51
 
52 52
 }

Loading…
Cancel
Save