summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorTravis Watkins <amaranth@ubuntu.com>2012-05-16 18:12:48 -0500
committerTravis Watkins <amaranth@ubuntu.com>2012-05-16 18:42:39 -0500
commitf4bee983b04bad80b1c66ac45c46f1e571194486 (patch)
tree1475a56396e8f397ebb1c1e6485c6f841bb8ceed /pom.xml
parent5a7f09f1a7a77a9a9d6e9370a4efe35ee69bc844 (diff)
downloadbukkit-f4bee983b04bad80b1c66ac45c46f1e571194486.tar
bukkit-f4bee983b04bad80b1c66ac45c46f1e571194486.tar.gz
bukkit-f4bee983b04bad80b1c66ac45c46f1e571194486.tar.lz
bukkit-f4bee983b04bad80b1c66ac45c46f1e571194486.tar.xz
bukkit-f4bee983b04bad80b1c66ac45c46f1e571194486.zip
Optimize ChatColor.getLastColors.
ChatColor searches from the start to the end of a string for chat format characters but this always has to search the entire string. By starting from the end of the string and working backwards we can stop searching once we find a color code or a reset code as any previous formatting is wiped out by these.
Diffstat (limited to 'pom.xml')
0 files changed, 0 insertions, 0 deletions