Skip to content

Commit fcd155a

Browse files
committed
Correct RFC 4648 references in method-level javadoc
Issue: SPR-14067 (cherry picked from commit ec7c3aa)
1 parent bfe8d15 commit fcd155a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

spring-core/src/main/java/org/springframework/util/Base64Utils.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2016 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.
@@ -99,7 +99,7 @@ public static byte[] decode(byte[] src) {
9999
}
100100

101101
/**
102-
* Base64-encode the given byte array using the RFC 4868
102+
* Base64-encode the given byte array using the RFC 4648
103103
* "URL and Filename Safe Alphabet".
104104
* @param src the original byte array (may be {@code null})
105105
* @return the encoded byte array (or {@code null} if the input was {@code null})
@@ -113,7 +113,7 @@ public static byte[] encodeUrlSafe(byte[] src) {
113113
}
114114

115115
/**
116-
* Base64-decode the given byte array using the RFC 4868
116+
* Base64-decode the given byte array using the RFC 4648
117117
* "URL and Filename Safe Alphabet".
118118
* @param src the encoded byte array (may be {@code null})
119119
* @return the original byte array (or {@code null} if the input was {@code null})
@@ -174,7 +174,7 @@ public static byte[] decodeFromString(String src) {
174174
}
175175

176176
/**
177-
* Base64-encode the given byte array to a String using the RFC 4868
177+
* Base64-encode the given byte array to a String using the RFC 4648
178178
* "URL and Filename Safe Alphabet".
179179
* @param src the original byte array (may be {@code null})
180180
* @return the encoded byte array as a UTF-8 String
@@ -188,7 +188,7 @@ public static String encodeToUrlSafeString(byte[] src) {
188188
}
189189

190190
/**
191-
* Base64-decode the given byte array from an UTF-8 String using the RFC 4868
191+
* Base64-decode the given byte array from an UTF-8 String using the RFC 4648
192192
* "URL and Filename Safe Alphabet".
193193
* @param src the encoded UTF-8 String (may be {@code null})
194194
* @return the original byte array (or {@code null} if the input was {@code null})

0 commit comments

Comments
 (0)