Java Weekly, Issue 213 – Java周刊,第213期

最后修改: 2018年 1月 26日

中文/混合/英文(键盘快捷键:t)

Here we go…

我们来了……

1. Spring and Java

1.Spring和Java

>> Fumigating the IDEA Ultimate code using dataflow analysis [blog.jetbrains.com]

A deep dive into the how code inspection in works in IntelliJ.

深入探讨代码检查在IntelliJ中的作用。

>> Immutable Versus Unmodifiable in JDK 10 [marxsoftware.blogspot.com]

An important concept to understand – an unmodifiable collection isn’t necessarily immutable.

要理解一个重要的概念–不可修改的集合不一定是不可改变的

Simply put, if the contained elements are mutable, the entire collection is clearly mutable, even though the collection itself might be unmodifiable.

简单地说,如果包含的元素是可变的,整个集合显然是可变的,尽管集合本身可能是不可修改的。

>> Refining redirect semantics in the Servlet API [blog.frankel.ch]

Unfortunately, HttpServletResponse.sendRedirect() returns HTTP 302 instead of 303, so we may need to handle that manually if we need to implement the Post/Redirect/Get pattern.

不幸的是,HttpServletResponse.sendRedirect()返回HTTP 302而不是303,所以如果我们需要实现Post/Redirect/Get模式,我们可能需要手动处理。

Also worth reading:

Webinars and presentations:

网络研讨会和演讲:

Time to upgrade:

升级的时间:

2. Technical and Musings

2.技术和思考

>> A Hypothetical Consulting Gig [daedtech.com]

This is how an average consulting gig might look like 🙂

一个普通的咨询工作可能是这样的 🙂

Also worth reading:

还值得一读的是:

3. Comics

3.漫畫

And my favorite Dilberts of the week:

还有本周我最喜欢的Dilberts。

>> Absurd Absolute [dilbert.com]

>> Data Encapsulation [dilbert.com]

>> Unforeseen Problems [dilbert.com]

5. Pick of the Week

5 本周精选

>> The Brutal Lifecycle of JavaScript Frameworks [stackoverflow.blog]