mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02: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:
parent
0ce293325c
commit
7cf4ddce97
41 changed files with 92 additions and 83 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue