mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-10-29 12:35:19 +00:00
Clarified Javadoc: non-display names use '/' as a separator.
This commit is contained in:
1 parent
0e3afeb6c5
commit
bac8b9795a
1 file changed
+2
-2
@@ -1099,7 +1099,7 @@ public class Functions {
|
||||
* @param p the Item we want the relative display name
|
||||
* @param g the ItemGroup used as point of reference for the item
|
||||
* @return
|
||||
* String like "foo » bar"
|
||||
* String like "foo/bar"
|
||||
*/
|
||||
public static String getRelativeNameFrom(Item p, ItemGroup g) {
|
||||
return getRelativeNameFrom(p, g, false);
|
||||
@@ -1113,7 +1113,7 @@ public class Functions {
|
||||
* @param p the Item we want the relative display name
|
||||
* @param g the ItemGroup used as point of reference for the item
|
||||
* @return
|
||||
* String like "foo » bar"
|
||||
* String like "Foo » Bar"
|
||||
*/
|
||||
public static String getRelativeDisplayNameFrom(Item p, ItemGroup g) {
|
||||
return getRelativeNameFrom(p, g, true);
|
||||
|
||||
Reference in new issue
Block a user