File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
spring-jdbc/src/main/java/org/springframework/jdbc/core Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -36,7 +36,7 @@ public interface SqlProvider {
36
36
/**
37
37
* Return the SQL string for this object, i.e.
38
38
* typically the SQL used for creating statements.
39
- * @return the SQL string, or {@code null}
39
+ * @return the SQL string, or {@code null} if not available
40
40
*/
41
41
@ Nullable
42
42
String getSql ();
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2016 the original author or authors.
2
+ * Copyright 2002-2020 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
28
28
*/
29
29
public class ParsedSql {
30
30
31
- private String originalSql ;
31
+ private final String originalSql ;
32
32
33
- private List <String > parameterNames = new ArrayList <>();
33
+ private final List <String > parameterNames = new ArrayList <>();
34
34
35
- private List <int []> parameterIndexes = new ArrayList <>();
35
+ private final List <int []> parameterIndexes = new ArrayList <>();
36
36
37
37
private int namedParameterCount ;
38
38
You can’t perform that action at this time.
0 commit comments