mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 01:35:59 +02:00
Fix sql script name conflict (#411)
* Fix sql script name conflict There are two V11__ files due to concurrent merge. Renamed one to V12__ Also removed a @NotNull annotation, which is the fist in the code base. Most of the code base use @Nullable instead. If we do want to use @NotNull, we may want to use the javax one instead.
This commit is contained in:
parent
f48e3933f5
commit
65cf49f204
5 changed files with 10 additions and 2 deletions
|
@ -28,7 +28,6 @@ import com.google.common.cache.LoadingCache;
|
|||
import google.registry.util.NonFinalForTesting;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Optional;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.joda.time.Duration;
|
||||
|
||||
/** Caching utils for {@link PremiumList}s. */
|
||||
|
@ -52,7 +51,7 @@ class PremiumListCache {
|
|||
.build(
|
||||
new CacheLoader<String, Optional<PremiumList>>() {
|
||||
@Override
|
||||
public Optional<PremiumList> load(@NotNull String premiumListName) {
|
||||
public Optional<PremiumList> load(String premiumListName) {
|
||||
return PremiumListDao.getLatestRevision(premiumListName);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue