Stella981 Stella981
4年前
Sonar 规则
bug类型:1、".equals()"shouldnotbeusedtotestthevaluesof"Atomic"classes.bug主要不要使用equals方法对AtomicXXX进行是否相等的判断Atomic变量永远只会和自身相等,Atomic变量没有覆写equals()方法.2、""
Wesley13 Wesley13
4年前
Ubuntu 安装mysql和简单操作
 ubuntu上安装mysql非常简单只需要几条命令就可以完成。  1. sudoaptgetinstallmysqlserver  2. aptgetisntallmysqlclient  3. sudoaptgetinstalllibmysqlclientdev  安装过程中会提示设置密码什么的,注意设置了不
Wesley13 Wesley13
4年前
Oracle 要慌了!华为终于开源了自家的 Huawei JDK——毕昇 JDK!
!(https://oscimg.oschina.net/oscnet/db34d30feaed4607962ab547a058b2d1.jpg)Java技术栈www.javastack.cn关注阅读更多优质文章(https://www.oschina.net/action/GoToLink?urlhttp
Easter79 Easter79
4年前
Springboot快速上手
!(https://oscimg.oschina.net/oscnet/upda7836428debdfd941e86779af85bd2ad65.png)SpringbootSpringBoot是什么SpringBoot是Spring团队提供的、一套全新的、用于简化基于Spring应用开
Wesley13 Wesley13
4年前
centos7.2下apache实现https
申请证书,在腾讯云上申请https://www.qcloud.com/document/product/214/69891. Apache2.x证书部署http://www.iyunv.com/thread8432211.html(https://www.oschina.net/action/GoToLink?urlht
Stella981 Stella981
4年前
Rsyslog 收集Docker日志
rsyslog安装没什么好说的,略过配置文件修改前,需注意3点:1\.先关闭selinux、firewalld等防火墙,后面再放行2\.主机名修改,推荐 hostnamectlsethostnameserver      (主rsyslog服务器) hostnamectlsethostnameclient     
Stella981 Stella981
4年前
APNs升级了
APNs新版文档地址统一换成Developmentserver:api.development.push.apple.com:443Productionserver:api.push.apple.com:443请求类型也升级到HTTP/2了具体查看文档:https://developer.apple.
Stella981 Stella981
4年前
HttpClient4.5.2 使用cookie保持会话——如何传递多个cookie(3)
继上篇HttpClient4.5.2使用cookie保持会话——获取cookie之后如何传递它(2)(http://my.oschina.net/u/2353992/blog/708687) 之后,传递多个cookie到后端。1、通过CookieStore和HttpClientContext!(http://static.oschina.
Wesley13 Wesley13
4年前
3步创建APIJSON后端新表及配置
1.MySQLWorkbench新增Table!(https://static.oschina.net/uploads/img/201711/12230359_ASBM.jpg)2.配置权限APIJSON3.7.0 版开始,依赖了apijsonframework.jar 的不需要写任何代码:2.1)在Acce
Stella981 Stella981
4年前
Mybatis批量更新报错com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException
批量更新数据,非常简单的一段代码,硬是报错,插入的数据也能显示出来List<UseruserlistnewArrayList<User();userlist.add(newUser(1,"qq","123132","eee"));userlist.add(newUser(2,"3333","123132","rr