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.
@@ -34,7 +34,7 @@ public interface SqlProvider {
34
34
/**
35
35
* Return the SQL string for this object, i.e.
36
36
* typically the SQL used for creating statements.
37
- * @return the SQL string, or {@code null}
37
+ * @return the SQL string, or {@code null} if not available
38
38
*/
39
39
String getSql ();
40
40
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2008 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 <String >();
33
+ private final List <String > parameterNames = new ArrayList <String >();
34
34
35
- private List <int []> parameterIndexes = new ArrayList <int []>();
35
+ private final List <int []> parameterIndexes = new ArrayList <int []>();
36
36
37
37
private int namedParameterCount ;
38
38
You can’t perform that action at this time.
0 commit comments