Author: boisvert
Date: Thu Mar 8 14:50:19 2007
New Revision: 516213
URL: http://svn.apache.org/viewvc?view=rev&rev=516213
Log:
cleanup
Modified:
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Modified:
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
URL:
http://svn.apache.org/viewvc/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java?view=diff&rev=516213&r1=516212&r2=516213
==============================================================================
--- incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
(original)
+++ incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/OdeContext.java
Thu Mar 8 14:50:19 2007
@@ -124,29 +124,16 @@
_context = ctx;
}
- /**
- * DOCUMENT ME!
- *
- * @return Transformation engine context
- */
public ComponentContext getContext() {
return _context;
}
- /**
- * Used to grab a reference of this object.
- *
- * @return an initialized TransformationEngineContext reference
- */
- public static synchronized OdeContext getInstance() {
- if (__self == null) {
- synchronized (OdeContext.class) {
- if (__self == null) {
- __self = new OdeContext();
- }
+ public static OdeContext getInstance() {
+ synchronized (OdeContext.class) {
+ if (__self == null) {
+ __self = new OdeContext();
}
}
-
return __self;
}
@@ -187,7 +174,7 @@
} else {
Definition def =
pc.getDefinitionForService(endpoint.serviceName);
if (def == null) {
- __log.debug("Could not find definition for service: " +
endpoint.serviceName);
+ __log.debug("Could not find definition for service: " +
endpoint.serviceName);
} else {
def = new WSDLFlattener(def).getDefinition(portType);
Document doc =
WSDLFactory.newInstance().newWSDLWriter().getDocument(def);