Skip to content

Commit 3d4df33

Browse files
fix: BUILD SUCCESSFUL
Signed-off-by: ooooo <[email protected]>
1 parent 28c5a8b commit 3d4df33

File tree

7 files changed

+18
-15
lines changed

7 files changed

+18
-15
lines changed

spring-boot-annotationProcessor/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ dependencyManagement {
55
}
66

77
dependencies {
8-
annotationProcessor project(":spring-boot-annotationProcessor")
9-
testAnnotationProcessor project(":spring-boot-annotationProcessor")
8+
// annotationProcessor project(":spring-boot-annotationProcessor")
9+
// testAnnotationProcessor project(":spring-boot-annotationProcessor")
1010
implementation(files("${System.properties['java.home']}/../lib/tools.jar"))
1111

1212
testImplementation('com.google.testing.compile:compile-testing:0.19')

spring-boot-auth/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,6 @@ dependencies {
1111

1212
api("org.springframework.boot:spring-boot-starter-web")
1313
api("org.springframework.boot:spring-boot-starter-security")
14+
15+
testImplementation("org.springframework.boot:spring-boot-starter-test")
1416
}

spring-boot-examples/spring-boot-dubbo3/spring-boot-dubbo3-consumer/src/main/java/com/ooooo/config/DevCounterClusterFilter.java

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
package com.ooooo.config;
22

3+
import static org.apache.dubbo.common.constants.CommonConstants.TAG_KEY;
4+
5+
import java.util.HashMap;
6+
import java.util.Map;
37
import lombok.Setter;
4-
import org.apache.commons.lang3.StringUtils;
58
import org.apache.dubbo.common.extension.Activate;
69
import org.apache.dubbo.rpc.Invocation;
710
import org.apache.dubbo.rpc.Invoker;
@@ -10,11 +13,7 @@
1013
import org.apache.dubbo.rpc.RpcException;
1114
import org.apache.dubbo.rpc.cluster.filter.ClusterFilter;
1215
import org.springframework.core.env.Environment;
13-
14-
import java.util.HashMap;
15-
import java.util.Map;
16-
17-
import static org.apache.dubbo.common.constants.CommonConstants.TAG_KEY;
16+
import org.springframework.util.StringUtils;
1817

1918
/**
2019
* @author <a href="https://github.com/ooooo-youwillsee">ooooo</a>
@@ -38,7 +37,7 @@ public class DevCounterClusterFilter implements ClusterFilter {
3837
public Result invoke(Invoker<?> invoker, Invocation invocation) throws RpcException {
3938
String propertyName = "1";
4039
String dubboTag = dubboTagMappings.get(propertyName);
41-
if (StringUtils.isNotBlank(dubboTag)) {
40+
if (StringUtils.hasText(dubboTag)) {
4241
RpcContext.getClientAttachment().setAttachment(TAG_KEY, dubboTag);
4342
}
4443
Result result = invoker.invoke(invocation);

spring-boot-examples/spring-boot-redis/build.gradle

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ dependencyManagement {
55
}
66

77
dependencies {
8+
api("com.alibaba:fastjson:1.2.67")
89
api("org.springframework.boot:spring-boot-starter-web")
910
api("org.springframework.boot:spring-boot-starter-data-redis")
1011
api("org.redisson:redisson-spring-boot-starter:3.15.3")

spring-bugs-report/src/main/java/com/ooooo/properties/EnableConfigurationPropertiesBug.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
package com.ooooo.properties;
22

3-
import com.alibaba.fastjson.JSON;
43
import lombok.extern.slf4j.Slf4j;
54
import org.springframework.beans.factory.annotation.Autowired;
65
import org.springframework.boot.ApplicationRunner;
@@ -25,7 +24,7 @@ public class EnableConfigurationPropertiesBug {
2524
@Bean
2625
public ApplicationRunner testApplicationRunner() {
2726
return (args) -> {
28-
log.info(JSON.toJSONString(testHelloProperties));
27+
log.info("{}", testHelloProperties);
2928
};
3029
}
3130

spring-cloud-examples/spring-cloud-authorize-server/build.gradle

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ dependencyManagement {
1010
}
1111

1212
dependencies {
13+
api("org.apache.commons:commons-collections4:4.4")
14+
api("com.nimbusds:nimbus-jose-jwt:9.7")
15+
api("com.h2database:h2:+")
16+
1317
api("org.springframework.boot:spring-boot-starter-web")
1418
api("org.springframework.cloud:spring-cloud-starter-netflix-eureka-client")
1519
api("org.springframework.cloud:spring-cloud-starter-security")
1620
api("org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure")
1721
api("org.springframework.boot:spring-boot-starter-jdbc")
18-
api("com.nimbusds:nimbus-jose-jwt:9.7")
19-
20-
api("com.h2database:h2:+")
2122
api("org.springframework.boot:spring-boot-starter-thymeleaf")
22-
2323
}

spring-extension-examples/spring-mvc-argumentResolver/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,6 @@ dependencyManagement {
77
dependencies {
88
api("com.alibaba:fastjson:1.2.67")
99
api("org.springframework.boot:spring-boot-starter-web")
10+
11+
testImplementation("org.springframework.boot:spring-boot-starter-test")
1012
}

0 commit comments

Comments
 (0)