@@ -344,7 +344,10 @@ static String readScript(EncodedResource resource, @Nullable String separator,
344
344
* @param blockCommentEndDelimiter the <em>end</em> block comment delimiter
345
345
* @return a {@code String} containing the script lines
346
346
* @throws IOException in case of I/O errors
347
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
348
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
347
349
*/
350
+ @ Deprecated
348
351
public static String readScript (LineNumberReader lineNumberReader , @ Nullable String commentPrefix ,
349
352
@ Nullable String separator , @ Nullable String blockCommentEndDelimiter ) throws IOException {
350
353
@@ -368,7 +371,10 @@ public static String readScript(LineNumberReader lineNumberReader, @Nullable Str
368
371
* @return a {@code String} containing the script lines
369
372
* @throws IOException in case of I/O errors
370
373
* @since 5.2
374
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
375
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
371
376
*/
377
+ @ Deprecated
372
378
public static String readScript (LineNumberReader lineNumberReader , @ Nullable String [] commentPrefixes ,
373
379
@ Nullable String separator , @ Nullable String blockCommentEndDelimiter ) throws IOException {
374
380
@@ -416,7 +422,10 @@ private static void appendSeparatorToScriptIfNecessary(StringBuilder scriptBuild
416
422
* @see #DEFAULT_COMMENT_PREFIXES
417
423
* @see #DEFAULT_BLOCK_COMMENT_START_DELIMITER
418
424
* @see #DEFAULT_BLOCK_COMMENT_END_DELIMITER
425
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
426
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
419
427
*/
428
+ @ Deprecated
420
429
public static boolean containsSqlScriptDelimiters (String script , String delimiter ) {
421
430
return containsStatementSeparator (null , script , delimiter , DEFAULT_COMMENT_PREFIXES ,
422
431
DEFAULT_BLOCK_COMMENT_START_DELIMITER , DEFAULT_BLOCK_COMMENT_END_DELIMITER );
@@ -519,7 +528,10 @@ else if (script.startsWith(blockCommentStartDelimiter, i)) {
519
528
* @throws ScriptException if an error occurred while splitting the SQL script
520
529
* @see #splitSqlScript(String, String, List)
521
530
* @see #splitSqlScript(EncodedResource, String, String, String, String, String, List)
531
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
532
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
522
533
*/
534
+ @ Deprecated
523
535
public static void splitSqlScript (String script , char separator , List <String > statements ) throws ScriptException {
524
536
splitSqlScript (script , String .valueOf (separator ), statements );
525
537
}
@@ -543,7 +555,10 @@ public static void splitSqlScript(String script, char separator, List<String> st
543
555
* @throws ScriptException if an error occurred while splitting the SQL script
544
556
* @see #splitSqlScript(String, char, List)
545
557
* @see #splitSqlScript(EncodedResource, String, String, String, String, String, List)
558
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
559
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
546
560
*/
561
+ @ Deprecated
547
562
public static void splitSqlScript (String script , String separator , List <String > statements ) throws ScriptException {
548
563
splitSqlScript (null , script , separator , DEFAULT_COMMENT_PREFIX , DEFAULT_BLOCK_COMMENT_START_DELIMITER ,
549
564
DEFAULT_BLOCK_COMMENT_END_DELIMITER , statements );
@@ -572,7 +587,10 @@ public static void splitSqlScript(String script, String separator, List<String>
572
587
* never {@code null} or empty
573
588
* @param statements the list that will contain the individual statements
574
589
* @throws ScriptException if an error occurred while splitting the SQL script
590
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
591
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
575
592
*/
593
+ @ Deprecated
576
594
public static void splitSqlScript (@ Nullable EncodedResource resource , String script ,
577
595
String separator , String commentPrefix , String blockCommentStartDelimiter ,
578
596
String blockCommentEndDelimiter , List <String > statements ) throws ScriptException {
@@ -606,7 +624,10 @@ public static void splitSqlScript(@Nullable EncodedResource resource, String scr
606
624
* @param statements the list that will contain the individual statements
607
625
* @throws ScriptException if an error occurred while splitting the SQL script
608
626
* @since 5.2
627
+ * @deprecated as of Spring Framework 5.2.16 with no plans for replacement.
628
+ * This is an internal API and will likely be removed in Spring Framework 6.0.
609
629
*/
630
+ @ Deprecated
610
631
public static void splitSqlScript (@ Nullable EncodedResource resource , String script ,
611
632
String separator , String [] commentPrefixes , String blockCommentStartDelimiter ,
612
633
String blockCommentEndDelimiter , List <String > statements ) throws ScriptException {
0 commit comments