From b6eb255b2254e1697dc7ba4ea7197c23b006b965 Mon Sep 17 00:00:00 2001 From: Baptiste Mathus Date: Wed, 30 Nov 2016 15:42:22 +0100 Subject: [PATCH] Clarify hudson.Extension#ordinal documentation I have to read it many times each time I need it. Hopefully it's a bit clearer with this addition. --- core/src/main/java/hudson/Extension.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/main/java/hudson/Extension.java b/core/src/main/java/hudson/Extension.java index 5ad913ef6a..1ca863d2f4 100644 --- a/core/src/main/java/hudson/Extension.java +++ b/core/src/main/java/hudson/Extension.java @@ -74,7 +74,8 @@ public @interface Extension { /** * Used for sorting extensions. * - * Extensions will be sorted in the descending order of the ordinal. + * Extensions will be sorted in the descending order of the ordinal. In other words, + * the extensions with the highest numbers will be chosen first. * This is a rather poor approach to the problem, so its use is generally discouraged. * * @since 1.306