summaryrefslogtreecommitdiff
path: root/java/client/src
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2007-11-12 16:49:47 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2007-11-12 16:49:47 +0000
commitccf128c7a1b56f108028f2e68f8978c2fee3b1ff (patch)
tree5468a466ac6a6e177348de65257630896eb03ebe /java/client/src
parent85b9538691748eaadc0a67dd3e1c4e4035991ecd (diff)
downloadqpid-python-ccf128c7a1b56f108028f2e68f8978c2fee3b1ff.tar.gz
Uncommented the lines that caused me a compilation error (due to an out of data spec file)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@594208 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/src')
-rw-r--r--java/client/src/main/java/org/apache/qpid/client/XAResourceImpl.java4
-rw-r--r--java/client/src/main/java/org/apache/qpidity/njms/XAResourceImpl.java6
2 files changed, 5 insertions, 5 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/client/XAResourceImpl.java b/java/client/src/main/java/org/apache/qpid/client/XAResourceImpl.java
index d70a70110c..56e37797fc 100644
--- a/java/client/src/main/java/org/apache/qpid/client/XAResourceImpl.java
+++ b/java/client/src/main/java/org/apache/qpid/client/XAResourceImpl.java
@@ -333,7 +333,7 @@ public class XAResourceImpl implements XAResource
// todo make sure that the keys of the returned map are the xids
Xid[] result = new Xid[res.getInDoubt().size()];
int i = 0;
- /* try
+ try
{
for (Object xid : res.getInDoubt())
{
@@ -348,7 +348,7 @@ public class XAResourceImpl implements XAResource
_logger.debug("Cannot convert string into Xid ", e);
}
throw new XAException(XAException.XAER_PROTO);
- }*/
+ }
return result;
}
diff --git a/java/client/src/main/java/org/apache/qpidity/njms/XAResourceImpl.java b/java/client/src/main/java/org/apache/qpidity/njms/XAResourceImpl.java
index 9da8e24acc..ae6477a5a4 100644
--- a/java/client/src/main/java/org/apache/qpidity/njms/XAResourceImpl.java
+++ b/java/client/src/main/java/org/apache/qpidity/njms/XAResourceImpl.java
@@ -333,9 +333,9 @@ public class XAResourceImpl implements XAResource
// todo make sure that the keys of the returned map are the xids
Xid[] result = new Xid[res.getInDoubt().size()];
int i = 0;
- /* try
+ try
{
- /* for (Object xid : res.getInDoubt())
+ for (Object xid : res.getInDoubt())
{
result[i] = new XidImpl((String) xid);
i++;
@@ -348,7 +348,7 @@ public class XAResourceImpl implements XAResource
_logger.debug("Cannot convert string into Xid ", e);
}
throw new XAException(XAException.XAER_PROTO);
- }*/
+ }
return result;
}