Skip to content

Commit a6dc573

Browse files
author
srathod
committed
- Fixing indentation.
1 parent 2a49428 commit a6dc573

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/net/authorize/util/XmlUtility.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ public static synchronized <T extends Serializable> String getXml(T entity) thro
5959
request_ctx = jaxbContext.get(entity.getClass().toString());
6060
}
6161

62-
if(request_ctx != null){
62+
if(request_ctx != null)
63+
{
6364
Marshaller m = request_ctx.createMarshaller();
6465
m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true);
6566

@@ -97,7 +98,8 @@ public static synchronized <T extends Serializable> T create(String xml, Class<T
9798
response_ctx = jaxbContext.get(classType.toString());
9899
}
99100

100-
if(response_ctx != null){
101+
if(response_ctx != null)
102+
{
101103
Unmarshaller um = response_ctx.createUnmarshaller();
102104
try {
103105
Object unmarshaled = um.unmarshal(new StringReader(xml));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy