1
0
mirror of https://github.com/google/nomulus synced 2026-01-05 13:07:04 +00:00

Fix warnings nits from RegistrarAction rename

([]

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=137833414
This commit is contained in:
ctingue
2016-11-01 09:38:30 -07:00
committed by Ben McIlwain
parent a244202267
commit 83cbf5a01f
4 changed files with 5 additions and 16 deletions

View File

@@ -163,7 +163,7 @@ public interface RegistryConfig {
* Returns the email address(es) that notifications of registrar and/or registrar contact updates
* should be sent to, or the empty list if updates should not be sent.
*
* @see google.registry.ui.server.registrar.RegistrarAction
* @see google.registry.ui.server.registrar.RegistrarSettingsAction
*/
public ImmutableList<String> getRegistrarChangesNotificationEmailAddresses();

View File

@@ -110,7 +110,7 @@ public class RegistrarSettingsAction implements Runnable, JsonActionRunner.JsonA
case "update":
return update(args, initialRegistrar);
case "read":
return read(args, initialRegistrar);
return JsonResponseHelper.create(SUCCESS, "Success", initialRegistrar.toJsonMap());
default:
return JsonResponseHelper.create(ERROR, "Unknown or unsupported operation: " + op);
}
@@ -293,10 +293,6 @@ public class RegistrarSettingsAction implements Runnable, JsonActionRunner.JsonA
}
}
public Map<String, Object> read(Map<String, ?> args, Registrar registrar) {
return JsonResponseHelper.create(SUCCESS, "Success", registrar.toJsonMap());
}
/** Thrown when a set of contacts doesn't meet certain constraints. */
private static class ContactRequirementException extends FormException {
ContactRequirementException(String msg) {