Skip to content

Commit

Permalink
[JENKINS-30705] Update the Label#getTiedJobCount javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergondza committed Sep 30, 2015
1 parent 1b85201 commit e1cdc2a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/src/main/java/hudson/model/Label.java
Expand Up @@ -370,7 +370,9 @@ public List<AbstractProject> getTiedJobs() {
}

/**
* 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.
Expand Down

0 comments on commit e1cdc2a

Please sign in to comment.