Skip to content

Commit

Permalink
Switch interface to use varargs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Greg Holmes committed Jan 2, 2015
1 parent ae832d1 commit cb47a85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/src/com/dmdirc/parser/interfaces/SecureParser.java
Expand Up @@ -40,13 +40,13 @@ public interface SecureParser extends Parser {
*
* @param managers The new trust managers to use
*/
void setTrustManagers(TrustManager[] managers);
void setTrustManagers(TrustManager... managers);

/**
* Sets the key managers which should be used to supply client certificates.
*
* @param managers The new key managers to use
*/
void setKeyManagers(KeyManager[] managers);
void setKeyManagers(KeyManager... managers);

}

0 comments on commit cb47a85

Please sign in to comment.