From ee1322ccbb7a1feff6d8092fe1ed54d64469b2da Mon Sep 17 00:00:00 2001 From: Jerzy <33574230+jKiler@users.noreply.github.com> Date: Mon, 1 Apr 2019 13:11:05 +0200 Subject: [PATCH 1/2] Polish See gh-22718 --- .../main/java/org/springframework/jdbc/support/KeyHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java b/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java index 63c8d05a12..5b7e395911 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java @@ -30,7 +30,7 @@ import org.springframework.lang.Nullable; * In the general case, the keys are returned as a List containing one Map * for each row of keys. * - *

Most applications only use on key per row and process only one row at a + *

Most applications only use one key per row and process only one row at a * time in an insert statement. In these cases, just call {@code getKey} * to retrieve the key. The returned value is a Number here, which is the * usual type for auto-generated keys. From db64286589c5eb3563bac23af17b99fc92424d20 Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Mon, 1 Apr 2019 13:55:00 +0200 Subject: [PATCH 2/2] Polish contribution Closes gh-22718 --- .../main/java/org/springframework/jdbc/support/KeyHolder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java b/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java index 5b7e395911..57f65c878c 100644 --- a/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java +++ b/spring-jdbc/src/main/java/org/springframework/jdbc/support/KeyHolder.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2018 the original author or authors. + * Copyright 2002-2019 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.