commit | e32ef82ad739cbb0c7ba775d4d37f21599eee816 | [log] [tgz] |
---|---|---|
author | David Pursehouse <dpursehouse@collab.net> | Tue Dec 06 21:27:48 2016 +0900 |
committer | David Pursehouse <dpursehouse@collab.net> | Wed Dec 07 10:21:29 2016 +0900 |
tree | 257a5b92265d09e6c85c70f03ead069c4b326911 | |
parent | 9b8be04d271a9076ecd1c59f2ea9adb30c93688a [diff] |
WebLinks: Return List<T> from methods rather than FluentIterable<T> All the callers of these methods convert the returned FluentIterable to a List. Also it's inefficient to invoke FluentIterable.isEmpty() because it has to traverse the whole thing including map and filter calls. Change it to just return a List. Rather than converting to use the Java 8 streams API, leave the internal implementation of the methods unchanged for now. The links are DynamicSet, which is an implementation of Iterable and does not have the stream() method. There isn't much readability improvement by rewriting it to use Spliterator, but we can revisit this later when we upgrade to Guava 21 which has a Streams utility. Change-Id: I0e2a68f2992f6bcb2ab1ee2ae067975d416e9651
Gerrit is a code review and project management tool for Git based projects.
Gerrit makes reviews easier by showing changes in a side-by-side display, and allowing inline comments to be added by any reviewer.
Gerrit simplifies Git based project maintainership by permitting any authorized user to submit changes to the master Git repository, rather than requiring all approved changes to be merged in by hand by the project maintainer.
For information about how to install and use Gerrit, refer to the documentation.
Our canonical Git repository is located on googlesource.com. There is a mirror of the repository on Github.
Please report bugs on the issue tracker.
Gerrit is the work of hundreds of contributors. We appreciate your help!
Please read the contribution guidelines.
Note that we do not accept Pull Requests via the Github mirror.
The IRC channel on freenode is #gerrit. An archive is available at: echelog.com.
The Developer Mailing list is repo-discuss on Google Groups.
Gerrit is provided under the Apache License 2.0.
Install Buck and run the following:
git clone --recursive https://gerrit.googlesource.com/gerrit cd gerrit && buck build release
The instruction how to configure GerritForge/BinTray repositories is here
On Debian/Ubuntu run:
apt-get update & apt-get install gerrit=<version>-<release>
NOTE: release is a counter that starts with 1 and indicates the number of packages that have been released with the same version of the software.
On CentOS/RedHat run:
yum clean all && yum install gerrit-<version>[-<release>]
On Fedora run:
dnf clean all && dnf install gerrit-<version>[-<release>]
Docker images of Gerrit are available on DockerHub
To run a CentOS 7 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-centos7[:version]
To run a Ubuntu 15.04 based Gerrit image:
docker run -p 8080:8080 gerritforge/gerrit-ubuntu15.04[:version]
NOTE: release is optional. Last released package of the version is installed if the release number is omitted.