Buggy code:
public class DurationFormatUtilsTest extends TestCase { public static void main ( String [ ] args ) { } public static Test suite ( ) { } public DurationFormatUtilsTest ( String s ) { } public void testConstructor ( ) { } public void testFormatDurationWords ( ) { String text = null ; text = DurationFormatUtils . formatDurationWords ( ( 50 * 1000 ) , true , false ) ; assertEquals ( "50<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 65 * 1000 ) , true , false ) ; assertEquals ( "1<seq2seq4repair_space>minute<seq2seq4repair_space>5<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 120 * 1000 ) , true , false ) ; assertEquals ( "2<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 121 * 1000 ) , true , false ) ; assertEquals ( "2<seq2seq4repair_space>minutes<seq2seq4repair_space>1<seq2seq4repair_space>second" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( 72 * 60 ) * 1000 ) , true , false ) ; assertEquals ( "1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( ( 24 * 60 ) * 60 ) * 1000 ) , true , false ) ; assertEquals ( "1<seq2seq4repair_space>day<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>0<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 50 * 1000 ) , true , true ) ; assertEquals ( "50<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 65 * 1000 ) , true , true ) ; assertEquals ( "1<seq2seq4repair_space>minute<seq2seq4repair_space>5<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 120 * 1000 ) , true , true ) ; assertEquals ( "2<seq2seq4repair_space>minutes" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 121 * 1000 ) , true , true ) ; assertEquals ( "2<seq2seq4repair_space>minutes<seq2seq4repair_space>1<seq2seq4repair_space>second" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( 72 * 60 ) * 1000 ) , true , true ) ; assertEquals ( "1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( ( 24 * 60 ) * 60 ) * 1000 ) , true , true ) ; assertEquals ( "1<seq2seq4repair_space>day" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 50 * 1000 ) , false , true ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>0<seq2seq4repair_space>minutes<seq2seq4repair_space>50<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 65 * 1000 ) , false , true ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>1<seq2seq4repair_space>minute<seq2seq4repair_space>5<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 120 * 1000 ) , false , true ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>2<seq2seq4repair_space>minutes" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 121 * 1000 ) , false , true ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>2<seq2seq4repair_space>minutes<seq2seq4repair_space>1<seq2seq4repair_space>second" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( 72 * 60 ) * 1000 ) , false , true ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( ( 24 * 60 ) * 60 ) * 1000 ) , false , true ) ; assertEquals ( "1<seq2seq4repair_space>day" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 50 * 1000 ) , false , false ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>0<seq2seq4repair_space>minutes<seq2seq4repair_space>50<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 65 * 1000 ) , false , false ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>1<seq2seq4repair_space>minute<seq2seq4repair_space>5<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 120 * 1000 ) , false , false ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>2<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( 121 * 1000 ) , false , false ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>0<seq2seq4repair_space>hours<seq2seq4repair_space>2<seq2seq4repair_space>minutes<seq2seq4repair_space>1<seq2seq4repair_space>second" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( 72 * 60 ) * 1000 ) , false , false ) ; assertEquals ( "0<seq2seq4repair_space>days<seq2seq4repair_space>1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( ( ( 24 * 60 ) * 60 ) * 1000 ) + ( ( 72 * 60 ) * 1000 ) ) , false , false ) ; assertEquals ( "1<seq2seq4repair_space>day<seq2seq4repair_space>1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; text = DurationFormatUtils . formatDurationWords ( ( ( ( ( ( 2 * 24 ) * 60 ) * 60 ) * 1000 ) + ( ( 72 * 60 ) * 1000 ) ) , false , false ) ; assertEquals ( "2<seq2seq4repair_space>days<seq2seq4repair_space>1<seq2seq4repair_space>hour<seq2seq4repair_space>12<seq2seq4repair_space>minutes<seq2seq4repair_space>0<seq2seq4repair_space>seconds" , text ) ; for ( int i = 2 ; i < 31 ; i ++ ) { <START_BUG> text = DurationFormatUtils . formatDurationWords ( ( ( ( ( i * 24 ) * 60 ) * 60 ) * 1000 ) , false , false ) ; <END_BUG> } } public void testFormatDurationPluralWords ( ) { } public void testFormatDurationHMS ( ) { } public void testFormatDurationISO ( ) { } public void testFormatDuration ( ) { } public void testFormatPeriodISO ( ) { } public void testFormatPeriod ( ) { } public void testLexx ( ) { } public void testBugzilla38401 ( ) { } public void testJiraLang281 ( ) { } public void testLowDurations ( ) { } public void testEdgeDurations ( ) { } public void testDurationsByBruteForce ( ) { } private int FOUR_YEARS = ( 365 * 3 ) + 366 ; private void bruteForce ( int year , int month , int day , String format , int calendarType ) { } private void assertEqualDuration ( String expected , int [ ] start , int [ ] end , String format ) { } private void assertEqualDuration ( String message , String expected , int [ ] start , int [ ] end , String format ) { } private void assertArrayEquals ( DurationFormatUtils [ ] obj1 , DurationFormatUtils [ ] obj2 ) { } }

Fix:
text = DurationFormatUtils . formatDurationWords ( ( ( ( ( i * 24 ) * 60 ) * 60 ) * 1000L ) , false , false ) ;