junit-team/junit — pull request #820 by vbauer (2014-02-13 17:15:14+00:00)
Title: Optimize memory consumption in junit.framework.Assert

New class org.junit.Assert already contains optimized assert methods (with Long.valueOf etc), for example:
```java
static public void assertEquals(String message, long expected, long actual) {
if (expected != actual) {
failNotEquals(message, Long.valueOf(expected), Long.valueOf(actual));
}
}
```

Old (deprecated) version of this class (junit.framework.Assert) contains not-optimized methods, for example:
```java
static public void assertEquals(String message, long expected, long actual) {
assertEquals(message, new Long(expected), new Long(actual));
}
```

Whole class is deprecated, but I sure that this methods are still used in many projects, so I suggest to optimize them, until they are presented in JUnit.