Skip to content

Commit

Permalink
[JENKINS-17030] Noting, fixing/adding @SInCE, adding @bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed May 21, 2013
1 parent e31b750 commit b5d96e2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion changelog.html
Expand Up @@ -55,7 +55,9 @@
<!-- 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=-->

Expand Down
2 changes: 1 addition & 1 deletion core/src/main/java/hudson/Functions.java
Expand Up @@ -1724,7 +1724,7 @@ public static String humanReadableByteSize(long size){
* 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) {

Expand Down
1 change: 1 addition & 0 deletions core/src/main/resources/lib/layout/breakable.jelly
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions core/src/test/java/hudson/FunctionsTest.java
Expand Up @@ -264,6 +264,7 @@ public void testHumanReadableFileSize(){
}
}

@Bug(17030)
@Test
public void testBreakableString() {

Expand Down

0 comments on commit b5d96e2

Please sign in to comment.