mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-09 10:19:41 +02:00
Fix minor codestyle issues
This commit is contained in:
parent
200f90ffdc
commit
cb18056613
422 changed files with 1404 additions and 1444 deletions
|
@ -146,7 +146,7 @@ public abstract class SASLJavaXMechanism extends SASLMechanism {
|
|||
}
|
||||
|
||||
protected Map<String,String> getSaslProps() {
|
||||
return new HashMap<String, String>();
|
||||
return new HashMap<>();
|
||||
}
|
||||
|
||||
protected String getServerName() {
|
||||
|
|
|
@ -19,7 +19,6 @@ package org.jivesoftware.smack.sasl.javax;
|
|||
import java.io.UnsupportedEncodingException;
|
||||
|
||||
import org.jivesoftware.smack.SmackException;
|
||||
import org.jivesoftware.smack.SmackException.NotConnectedException;
|
||||
import org.jivesoftware.smack.sasl.DigestMd5SaslTest;
|
||||
|
||||
import org.junit.Test;
|
||||
|
@ -32,12 +31,12 @@ public class SASLDigestMD5Test extends DigestMd5SaslTest {
|
|||
}
|
||||
|
||||
@Test
|
||||
public void testDigestMD5() throws NotConnectedException, SmackException, InterruptedException, XmppStringprepException, UnsupportedEncodingException {
|
||||
public void testDigestMD5() throws SmackException, InterruptedException, XmppStringprepException, UnsupportedEncodingException {
|
||||
runTest(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testDigestMD5Authzid() throws NotConnectedException, SmackException, InterruptedException, XmppStringprepException, UnsupportedEncodingException {
|
||||
public void testDigestMD5Authzid() throws SmackException, InterruptedException, XmppStringprepException, UnsupportedEncodingException {
|
||||
runTest(true);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue