-
Previous: #8651. Next: #8653.
General idea: owned-ness or borrow-ness are like `ref` as variable decorators / intents rather than types. owned decorator can apply to integer values, records, etc in…
-
> 来自《Effective Java》 #43 的阅读笔记。
本章的主题是创建和销毁对象:
- 何时以及如何创建对象
- 何时以及如何避免创建对象
- 如何确保它们能够适时地销毁
- 如何管理对象销毁之前必须进行的各种清理动作
## 本章目录
- [x] 第 1 条:考虑用静态工厂方法代替构造器
- [x] 第 2 条:遇到多个构造器参数时要考虑用构建器
- [x] …
-
### Steps to reproduce
* JaCoCo version: 0.7.8, 0.7.9
* Operating system: Windows, Linux
* Tool integration: Gradle
let's say we have following class
```java
package com;
import static co…
-
There's a lot of autoboxing. This can be avoided using primitive-friendly collections, like those in FastUtil.
-
When I test my animation, I found Memory Churn. So I did some analysis roughly.And I found lottie use too many generic on Float. It cause auto-boxing/auto-unboxing frequently.
I think it is the to…
-
A user of the vSphere plugin reports this exception:
java.lang.NullPointerException
at hudson.model.AbstractBuild$AbstractBuildExecution.decideWorkspace(AbstractBuild.java:440)
at hudson.model.Abs…
timja updated
6 years ago
-
_Migrated from:_ CodeHaus issue EASYMOCK-142
_Original reporter:_ Ken Warkentyne
---
Here's a test that produces a null pointer exception due to trying to convert the null value returned by 'eq…
-
[@FroMage] When using some Java code that returns a `java.util.List` we get a weird issue that `String` is not assignable to `String` because we assume that when used as a type parameter, `String` sho…
-
* KOReader version: Last nightly versions
* Device: Kobo Mini
#### Issue
When turning off the embedded style in some epubs, KOReader always crashes. It works well and doesn't crash with other epu…
-
In places like [IntervalIndexer](https://github.com/imglib/imglib/blob/master/core/src/main/java/net/imglib2/util/IntervalIndexer.java) which use primitive arrays, it would be nice to consolidate thei…