1 2 3 4 5 6 7 8 9 10 11 12 13 | private void equals(Long value){ if(value!=null && value.equals(100)){ System.out.println("1"); }else{ System.out.println("2"); } } Long id=new Long(100); equals(id); // 输出2,因为value.equals(100)中的100为int类型,导致无法比较. |
K3s: 轻量级K8s
https://github.com/k3s-io/k3s
jindodata: Java大数据文件系统
https://github.com/aliyun/alibabacloud-jindodata
Java: 系统监控
https://github.com/dianping/cat
Spring Boot 3.0: 自动配置配置文件变更
配置文件名变更为:
org.springframework.boot.autoconfigure.AutoConfiguration.imports
文件路径为:
resources/META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
文件内容为:
org.springframework.boot.autoconfigure.admin.SpringApplicationAdminJmxAutoConfiguration
org.springframework.boot.autoconfigure.aop.AopAutoConfiguration
org.springframework.boot.autoconfigure.amqp.RabbitAutoConfiguration
org.springframework.boot.autoconfigure.batch.BatchAutoConfiguration
org.springframework.boot.autoconfigure.cache.CacheAutoConfiguration
org.springframework.boot.autoconfigure.cassandra.CassandraAutoConfiguration
org.springframework.boot.autoconfigure.context.ConfigurationPropertiesAutoConfiguration
org.springframework.boot.autoconfigure.context.LifecycleAutoConfiguration
org.springframework.boot.autoconfigure.context.MessageSourceAutoConfiguration
一行一个.