8 Commits

Author SHA1 Message Date
David Ostrovsky
7163dacf80 Remove GWT UI
This change also discontinues this Maven artifact:

  <groupId>com.google.gerrit</groupId>
  <artifactId>gerrit-plugin-gwtui</artifactId>

Bug: Issue 6908
Change-Id: I767118ba4a70f288b8f56686ab90aefa059912bb
2018-11-13 15:06:26 -08:00
Edwin Kempin
6ed96ca40b Migrate all remaining classes to Flogger
This is the next part of the migration to Flogger. This change migrates
all remaining classes Flogger. This means all classes in Gerrit core now
use Flogger.

During this migration we try to make the log statements more consistent:
- avoid string concatenation
- avoid usage of String.format(...)

The visibility of the slf4j library is restricted to plugins and jgit
now. This avoids that we accidentally add new dependencies to slf4j.

Change-Id: Ide573327315a15cde69b68b5f27934deeb790d37
Signed-off-by: Edwin Kempin <ekempin@google.com>
2018-06-05 13:14:12 +02:00
David Pursehouse
ae599f57ac Use ObjectIdSerializer from JGit [redux]
Since [1, 2] JGit provides a public ObjectIdSerializer class.

Remove the ObjectIdSerialization class and use the new API.

[1] https://git.eclipse.org/r/#/c/117831/
[2] https://git.eclipse.org/r/#/c/119456/

Change-Id: Ie2ea535d5b6e190159dffeb98b63f1000c97658a
2018-03-15 13:08:38 +09:00
Paladox none
6128597199 Revert "Use ObjectIdSerializer from JGit"
This reverts commit b5769d3e75d3ac4afec1c7c1a4714e967182d63b.

Reason for revert: This is corrupting the cache with
Deserialization failed, cause: "java.io.IOException:
Invalid flag before ObjectId" [90027-176]

Bug: Issue 8546
Change-Id: I5ddd2d25c75884e616473f7c2cae2df0b4f706ef
2018-03-14 18:26:07 +00:00
David Pursehouse
b5769d3e75 Use ObjectIdSerializer from JGit
Since [1] JGit provides a public ObjectIdSerializer class.

Remove the ObjectIdSerialization class and use the new API.

[1] https://git.eclipse.org/r/#/c/117831/

Change-Id: Ief46a054390ccc8f993a6851ad8b5e9c6def28ca
2018-03-14 10:01:51 +09:00
David Pursehouse
30fd2864ab Use WindowCacheStats from JGit
Since [1] JGit exposes a public class WindowCacheStats, allowing to
access the statistics from WindowCache which is not a public API.

Remove the WindowCacheStatAccessor and use the new API instead.

[1] https://git.eclipse.org/r/#/c/116501/

Change-Id: I73dff00c309efd37030c02af91e7e7643b9b3751
2018-03-14 09:46:22 +09:00
David Ostrovsky
2f9d9877b9 Dissolve gerrit-patch-commonsnet top-level directory
Change-Id: I8d095608a0e942e7201224ea5894e3148a3fea80
2017-10-31 11:02:36 -04:00
David Ostrovsky
729f68c812 Dissolve gerrit-patch-jgit top-level directory
Change-Id: If6f09473e9621912e7eb769a92c17545db2716f6
2017-10-31 11:02:36 -04:00