SystemReader.isMacOs() and SystemReader.isWindows() return values are unlikely to change during the JVM lifetime (except tests). Don't read system properties each time the methods are called, just use previously calculated value. Change-Id: I495521f67a8b544e7b7247d99bbd05a42ea16d20 Signed-off-by: Andrey Loskutov <loskutov@gmx.de> |
8 yıl önce | |
---|---|---|
.. | ||
Assert.java | Suppress boxing warnings where we know they are ok | 11 yıl önce |
JGitTestUtil.java | Fix RecursiveMerger's internal use of merge to find a merge base | 10 yıl önce |
LocalDiskRepositoryTestCase.java | Move `RepositoryTestCase.indexState` to parent class | 9 yıl önce |
MockSystemReader.java | [performance] Cache platform name in SystemReader | 8 yıl önce |
RepositoryTestCase.java | Move `RepositoryTestCase.indexState` to parent class | 9 yıl önce |
TestRepository.java | TestRepository: Add a cherryPick method | 9 yıl önce |
TestRng.java | Move TestRng to our JUnit helper package | 14 yıl önce |