@@ -538,11 +538,11 @@ boolean startsWith(String self, String prefix, long start, long end) {
538538 return doIt (self , prefix , correctIndex (start , self ), correctIndex (end , self ));
539539 }
540540
541- @ Specialization (rewriteOn = ArithmeticException .class )
541+ @ Specialization (rewriteOn = ArithmeticException .class )
542542 boolean startsWith (String self , String prefix , PInt start , @ SuppressWarnings ("unused" ) PNone end ) {
543543 return startsWith (self , prefix , start .intValueExact (), self .length ());
544544 }
545-
545+
546546 @ Specialization
547547 boolean startsWithPIntOvf (String self , String prefix , PInt start , @ SuppressWarnings ("unused" ) PNone end ) {
548548 return doIt (self , prefix , correctIndex (start , self ), self .length ());
@@ -568,16 +568,16 @@ boolean startsWith(String self, PTuple prefix, long start, long end) {
568568 return doIt (self , prefix , correctIndex (start , self ), correctIndex (end , self ));
569569 }
570570
571- @ Specialization (rewriteOn = ArithmeticException .class )
571+ @ Specialization (rewriteOn = ArithmeticException .class )
572572 boolean startsWith (String self , PTuple prefix , PInt start , @ SuppressWarnings ("unused" ) PNone end ) {
573573 return startsWith (self , prefix , start .intValueExact (), end );
574574 }
575-
575+
576576 @ Specialization
577577 boolean startsWithPIntOvf (String self , PTuple prefix , PInt start , @ SuppressWarnings ("unused" ) PNone end ) {
578578 return doIt (self , prefix , correctIndex (start , self ), self .length ());
579579 }
580-
580+
581581 @ Specialization
582582 boolean startsWith (String self , PTuple prefix , @ SuppressWarnings ("unused" ) PNone start , @ SuppressWarnings ("unused" ) PNone end ) {
583583 return startsWith (self , prefix , 0 , self .length ());
0 commit comments