Skip to content

Commit a936ece

Browse files
committed
Merge pull request #1340 from pistriak:patch-1
* pr/1340: Polishing
2 parents aecdf73 + 8417a73 commit a936ece

File tree

1 file changed

+2
-2
lines changed
  • spring-jdbc/src/main/java/org/springframework/jdbc/support

1 file changed

+2
-2
lines changed

spring-jdbc/src/main/java/org/springframework/jdbc/support/JdbcUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2016 the original author or authors.
2+
* Copyright 2002-2017 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -471,7 +471,7 @@ public static String convertUnderscoreNameToPropertyName(String name) {
471471
StringBuilder result = new StringBuilder();
472472
boolean nextIsUpper = false;
473473
if (name != null && name.length() > 0) {
474-
if (name.length() > 1 && name.substring(1,2).equals("_")) {
474+
if (name.length() > 1 && name.substring(1, 2).equals("_")) {
475475
result.append(name.substring(0, 1).toUpperCase());
476476
}
477477
else {

0 commit comments

Comments
 (0)