niekraaijmakers commented on code in PR #143:
URL:
https://github.com/apache/sling-org-apache-sling-feature-cpconverter/pull/143#discussion_r929936962
##########
src/main/java/org/apache/sling/feature/cpconverter/handlers/slinginitialcontent/BundleSlingInitialContentExtractContext.java:
##########
@@ -117,4 +120,13 @@ public JcrNamespaceRegistry getNamespaceRegistry() {
public List<PathEntry> getPathEntryList() {
return new ArrayList<>(pathEntryList);
}
+
+ @NotNull
+ public boolean isSlingNodeTypesEntry(@NotNull JarEntry jarEntry) {
+ if(slingNodeTypes == null){
+ return false;
+ }
+
+ return jarEntry.getName().equals(slingNodeTypes);
Review Comment:
Again a good point.. implemented this and pushed.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]