jgit/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http
Michael Keppler 2fc00af44e refactor: simplify collection.toArray()
On recent VMs, collection.toArray(new T[0]) is faster than
collection.toArray(new T[collection.size()]). Since it is also more
readable, it should now be the preferred way of collection to array
conversion.

https://shipilev.net/blog/2016/arrays-wisdom-ancients/

Change-Id: I80388532fb4b2b0663ee1fe8baa94f5df55c8442
Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
2018-08-23 01:34:39 -04:00
..
AccessEvent.java Remove further unnecessary 'final' keywords 2018-05-18 17:59:45 +02:00
AppServer.java refactor: simplify collection.toArray() 2018-08-23 01:34:39 -04:00
HttpTestCase.java Fix remaining javadoc errors raised by doclint 2017-12-21 02:42:14 +01:00
MockServletConfig.java Fix javadoc in org.eclipse.jgit.junit.http 2017-12-17 20:05:55 +01:00
RecordingLogger.java Remove 'final' in parameter lists 2018-05-15 17:05:02 -04:00
SimpleHttpServer.java Remove 'final' in parameter lists 2018-05-15 17:05:02 -04:00
TestRequestLog.java Configure Semaphore used in TestRequestLog to be fair 2018-02-22 23:16:42 +01:00