Skip to content

Commit

Permalink
chore: prepare for development (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmamo authored Nov 22, 2023
1 parent b8012fc commit 168b774
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
GPG_SECRET_KEYS: ${{ secrets.GPG_SECRET_KEYS }}
GPG_OWNERTRUST: ${{ secrets.GPG_OWNERTRUST }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: 'zulu'
Expand Down
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<groupId>org.smooks.cartridges</groupId>
<artifactId>smooks-routing-cartridge</artifactId>
<version>2.0.0-RC2</version>
<version>2.0.0-RC3-SNAPSHOT</version>
<packaging>bundle</packaging>

<name>Smooks Routing Cartridge</name>
Expand Down Expand Up @@ -42,7 +42,7 @@
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<gpg.skip>true</gpg.skip>
<smooks.version>2.0.0-RC2</smooks.version>
<smooks.version>2.0.0-RC3-SNAPSHOT</smooks.version>
</properties>

<build>
Expand Down Expand Up @@ -252,7 +252,7 @@
<dependency>
<groupId>org.smooks.cartridges</groupId>
<artifactId>smooks-templating-cartridge</artifactId>
<version>2.0.0-RC2</version>
<version>2.0.0-RC3-SNAPSHOT</version>
<scope>test</scope>
<exclusions>
<exclusion>
Expand All @@ -264,7 +264,7 @@
<dependency>
<groupId>org.smooks.cartridges</groupId>
<artifactId>smooks-javabean-cartridge</artifactId>
<version>2.0.0-RC2</version>
<version>2.0.0-RC3-SNAPSHOT</version>
<scope>test</scope>
</dependency>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@
import org.smooks.engine.delivery.sax.ng.CharDataFragmentEvent;
import org.smooks.engine.xml.NamespaceManager;
import org.smooks.namespace.NamespaceDeclarationStack;
import org.smooks.support.CollectionsUtil;
import org.w3c.dom.CharacterData;
import org.w3c.dom.Element;

Expand All @@ -75,6 +74,8 @@
import java.util.Map;
import java.util.Optional;
import java.util.Set;
import java.util.stream.Collectors;
import java.util.stream.Stream;

/**
* Basic message fragment serializer.
Expand Down Expand Up @@ -141,7 +142,7 @@ public FragmentSerializer setRetain(Optional<Boolean> retain) {
}

public Set<? extends Object> getProducts() {
return CollectionsUtil.toSet(bindTo);
return Stream.of(bindTo).collect(Collectors.toSet());
}

@Override
Expand Down

0 comments on commit 168b774

Please sign in to comment.