LunaChat v2.8.14 : Deleted unnecessary SuppressWarnings.
このコミットが含まれているのは:
1 親
5ba796a198
コミット
812bdcbacc
4ファイル変更
+5
-8
検索条件に一致するファイルはありません
@@ -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>
|
||||
@@ -40,8 +40,8 @@
|
||||
<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>
|
||||
@@ -49,14 +49,14 @@
|
||||
<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>
|
||||
|
||||
@@ -344,7 +344,6 @@ public class Utility {
|
||||
* @param name プレイヤー名
|
||||
* @return プレイヤー
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
public static Player getPlayerExact(String name) {
|
||||
return Bukkit.getPlayer(stripColor(name));
|
||||
}
|
||||
|
||||
@@ -117,7 +117,6 @@ public class ChannelPlayerName extends ChannelPlayer {
|
||||
* @return Player
|
||||
* @see com.github.ucchyocean.lc.channel.ChannelPlayer#getPlayer()
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
@Override
|
||||
public Player getPlayer() {
|
||||
return Bukkit.getPlayerExact(name);
|
||||
|
||||
@@ -46,7 +46,6 @@ public class ChannelPlayerUUID extends ChannelPlayer {
|
||||
* @return ChannelPlayerUUID
|
||||
*/
|
||||
public static ChannelPlayerUUID getChannelPlayerUUIDFromName(String name) {
|
||||
@SuppressWarnings("deprecation")
|
||||
Player player = Bukkit.getPlayerExact(name);
|
||||
if ( player != null ) {
|
||||
return new ChannelPlayerUUID(player.getUniqueId());
|
||||
|
||||
新しいイシューから参照
ユーザーをブロックする