mirror of
https://github.com/vanitasvitae/Smack.git
synced 2025-09-09 09:09:38 +02:00
Bump ErrorProne to 2.5.1 and refactor Providers a bit
This also resulted in a refactoring of the Providers and parsing Exceptions. NumberFormatException and ParseException can now be thrown directly, the wrapping in a SmackParsingException is down at a higher layer, i.e. in AbstractProvider.
This commit is contained in:
parent
1df0763f92
commit
a7b3303f3e
136 changed files with 574 additions and 551 deletions
|
@ -67,7 +67,7 @@ public final class XmppWebSocketTransportModule
|
|||
|
||||
private AbstractWebSocket websocket;
|
||||
|
||||
protected XmppWebSocketTransportModule(XmppWebSocketTransportModuleDescriptor moduleDescriptor,
|
||||
XmppWebSocketTransportModule(XmppWebSocketTransportModuleDescriptor moduleDescriptor,
|
||||
ModularXmppClientToServerConnectionInternal connectionInternal) {
|
||||
super(moduleDescriptor, connectionInternal);
|
||||
|
||||
|
@ -98,7 +98,7 @@ public final class XmppWebSocketTransportModule
|
|||
}
|
||||
|
||||
final class EstablishingWebSocketConnectionState extends State.AbstractTransport {
|
||||
protected EstablishingWebSocketConnectionState(StateDescriptor stateDescriptor,
|
||||
EstablishingWebSocketConnectionState(StateDescriptor stateDescriptor,
|
||||
ModularXmppClientToServerConnectionInternal connectionInternal) {
|
||||
super(websocketTransport, stateDescriptor, connectionInternal);
|
||||
}
|
||||
|
@ -156,7 +156,7 @@ public final class XmppWebSocketTransportModule
|
|||
|
||||
AsyncButOrdered<Queue<TopLevelStreamElement>> asyncButOrderedOutgoingElementsQueue;
|
||||
|
||||
protected XmppWebSocketTransport(ModularXmppClientToServerConnectionInternal connectionInternal) {
|
||||
XmppWebSocketTransport(ModularXmppClientToServerConnectionInternal connectionInternal) {
|
||||
super(connectionInternal);
|
||||
asyncButOrderedOutgoingElementsQueue = new AsyncButOrdered<Queue<TopLevelStreamElement>>();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue