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