mirror of
https://github.com/google/nomulus
synced 2026-06-06 06:52:56 +00:00
Rename Response in the epp model to EppResponse
So that it doesn't conflict with request.Response. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=124595393
This commit is contained in:
committed by
Justine Tunney
parent
0ce293325c
commit
7cf4ddce97
@@ -22,7 +22,7 @@ import static google.registry.flows.EppXmlTransformer.marshal;
|
||||
import google.registry.flows.EppException;
|
||||
import google.registry.model.eppcommon.Trid;
|
||||
import google.registry.model.eppoutput.EppOutput;
|
||||
import google.registry.model.eppoutput.Response;
|
||||
import google.registry.model.eppoutput.EppResponse;
|
||||
import google.registry.util.Clock;
|
||||
import google.registry.util.SystemClock;
|
||||
import google.registry.xml.ValidationMode;
|
||||
@@ -72,7 +72,7 @@ public class ExceptionRule implements TestRule {
|
||||
if (e instanceof EppException) {
|
||||
// Attempt to marshall the exception to EPP. If it doesn't work, this will throw.
|
||||
marshal(
|
||||
EppOutput.create(new Response.Builder()
|
||||
EppOutput.create(new EppResponse.Builder()
|
||||
.setTrid(Trid.create(null))
|
||||
.setResult(((EppException) e).getResult())
|
||||
.setExecutionTime(CLOCK.nowUtc())
|
||||
|
||||
Reference in New Issue
Block a user