06 2021 档案

摘要:找到安装目录bin文件夹里的idea.properties文件,修改前四个idea配置储存路径并删除#字符即可。 阅读全文
posted @ 2021-06-26 09:50 unnerd 阅读(562) 评论(0) 推荐(0)
摘要:1 package cn.unnerd.common.config; 2 3 import org.springframework.context.annotation.Configuration; 4 import org.springframework.http.HttpHeaders; 5 i 阅读全文
posted @ 2021-06-22 15:18 unnerd 阅读(79) 评论(0) 推荐(0)
摘要:在实际的项目中看到一个很奇怪的现象,Java可以直接new一个接口,然后在new里面粗暴的加入实现代码。就像下面这样。那么问题来了,new出来的对象没有实际的类作为载体,这不是很奇怪吗? 思考以下代码的输出是什么? 1 Runnable x = new Runnable() { 2 @Overrid 阅读全文
posted @ 2021-06-20 10:01 unnerd 阅读(1090) 评论(0) 推荐(0)
摘要:问题: 1 error: failed to push some refs to 2 hint: Updates were rejected because the tip of your current branch is behind 3 hint: its remote counterpart 阅读全文
posted @ 2021-06-18 23:18 unnerd 阅读(364) 评论(0) 推荐(0)