Skip to content

Commit c69e894

Browse files
TobiasNxdr0i
andauthored
Apply suggestions from code review
By @dr0i Co-authored-by: Pascal Christoph <christoph@hbz-nrw.de>
1 parent e6a86b4 commit c69e894

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

metafacture-xml/src/main/java/org/metafacture/xml/GenericXmlHandler.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@
3434
* @author Markus Michael Geipel
3535
*
3636
*/
37-
@Description("A generic xml reader. Separates XML data in distrinct records with the defined record tag name (default: `recordtagname=\"record\"`)" +
37+
@Description("A generic XML reader. Separates XML data in distinct records with the defined record tag name (default: `recordtagname=\"record\"`)" +
3838
"If no matching record tag is found, the output will be empty." +
3939
"The handler breaks down XML elements with simple string values and optional attributes" +
4040
"into entities with a value subfield (name configurable) and additional subfields for each attribute." +
41-
"Record tag and value tag names can be configured, also attributes can get get an attributeMarker.")
41+
"Record tag and value tag names can be configured. Attributes can get an attributeMarker.")
4242
@In(XmlReceiver.class)
4343
@Out(StreamReceiver.class)
4444
@FluxCommand("handle-generic-xml")

metafacture-xml/src/main/java/org/metafacture/xml/SimpleXmlEncoder.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
* @author Christoph Böhme
4848
*
4949
*/
50-
@Description("Encodes a stream as xml. Defaults: `rootTag=\"records\"`, `recordTag=\"record\"`, no attributeMarker.")
50+
@Description("Encodes a stream as XML. Defaults: `rootTag=\"records\"`, `recordTag=\"record\"`, no attributeMarker.")
5151
@In(StreamReceiver.class)
5252
@Out(String.class)
5353
@FluxCommand("stream-to-xml")

0 commit comments

Comments
 (0)