File tree Expand file tree Collapse file tree 3 files changed +11
-11
lines changed
spring-amqp/src/main/java/org/springframework/amqp/core
spring-rabbit-junit/src/main/java/org/springframework/amqp/rabbit/junit Expand file tree Collapse file tree 3 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -52,23 +52,23 @@ ext {
52
52
googleJsr305Version = ' 3.0.2'
53
53
hamcrestVersion = ' 2.2'
54
54
hibernateValidationVersion = ' 8.0.0.Final'
55
- jacksonBomVersion = ' 2.14.0 '
55
+ jacksonBomVersion = ' 2.14.2 '
56
56
jaywayJsonPathVersion = ' 2.7.0'
57
57
junit4Version = ' 4.13.2'
58
58
junitJupiterVersion = ' 5.9.1'
59
59
log4jVersion = ' 2.19.0'
60
60
logbackVersion = ' 1.4.4'
61
61
lz4Version = ' 1.8.0'
62
62
micrometerDocsVersion = ' 1.0.1'
63
- micrometerVersion = ' 1.10.3 '
64
- micrometerTracingVersion = ' 1.0.1 '
63
+ micrometerVersion = ' 1.10.4 '
64
+ micrometerTracingVersion = ' 1.0.2 '
65
65
mockitoVersion = ' 4.8.1'
66
66
rabbitmqStreamVersion = ' 0.8.0'
67
67
rabbitmqVersion = project. hasProperty(' rabbitmqVersion' ) ? project. rabbitmqVersion : ' 5.16.0'
68
68
reactorVersion = ' 2022.0.2'
69
69
snappyVersion = ' 1.1.8.4'
70
- springDataVersion = ' 2022.0.1 '
71
- springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 6.0.4 '
70
+ springDataVersion = ' 2022.0.2 '
71
+ springVersion = project. hasProperty(' springVersion' ) ? project. springVersion : ' 6.0.5 '
72
72
springRetryVersion = ' 2.0.0'
73
73
testcontainersVersion = ' 1.17.6'
74
74
zstdJniVersion = ' 1.5.0-2'
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2018-2019 the original author or authors.
2
+ * Copyright 2018-2023 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.
17
17
package org .springframework .amqp .core ;
18
18
19
19
import java .nio .ByteBuffer ;
20
+ import java .util .Base64 ;
20
21
import java .util .UUID ;
21
22
22
23
import org .springframework .util .Assert ;
23
- import org .springframework .util .Base64Utils ;
24
24
25
25
/**
26
26
* Generates names with the form {@code <prefix><base64url>} where 'prefix' is
@@ -66,7 +66,7 @@ public String generateName() {
66
66
bb .putLong (uuid .getMostSignificantBits ())
67
67
.putLong (uuid .getLeastSignificantBits ());
68
68
// Convert to base64 and remove trailing =
69
- return this .prefix + Base64Utils . encodeToUrlSafeString (bb .array ())
69
+ return this .prefix + Base64 . getUrlEncoder (). encodeToString (bb .array ())
70
70
.replaceAll ("=" , "" );
71
71
}
72
72
Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2022 the original author or authors.
2
+ * Copyright 2002-2023 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.
29
29
import java .nio .charset .StandardCharsets ;
30
30
import java .util .ArrayList ;
31
31
import java .util .Arrays ;
32
+ import java .util .Base64 ;
32
33
import java .util .HashMap ;
33
34
import java .util .List ;
34
35
import java .util .Map ;
39
40
import org .apache .commons .logging .LogFactory ;
40
41
41
42
import org .springframework .http .HttpStatus ;
42
- import org .springframework .util .Base64Utils ;
43
43
import org .springframework .util .StringUtils ;
44
44
import org .springframework .web .util .UriUtils ;
45
45
@@ -447,7 +447,7 @@ public String generateId() {
447
447
ByteBuffer bb = ByteBuffer .wrap (new byte [SIXTEEN ]);
448
448
bb .putLong (uuid .getMostSignificantBits ())
449
449
.putLong (uuid .getLeastSignificantBits ());
450
- return "SpringBrokerRunning." + Base64Utils . encodeToUrlSafeString (bb .array ()).replaceAll ("=" , "" );
450
+ return "SpringBrokerRunning." + Base64 . getUrlEncoder (). encodeToString (bb .array ()).replaceAll ("=" , "" );
451
451
}
452
452
453
453
private boolean isDefaultQueue (String queue ) {
You can’t perform that action at this time.
0 commit comments