Skip to content

Commit

Permalink
LunaChat v2.8.14 : Deleted unnecessary SuppressWarnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
ucchyocean committed Apr 28, 2020
1 parent 5ba796a commit 3e857dd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
10 changes: 5 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.ucchyocean</groupId>
<artifactId>LunaChat</artifactId>
<version>2.8.13</version>
<version>2.8.14</version>
<description>A powerfull chat channel plugin with IME (Kana-Kanji conversion) support</description>

<licenses>
Expand Down Expand Up @@ -40,23 +40,23 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<source>1.7</source>
<source>1.8</source>
<encoding>UTF-8</encoding>
<docencoding>UTF-8</docencoding>
<charset>UTF-8</charset>
<show>public</show>
<nohelp>true</nohelp>
<links>
<link>https://docs.oracle.com/javase/7/docs/api/</link>
<link>https://docs.oracle.com/javase/jp/8/docs/api/</link>
<link>https://hub.spigotmc.org/javadocs/bukkit/</link>
</links>
</configuration>
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/github/ucchyocean/lc/Utility.java
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,6 @@ public static OfflinePlayer getOfflinePlayer(String name) {
* @param name プレイヤー名
* @return プレイヤー
*/
@SuppressWarnings("deprecation")
public static Player getPlayerExact(String name) {
return Bukkit.getPlayer(stripColor(name));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ public void sendMessage(String message) {
* @return Player
* @see com.github.ucchyocean.lc.channel.ChannelPlayer#getPlayer()
*/
@SuppressWarnings("deprecation")
@Override
public Player getPlayer() {
return Bukkit.getPlayerExact(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public ChannelPlayerUUID(UUID id) {
* @return ChannelPlayerUUID
*/
public static ChannelPlayerUUID getChannelPlayerUUIDFromName(String name) {
@SuppressWarnings("deprecation")
Player player = Bukkit.getPlayerExact(name);
if ( player != null ) {
return new ChannelPlayerUUID(player.getUniqueId());
Expand Down

0 comments on commit 3e857dd

Please sign in to comment.