Skip to content

Commit

Permalink
Release of v2.1.1
Browse files Browse the repository at this point in the history
Removed older deprecated code.
  • Loading branch information
DV8FromTheWorld committed Jun 14, 2016
1 parent 965c788 commit c38b110
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ apply plugin: 'maven'
apply plugin: 'signing'
apply plugin: 'eclipse'

def versionObj = new Version(major: 2, minor: 1, revision: 0)
def versionObj = new Version(major: 2, minor: 1, revision: 1)
group = "net.dv8tion"
archivesBaseName = "JDA"
version = "$versionObj"
Expand Down
19 changes: 0 additions & 19 deletions src/main/java/net/dv8tion/jda/JDABuilder.java
Original file line number Diff line number Diff line change
Expand Up @@ -156,25 +156,6 @@ public JDABuilder setAutoReconnect(boolean reconnect)
return this;
}

/**
* <b>This method is deprecated! Please switch to {@link #setEventManager(IEventManager)}.</b>
* <p>
* Changes the internal EventManager.
* The default EventManager is {@link net.dv8tion.jda.hooks.InterfacedEventManager InterfacedEventListener}.
* There is also an {@link AnnotatedEventManager AnnotatedEventManager} available.
*
* @param useAnnotated
* Whether or not to use the {@link net.dv8tion.jda.hooks.AnnotatedEventManager AnnotatedEventManager}
* @return
* Returns the {@link net.dv8tion.jda.JDABuilder JDABuilder} instance. Useful for chaining.
*/
@Deprecated
public JDABuilder useAnnotatedEventManager(boolean useAnnotated)
{
this.useAnnotatedManager = useAnnotated;
return this;
}

/**
* Changes the internally used EventManager.
* There are 2 provided Implementations:
Expand Down

0 comments on commit c38b110

Please sign in to comment.