Avoid throws Exception where possible - Phase III
This commit is contained in:
committed by
Artem Bilan
parent
b138ab80f8
commit
78199dca9b
@@ -58,7 +58,7 @@ public class XmppConnectionFactoryBeanTests {
|
||||
new XmppConnectionFactoryBean() {
|
||||
|
||||
@Override
|
||||
protected XMPPConnection createInstance() throws Exception {
|
||||
protected XMPPConnection createInstance() {
|
||||
return mock(XMPPTCPConnection.class);
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@ public class XmppConnectionFactoryBeanTests {
|
||||
new XmppConnectionFactoryBean() {
|
||||
|
||||
@Override
|
||||
protected XMPPConnection createInstance() throws Exception {
|
||||
protected XMPPConnection createInstance() {
|
||||
return mock(XMPPTCPConnection.class);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user