1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2025-12-12 05:51:08 +01:00

Enable RedundantModifier checkstyle check

This commit is contained in:
Florian Schmaus 2018-03-28 14:02:21 +02:00
parent 193688e553
commit b5209f4701
36 changed files with 86 additions and 85 deletions

View file

@ -48,7 +48,7 @@ class DataListener extends AbstractIqRequestHandler {
*
* @param manager the In-Band Bytestream manager
*/
public DataListener(InBandBytestreamManager manager) {
DataListener(InBandBytestreamManager manager) {
super(DataPacketExtension.ELEMENT, DataPacketExtension.NAMESPACE, IQ.Type.set, Mode.async);
this.manager = manager;
}

View file

@ -274,7 +274,7 @@ public class InBandBytestreamSession implements BytestreamSession {
/**
* Constructor.
*/
public IBBInputStream() {
protected IBBInputStream() {
// add data packet listener to connection
this.dataPacketListener = getDataPacketListener();
connection.addSyncStanzaListener(this.dataPacketListener, getDataPacketFilter());
@ -627,7 +627,7 @@ public class InBandBytestreamSession implements BytestreamSession {
/**
* Constructor.
*/
public IBBOutputStream() {
private IBBOutputStream() {
this.buffer = new byte[byteStreamRequest.getBlockSize()];
}