From 00e2e53301ceafe825a6b56a4e5818fff91f834e Mon Sep 17 00:00:00 2001 From: clemenso Date: Wed, 23 Feb 2011 14:42:40 +0000 Subject: merge STALTranslator changes (translate() name clash workaround) git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@908 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../main/java/at/gv/egiz/stal/service/translator/STALTranslator.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'STALService/src/main/java/at') diff --git a/STALService/src/main/java/at/gv/egiz/stal/service/translator/STALTranslator.java b/STALService/src/main/java/at/gv/egiz/stal/service/translator/STALTranslator.java index 88a6fa4c..fec5722b 100644 --- a/STALService/src/main/java/at/gv/egiz/stal/service/translator/STALTranslator.java +++ b/STALService/src/main/java/at/gv/egiz/stal/service/translator/STALTranslator.java @@ -98,7 +98,7 @@ public class STALTranslator { * @return * @throws at.gv.egiz.stal.service.translator.TranslationException */ - public STALRequest translate(JAXBElement request) throws TranslationException { + public STALRequest translateWSRequest(JAXBElement request) throws TranslationException { RequestType req = request.getValue(); if (req == null) { throw new RuntimeException("RequestType must not be null"); @@ -138,7 +138,7 @@ public class STALTranslator { * @return * @throws at.gv.egiz.stal.service.translator.TranslationException */ - public STALResponse translate(JAXBElement response) throws TranslationException { + public STALResponse translateWSResponse(JAXBElement response) throws TranslationException { ResponseType resp = response.getValue(); if (resp == null) { throw new RuntimeException("ResponseType must not be null"); -- cgit v1.2.3