{} where allowed

This commit is contained in:
Lucwousin
2019-11-16 04:37:03 +01:00
parent 55b0845a18
commit b7bd7c5a08
68 changed files with 72 additions and 222 deletions

View File

@@ -34,18 +34,15 @@ import java.lang.annotation.Target;
* Inject a method to create and construct an object.
* The object type is inferred from the return value
* of the method.
*
*
* {@code
* {@literal @}Construct
* RSIndexedImage createIndexedImage();
* }
*
*
* @author Adam
*/
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
@Documented
public @interface Construct
{
}
public @interface Construct {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSCanvas
{
}
public interface RSCanvas {}

View File

@@ -2,6 +2,4 @@ package net.runelite.rs.api;
import net.runelite.api.ClanMember;
public interface RSClanMate extends RSBuddy, ClanMember
{
}
public interface RSClanMate extends RSBuddy, ClanMember {}

View File

@@ -24,6 +24,4 @@
*/
package net.runelite.rs.api;
public interface RSDecimator
{
}
public interface RSDecimator {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSFont extends RSAbstractFont
{
}
public interface RSFont extends RSAbstractFont {}

View File

@@ -2,6 +2,4 @@ package net.runelite.rs.api;
import net.runelite.api.Friend;
public interface RSFriend extends Friend, RSBuddy
{
}
public interface RSFriend extends Friend, RSBuddy {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSFriendsList extends RSUserList<RSFriend>
{
}
public interface RSFriendsList extends RSUserList<RSFriend> {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSIgnoreList extends RSUserList<RSIgnored>
{
}
public interface RSIgnoreList extends RSUserList<RSIgnored> {}

View File

@@ -2,6 +2,4 @@ package net.runelite.rs.api;
import net.runelite.api.Ignore;
public interface RSIgnored extends Ignore, RSUser
{
}
public interface RSIgnored extends Ignore, RSUser {}

View File

@@ -4,6 +4,4 @@ import net.runelite.api.KeyFocusListener;
import java.awt.event.FocusListener;
import java.awt.event.KeyListener;
public interface RSKeyHandler extends KeyListener, FocusListener, KeyFocusListener
{
}
public interface RSKeyHandler extends KeyListener, FocusListener, KeyFocusListener {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSLoginType
{
}
public interface RSLoginType {}

View File

@@ -4,6 +4,4 @@ import java.awt.event.FocusListener;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;
public interface RSMouseHandler extends MouseListener, MouseMotionListener, FocusListener
{
}
public interface RSMouseHandler extends MouseListener, MouseMotionListener, FocusListener {}

View File

@@ -2,6 +2,4 @@ package net.runelite.rs.api;
import java.awt.event.MouseWheelListener;
public interface RSMouseWheelHandler extends MouseWheelListener
{
}
public interface RSMouseWheelHandler extends MouseWheelListener {}

View File

@@ -1,5 +1,3 @@
package net.runelite.rs.api;
public interface RSPacketBuffer
{
}
public interface RSPacketBuffer {}

View File

@@ -24,6 +24,4 @@
*/
package net.runelite.rs.api;
public interface RSPcmStream
{
}
public interface RSPcmStream {}