Skip to content

Commit bbe340c

Browse files
committed
Replaced binary or with boolean or
1 parent bf02f92 commit bbe340c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/org/culturegraph/mf/stream/converter/StreamLiteralFormater.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626

2727
/**
28-
*
28+
*
2929
* @author Markus Michael Geipel
30-
*
30+
*
3131
*/
3232
@Description("Formats litereals in a stream")
3333
@In(StreamReceiver.class)
@@ -39,16 +39,16 @@ public final class StreamLiteralFormater extends DefaultStreamPipe<ObjectReceive
3939
public void setSeparator(final String separator) {
4040
this.separator = separator;
4141
}
42-
42+
4343

4444
@Override
4545
public void literal(final String name, final String value) {
46-
if(name==null | name.isEmpty()){
46+
if (name == null || name.isEmpty()) {
4747
getReceiver().process(value);
48-
}else{
49-
getReceiver().process(name+ separator + value);
48+
} else {
49+
getReceiver().process(name + separator + value);
5050
}
51-
5251
}
52+
5353
}
5454

0 commit comments

Comments
 (0)