knut 2004/08/10 15:20:20
Modified: framework/src/java/org/apache/hivemind/parse
DescriptorParser.java
Log:
removed unused private method
Revision Changes Path
1.26 +7 -21
jakarta-hivemind/framework/src/java/org/apache/hivemind/parse/DescriptorParser.java
Index: DescriptorParser.java
===================================================================
RCS file:
/home/cvs/jakarta-hivemind/framework/src/java/org/apache/hivemind/parse/DescriptorParser.java,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -r1.25 -r1.26
--- DescriptorParser.java 10 Aug 2004 21:24:58 -0000 1.25
+++ DescriptorParser.java 10 Aug 2004 22:20:20 -0000 1.26
@@ -318,7 +318,7 @@
}
/**
- * Very similar to [EMAIL PROTECTED] #beginExtension(String)}, in that
it creates an
+ * Very similar to [EMAIL PROTECTED] #beginContribution(String)}, in
that it creates an
* [EMAIL PROTECTED] ElementImpl}, adds it as a parameter to the
* [EMAIL PROTECTED] AbstractServiceInvocationDescriptor}, then enters
STATE_LWDOM to fill in its
* attributes and content.
@@ -517,12 +517,6 @@
return;
}
- if (elementName.equals("set-parent"))
- {
- enterSetParent(elementName);
- return;
- }
-
if (elementName.equals("read-attribute"))
{
enterReadAttribute(elementName);
@@ -553,6 +547,12 @@
return;
}
+ if (elementName.equals("set-parent"))
+ {
+ enterSetParent(elementName);
+ return;
+ }
+
if (elementName.equals("custom"))
{
enterCustom(elementName);
@@ -614,20 +614,6 @@
// And, this is what we ultimately return from the parse.
_moduleDescriptor = md;
- }
-
- private void buildAttributes(Attributes attributes)
- {
- _attributes.clear();
- int count = attributes.getLength();
-
- for (int i = 0; i < count; i++)
- {
- String name = attributes.getQName(i);
- String value = attributes.getValue(i);
-
- _attributes.put(name, value);
- }
}
private ElementImpl buildLWDomElement(String elementName)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]