commit | d2cb96a8147e38ba22d1f51b7baca23cd48bfac3 | [log] [tgz] |
---|---|---|
author | laszlocsomor <laszlocsomor@google.com> | Tue Jan 14 02:35:04 2020 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Jan 14 02:36:10 2020 -0800 |
tree | b08e3007763664fddafb8825d55507e04c79fa8f | |
parent | ab05973cff59ec4813e12550fe75f3b8ab7430dc [diff] |
Refactor: remove unnecessary ImmutableXXX.copyOf() It's often a code smell if a constructor makes an immutable copy of its argument, because often those arguments could easily be an immutable collection. In this CL I mark arguments of such ctors as Immutable and let the caller make the copy that the ctor used to. This CL doesn't introduce any new copies, because it merely moves the copy calls to the call sites (where copying is needed at all). PiperOrigin-RevId: 289612603
{Fast, Correct} - Choose two
Build and test software of any size, quickly and reliably.
Speed up your builds and tests: Bazel rebuilds only what is necessary. With advanced local and distributed caching, optimized dependency analysis and parallel execution, you get fast and incremental builds.
One tool, multiple languages: Build and test Java, C++, Android, iOS, Go, and a wide variety of other language platforms. Bazel runs on Windows, macOS, and Linux.
Scalable: Bazel helps you scale your organization, codebase, and continuous integration solution. It handles codebases of any size, in multiple repositories or a huge monorepo.
Extensible to your needs: Easily add support for new languages and platforms with Bazel's familiar extension language. Share and re-use language rules written by the growing Bazel community.
Follow our tutorials:
See CONTRIBUTING.md