Commit Graph

35 Commits

Author SHA1 Message Date
Bukkit/Spigot d16413b877 Javadoc improvements per checkstyle
By: md_5 <git@md-5.net>
2019-12-22 09:56:28 +11:00
Bukkit/Spigot 82854b7bd7 Add Override annotations where appropriate
By: md_5 <git@md-5.net>
2019-04-28 11:37:52 +10:00
Bukkit/Spigot e9ae9842f0 Apply and enforce import ordering rules
By: md_5 <git@md-5.net>
2019-04-23 14:33:57 +10:00
Bukkit/Spigot c240b58f66 Begin implementation of CheckStyle style checking
By: md_5 <git@md-5.net>
2019-04-23 14:00:20 +10:00
Bukkit/Spigot 9bd8e66c7d Remove nullability annotations from enum constructors
By: Darkyenus <darkyenus@gmail.com>
2019-03-14 11:28:51 +01:00
Bukkit/Spigot 416c865476 SPIGOT-2540: Add nullability annotations to entire Bukkit API
By: Darkyenus <darkyenus@gmail.com>
2019-03-13 17:42:57 +11:00
Bukkit/Spigot 417599c2ab Some minor improvements from static analysis
By: md_5 <git@md-5.net>
2017-11-07 17:28:28 +11:00
Bukkit/Spigot e3d4acc303 Assorted whitespace fixes
By: md_5 <git@md-5.net>
2017-08-06 09:08:05 +10:00
Bukkit/Spigot 7f7f1608e8 BUILDTOOLS-251: Make much of Bukkit locale independent
By: md_5 <git@md-5.net>
2016-06-26 19:31:59 +10:00
Bukkit/Spigot ef91dacfe8 Speed up permission recalculation.
Based on ideas in PR #102, but rewritten for correctness.

By: md_5 <git@md-5.net>
2015-09-18 10:33:56 +10:00
Bukkit/Spigot b2d54f59bb Clean up the javadoc to pass java 8's doclint
By: Thinkofdeath <thinkofdeath@spigotmc.org>
2014-11-30 21:09:01 +00:00
Bukkit/Spigot bb50f1a774 Pulling all pending Bukkit-JavaDoc changes
A special thanks goes to @aerouk for almost all of the changes found here.

By: Wesley Wolfe <weswolf@aol.com>
2013-12-15 01:07:43 -05:00
Bukkit/Spigot 67439804f4 Pulling all pending Bukkit-JavaDoc changes
By: Wesley Wolfe <weswolf@aol.com>
2013-09-10 21:02:53 -05:00
Bukkit/Spigot 599ec05858 Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-08-03 21:46:30 -04:00
Bukkit/Spigot 761a84cb1b Pulling all pending Bukkit-JavaDoc changes
By: Edmond Poon <sagaciouszzzz@gmail.com>
2013-04-02 00:11:22 -04:00
Bukkit/Spigot 69740791f7 Removed superfluous recalculation call; Fixes BUKKIT-3728
The permission attachment interface provides two methods each for setting
and unsetting permissions. Each one also provides an extra call to the
recalculatePermissions() method on the permissible, which degrades
performance.

This commit removes the duplicate call to recalculate permissions.

By: Jeffrey Wardian <krinsdeath@hotmail.com>
2013-03-11 12:31:44 -07:00
Bukkit/Spigot 34681566e0 Made clearPermissions public. Addresses BUKKIT-1541
By: feildmaster <admin@feildmaster.com>
2012-04-27 12:31:42 -05:00
Bukkit/Spigot b3e8152fa3 We default to OP
By: feildmaster <admin@feildmaster.com>
2012-04-27 04:59:53 -05:00
Bukkit/Spigot a9dd81a309 [Bleeding] Reworked OBP.Permission. Addresses BUKKIT-1120 and addresses BUKKIT-1121
By: Wesley Wolfe <weswolf@aol.com>
2012-03-10 15:03:41 -06:00
Bukkit/Spigot 795a61bbeb Fix javadoc errors/warnings
By: Celtic Minstrel <celtic.minstrel.ca@some.place>
2012-02-26 10:35:17 -05:00
Bukkit/Spigot 5906da7948 [Bleeding] Cleaned up unsafe casts. Addresses BUKKIT-844
Removed internal collection leaks from PluginDescriptionFile
BREAKING: PluginDescriptionFile.getAuthors() now returns List instead of
ArrayList

Various places with unsafe generics, notably List<Object> getList() in
Configurations are now referenced as <?>. This is nonbreaking, but
sourcecode will need to be revised when compiled.

By: Wesley Wolfe <weswolf@aol.com>
2012-02-29 08:32:25 -06:00
Bukkit/Spigot 4c80a49933 Generic cleaning
By: Erik Broes <erikbroes@grum.nl>
2012-01-15 14:37:30 +01:00
Bukkit/Spigot aaab1cba23 Generic cleanup of warnings, whitespace and style.
By: Erik Broes <erikbroes@grum.nl>
2011-12-25 16:02:30 +01:00
Bukkit/Spigot 04ccdf16fd Fixed issue with hasPermission returning false wrongly
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-11-02 22:48:07 +00:00
Bukkit/Spigot e7255d353e Fixed using the wrong type of Map for storing perm attachment values
By: Nathan Adams <dinnerbone@dinnerbone.com>
2011-10-27 22:03:21 +01:00
Bukkit/Spigot a8e72bdb91 Many javadoc fixes thanks to Celtic Minstrel
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-25 02:56:40 +01:00
Bukkit/Spigot 43ddd8d84d hasPermission should return correctly for undefined permissions
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 00:54:40 +01:00
Bukkit/Spigot 1caebea71d All permissions now default to OP unless stated otherwise.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-21 00:29:01 +01:00
Bukkit/Spigot acd8d918f1 Permission registration in plugin.yml can now be easier, see https://gist.github.com/32dca3e937c1c42a4ed2 - also added "default-permission" option.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-20 18:42:28 +01:00
Bukkit/Spigot f82dfdc717 Don't lazy-load in PermissibleBase. This'll be a performance hit, but it's causing subscription issues.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-04 00:23:50 +01:00
Bukkit/Spigot 498e63dbfa Added the ability to access offline players & more reverse lookup fixes in Permissible.
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-03 00:41:22 +01:00
Bukkit/Spigot 1d6801b8e6 Some small fixes to permissions to register the correct Permissible in base and more accurate reverse lookups
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-09-02 23:39:01 +01:00
Bukkit/Spigot bfd0ab1851 Made Permissions mutable, added methods to view which Permissibles are subscribed to which Permission
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-20 18:05:04 +01:00
Bukkit/Spigot c9d867579e Correctly report bad values for children perms in plugin.yml
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-18 20:52:38 +01:00
Bukkit/Spigot 67a52cca79 Added new permission system
By: Dinnerbone <dinnerbone@dinnerbone.com>
2011-07-17 17:17:47 +01:00