From e9877fa93a0e93807efe600d91f4150e3a40922f Mon Sep 17 00:00:00 2001 From: Thomas Risberg Date: Fri, 7 Nov 2008 20:21:08 +0000 Subject: [PATCH] SPR-5272: added sort to the categories that didn't have it --- .../springframework/jdbc/support/SQLErrorCodes.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java b/org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java index 6ffc31aa68..52c67bf5dc 100644 --- a/org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java +++ b/org.springframework.jdbc/src/main/java/org/springframework/jdbc/support/SQLErrorCodes.java @@ -105,7 +105,7 @@ public class SQLErrorCodes { } public void setInvalidResultSetAccessCodes(String[] invalidResultSetAccessCodes) { - this.invalidResultSetAccessCodes = invalidResultSetAccessCodes; + this.invalidResultSetAccessCodes = StringUtils.sortStringArray(invalidResultSetAccessCodes); } public String[] getInvalidResultSetAccessCodes() { @@ -129,7 +129,7 @@ public class SQLErrorCodes { } public void setDataAccessResourceFailureCodes(String[] dataAccessResourceFailureCodes) { - this.dataAccessResourceFailureCodes = dataAccessResourceFailureCodes; + this.dataAccessResourceFailureCodes = StringUtils.sortStringArray(dataAccessResourceFailureCodes); } public String[] getDataAccessResourceFailureCodes() { @@ -137,7 +137,7 @@ public class SQLErrorCodes { } public void setTransientDataAccessResourceCodes(String[] transientDataAccessResourceCodes) { - this.transientDataAccessResourceCodes = transientDataAccessResourceCodes; + this.transientDataAccessResourceCodes = StringUtils.sortStringArray(transientDataAccessResourceCodes); } public String[] getTransientDataAccessResourceCodes() { @@ -153,7 +153,7 @@ public class SQLErrorCodes { } public void setDeadlockLoserCodes(String[] deadlockLoserCodes) { - this.deadlockLoserCodes = deadlockLoserCodes; + this.deadlockLoserCodes = StringUtils.sortStringArray(deadlockLoserCodes); } public String[] getDeadlockLoserCodes() { @@ -161,7 +161,7 @@ public class SQLErrorCodes { } public void setCannotSerializeTransactionCodes(String[] cannotSerializeTransactionCodes) { - this.cannotSerializeTransactionCodes = cannotSerializeTransactionCodes; + this.cannotSerializeTransactionCodes = StringUtils.sortStringArray(cannotSerializeTransactionCodes); } public String[] getCannotSerializeTransactionCodes() {