google-nomulus/java/google/registry/util
mcilwain d2ee63cf69 Consolidate Dagger modules for utils classes
There was no reason to have several different modules all providing a single
thing. This approach, which creates a single UtilsModule for everything in the
util package, is cleaner. This also removes provisioning of Random and
StringGenerator objects in RegistryConfig.ConfigModule, which don't belong
there because they aren't configuration options.

This also removes insecure random entirely; it was only used in a
single place to generate 24 bytes a couple times per day. We can live with the
lower speed if it means we don't have to worry about multiple types of Random,
or possibly using an insecure random accidentally in a place that security
actually does matter.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=229751915
2019-01-17 19:20:52 -05:00
..
AppEngineServiceUtils.java Add SetNumInstancesCommand in Nomulus tool to adjust the number of instances 2018-11-12 14:51:40 -05:00
AppEngineServiceUtilsImpl.java Consolidate Dagger modules for utils classes 2019-01-17 19:20:52 -05:00
AppEngineTimeLimiter.java Fix mismatch in types of Predicates being used 2017-10-04 16:16:45 -04:00
BUILD Move YamlUtils to be under google.registry.util package 2018-11-14 12:00:45 -05:00
CapturingLogHandler.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
CidrAddressBlock.java Clean up some areas in preparation for externalized codebase 2018-11-16 16:51:11 -05:00
Clock.java Make our Clock util Serializable 2018-06-27 15:28:52 -04:00
CollectionUtils.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
ComparingInvocationHandler.java Fix two warnings thrown by Eclipse 2017-04-26 10:36:51 -04:00
Concurrent.java Replace com.google.common.base.Function with java.util.function.Function 2017-12-27 11:08:55 -05:00
DatastoreServiceUtils.java Refactor Guava functional methods to use lambdas 2017-12-01 22:14:05 -05:00
DateTimeUtils.java Add an unrenew_domain command to nomulus tool 2018-12-12 13:22:34 -05:00
DiffUtils.java Migrate Guava Predicates.notNull to Objects.nonNull 2017-12-27 11:19:53 -05:00
DomainNameUtils.java Enforce canonicalization of premium/reserved list labels 2018-04-23 14:53:10 -04:00
FixedClock.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
HexDumper.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Idn.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
ImprovedInputStream.java Clean up Improved(Input|Output)Stream 2018-06-27 15:28:53 -04:00
ImprovedOutputStream.java Clean up Improved(Input|Output)Stream 2018-06-27 15:28:53 -04:00
ListNamingUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
NetworkUtils.java Replace uses of X.to(Upper|Lower)Case() with Ascii.to(Upper|Lower)Case(X) 2018-04-23 15:02:31 -04:00
NonFinalForTesting.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
package-info.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
PosixTarHeader.java Move the RDE TAR file encoding to a dedicated file 2018-08-10 13:46:48 -04:00
PreconditionsUtils.java Switch from Guava Optionals to Java 8 Optionals 2017-10-24 16:53:47 -04:00
PredicateUtils.java Replace com.google.common.base.Predicate with java.util.function.Predicate 2017-12-27 11:21:28 -05:00
RandomStringGenerator.java Refactor StringGenerator bindings 2018-10-22 19:06:35 -04:00
RegistrarUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
RequestStatusChecker.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
RequestStatusCheckerImpl.java Migrate to Flogger (yellow) 2018-05-30 12:18:54 -04:00
ResourceUtils.java Add golden files for request component routing maps 2017-06-05 18:17:09 -04:00
Retrier.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
SendEmailService.java Change SendEmailService to an instance field. 2018-10-22 18:43:18 -04:00
SerializeUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
Sleeper.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
SqlTemplate.java Remove unnecessary generic type arguments 2017-11-21 18:17:31 -05:00
StringGenerator.java Add web console for creating registrars 2019-01-17 19:19:09 -05:00
SystemClock.java Consolidate Dagger modules for utils classes 2019-01-17 19:20:52 -05:00
SystemSleeper.java Consolidate Dagger modules for utils classes 2019-01-17 19:20:52 -05:00
TaskQueueUtils.java Migrate to Flogger (green) 2018-05-30 12:18:54 -04:00
TeeOutputStream.java Remove more unnecessary "throws" declarations 2018-06-27 15:28:52 -04:00
TypeUtils.java Isolate customizable code in activity reporting 2018-12-13 15:07:29 -05:00
UrlFetchException.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
UrlFetchUtils.java Remove the use of InjectRule in UrlFetchUtilsTest 2018-10-22 18:44:56 -04:00
UtilsModule.java Consolidate Dagger modules for utils classes 2019-01-17 19:20:52 -05:00
VoidCallable.java Clean up some code quality issues 2017-12-01 22:14:06 -05:00
X509Utils.java Update signed marks files and add an expiration test 2018-06-27 15:28:53 -04:00
XmlEnumUtils.java Update copyright year on all license headers 2017-02-02 16:27:22 -05:00
XmlToEnumMapper.java Remove unnecessary explicit generic type declarations 2017-11-07 17:11:29 -05:00
YamlUtils.java Move YamlUtils to be under google.registry.util package 2018-11-14 12:00:45 -05:00