提交 b5d96e27 编写于 作者: J Jesse Glick

[JENKINS-17030] Noting, fixing/adding @since, adding @Bug.

上级 e31b750c
......@@ -55,7 +55,9 @@ Upcoming changes</a>
<!-- Record your changes in the trunk here. -->
<div id="trunk" style="display:none"><!--=TRUNK-BEGIN=-->
<ul class=image>
<li class=>
<li class=rfe>
Enable word breaking in potentially long strings like job names.
(<a href="https://issues.jenkins-ci.org/browse/JENKINS-17030">issue 17030</a>)
</ul>
</div><!--=TRUNK-END=-->
......
......@@ -1724,7 +1724,7 @@ public class Functions {
* to wrap line before any sequence of punctuation characters or anywhere
* in the middle of prolonged sequences of word characters.
*
* @since 1.516
* @since 1.517
*/
public static String breakableString(final String plain) {
......
......@@ -26,6 +26,7 @@ THE SOFTWARE.
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler">
<st:documentation>
Send escaped value to output decorated to be safely broken into lines when necessary
@since 1.517
<st:attribute name="value" use="required">
Unescaped value to output
</st:attribute>
......
......@@ -264,6 +264,7 @@ public class FunctionsTest {
}
}
@Bug(17030)
@Test
public void testBreakableString() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册