浏览代码

Merge pull request #56 from greboid/dev

Switch interface to use varargs.
pull/57/head
Chris Smith 9 年前
父节点
当前提交
9a294de8b2
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2
    2
      common/src/com/dmdirc/parser/interfaces/SecureParser.java

+ 2
- 2
common/src/com/dmdirc/parser/interfaces/SecureParser.java 查看文件

@@ -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
 }

正在加载...
取消
保存