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 * @param out_buffer buffer to put the object in
* @return size of the object * @return size of the object
*/ */
public long onDataStoreGet( long onDataStoreGet(
String name, String name,
byte[] out_buffer); byte[] out_buffer);
} }

View file

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

View file

@ -37,7 +37,7 @@ public interface EventListener {
* *
* @param event {@link Event} enum * @param event {@link Event} enum
*/ */
public void onEvent(Event event); void onEvent(Event event);
/** /**
* Trace messages * Trace messages
@ -46,5 +46,5 @@ public interface EventListener {
* *
* @param message the trace message * @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 * @param ttl TTL is ignored
* @return 0 on success, any error code on failure. * @return 0 on success, any error code on failure.
*/ */
public int onSendPacketRequested( int onSendPacketRequested(
long localSocket, long localSocket,
InetSocketAddress remoteAddr, InetSocketAddress remoteAddr,
byte[] packetData, byte[] packetData,

View file

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

View file

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