Modifier 'public' is redundant for interface members

This commit is contained in:
Brenton Bostick 2023-02-02 15:50:31 -05:00
parent fbd834716f
commit ca73651e12
6 changed files with 8 additions and 8 deletions

View File

@ -49,7 +49,7 @@ public interface DataStoreGetListener {
* @param out_buffer buffer to put the object in
* @return size of the object
*/
public long onDataStoreGet(
long onDataStoreGet(
String name,
byte[] out_buffer);
}

View File

@ -44,7 +44,7 @@ public interface DataStorePutListener {
* @param secure set to user read/write only.
* @return 0 on success.
*/
public int onDataStorePut(
int onDataStorePut(
String name,
byte[] buffer,
boolean secure);
@ -55,6 +55,6 @@ public interface DataStorePutListener {
* @param name Object name
* @return 0 on success.
*/
public int onDelete(
int onDelete(
String name);
}

View File

@ -37,7 +37,7 @@ public interface EventListener {
*
* @param event {@link Event} enum
*/
public void onEvent(Event event);
void onEvent(Event event);
/**
* Trace messages
@ -46,5 +46,5 @@ public interface EventListener {
*
* @param message the trace message
*/
public void onTrace(String message);
void onTrace(String message);
}

View File

@ -45,7 +45,7 @@ public interface PacketSender {
* @param ttl TTL is ignored
* @return 0 on success, any error code on failure.
*/
public int onSendPacketRequested(
int onSendPacketRequested(
long localSocket,
InetSocketAddress remoteAddr,
byte[] packetData,

View File

@ -53,7 +53,7 @@ public interface VirtualNetworkConfigListener {
* @param config {@link VirtualNetworkConfig} object with the new configuration
* @return 0 on success
*/
public int onNetworkConfigurationUpdated(
int onNetworkConfigurationUpdated(
long nwid,
VirtualNetworkConfigOperation op,
VirtualNetworkConfig config);

View File

@ -39,7 +39,7 @@ public interface VirtualNetworkFrameListener {
* @param vlanId VLAN ID
* @param frameData data to send
*/
public void onVirtualNetworkFrame(
void onVirtualNetworkFrame(
long nwid,
long srcMac,
long destMac,