Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source warnings on compile #3

Open
lukespragg opened this issue Aug 12, 2014 · 0 comments
Open

Source warnings on compile #3

lukespragg opened this issue Aug 12, 2014 · 0 comments

Comments

@lukespragg
Copy link
Member

lukespragg commented Aug 12, 2014

flow-events\src\main\java\com\flowpowered\events\EventManager.java:39: warning: [rawtypes] found raw type: Event
    public <T extends Event> T callEvent(T event);
                      ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\EventManager.java:82: warning: [rawtypes] found raw type: Event
    public void registerEvent(Class<? extends Event> event, Order priority, EventExecutor executor, Object owner);
                                              ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:43: warning: [rawtypes] found raw type: Event
    private final Map<Class<? extends Event>, HandlerList> handlers = new ConcurrentHashMap<>(16, .75f, 4);
                                      ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:75: warning: [rawtypes] found raw type: Event
    public <T extends Event> T callEvent(T event) {
                      ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:116: warning: [rawtypes] found raw type: Event
                Class<? extends Event> eventClass = getValidatedClass(method);
                                ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:144: warning: [rawtypes] found raw type: Event
                Class<? extends Event> eventClass = getValidatedClass(method);
                                ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:153: warning: [rawtypes] found raw type: Event
    public void registerEvent(Class<? extends Event> event, Order priority, EventExecutor executor, Object owner) {
                                              ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:157: warning: [rawtypes] found raw type: Event
    private HandlerList newHandlerList(Class<? extends Event> clazz) {
                                                       ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event

flow-events\src\main\java\com\flowpowered\events\SimpleEventManager.java:185: warning: [rawtypes] found raw type: Event
    private Class<? extends Event> getValidatedClass(Method method) throws IllegalArgumentException {
                            ^
  missing type arguments for generic class Event<T>
  where T is a type-variable:
    T extends EventParameter declared in class Event
@lukespragg lukespragg changed the title Source warnings on compile with Gradle Source warnings on compile Aug 12, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant