Skip to content
Permalink
Browse files

[JENKINS-30705] Update the Label#getTiedJobCount javadoc

  • Loading branch information
olivergondza committed Sep 30, 2015
1 parent 1b85201 commit e1cdc2a6f0517217cfa8a0c0afc25592cea1e655
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 e1cdc2a

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