Skip to content
Permalink
Browse files

[JENKINS-30705] Update the Label#getTiedJobCount javadoc

(cherry picked from commit e1cdc2a)
  • Loading branch information
olivergondza committed Oct 27, 2015
1 parent 9bebf21 commit c45ce21dd8064576c8f6fef15b6c9292c903d43e
Showing with 3 additions and 1 deletion.
  1. +3 −1 core/src/main/java/hudson/model/Label.java
@@ -370,7 +370,9 @@ private String toString(Collection<? extends ModelObject> model) {
}

/**
* Returns a count of projects that are tied on this node. In a system without security this should be the same
* Returns an approximate count of projects that are tied on this node.
*
* In a system without security this should be the same
* as {@code getTiedJobs().size()} but significantly faster as it involves fewer temporary objects and avoids
* sorting the intermediary list. In a system with security, this will likely return a higher value as it counts
* all jobs (mostly) irrespective of access.

0 comments on commit c45ce21

Please sign in to comment.
You can’t perform that action at this time.