Animosity/CraftIRC

Warnings while building plugin.

Diskmaster opened this issue · 1 comments

Buildfile: /home/diskmaster/minecraft-dev/CraftIRC/build.xml

compile:
[javac] Compiling 18 source files to /home/diskmaster/minecraft-dev/CraftIRC/build/classes
[javac] /home/diskmaster/minecraft-dev/CraftIRC/Minebot.java:263: warning: unmappable character for encoding UTF8
[javac] String[] splitPlayerColorPrefix = player.getColor().split("�");
[javac] ^
[javac] /home/diskmaster/minecraft-dev/CraftIRC/Minebot.java:265: warning: unmappable character for encoding UTF8
[javac] playerColorPrefix += Character.toString((char) 3) + this.getIRCColor("�" + splitPlayerColorPrefix[i].substring(0,1));
[javac] ^
[javac] Note: /home/diskmaster/minecraft-dev/CraftIRC/Minebot.java uses or overrides a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 warnings

Easy fix, oddly enough, though untested on my end.

Erm, re-filing issue with pull request.