SS0001's recent timeline updates
SS0001

SS0001

一场长梦,一场空逐。
V2EX member #526093, joined on 2020-12-29 19:09:31 +08:00
Somebody out there loves you.
SS0001's recent replies
Dec 10, 2021
Replied to a topic by dzy321 程序员 年底了人难招啊
呼吁一下,各位网上冲浪要注意保护个人隐私。需要投递建议去正规的招聘网站上投递。这种不知道什么成分就跑出来说难招的,呵呵
Dec 10, 2021
Replied to a topic by dzy321 程序员 年底了人难招啊
留个邮箱就说自己是招聘的,还是 QQ 邮箱,怎么不是企业邮箱?白嫖个人信息呢?
Dec 10, 2021
Replied to a topic by Wsdba Java 大家帮我看看,这代码是水平。。
也不用过度考虑简化,像楼上说的,简化也要看值不值嘛。
非要说优化的话 图 1 已经很多朋友说了,图二的话我个人认为改用 try catch 也可以。
private boolean changePartyPositions(String member1, String member2, String position...) {
boolean flag = false;
try {
JSONObject member1Json = partyMemberDao.getInfoById(member1);
JSONObject memberPositionsInfo = memberPositionsDao.getInfo(member1, p...);
flag = memberPositionsDao.delete(member1, positionName, org, updateT...)
} catch (NullPointerException e) {
// do nothing.
}
return flag;
}
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2459 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 06:24 · PVG 14:24 · LAX 23:24 · JFK 02:24
♥ Do have faith in what you're doing.