Skip to content

Commit

Permalink
cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Nov 27, 2023
1 parent e421944 commit 3f5d395
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
@Component(service = LinkHandlerConfig.class)
public class LinkHandlerConfigImpl extends LinkHandlerConfig {

private static final List<Class<? extends LinkType>> DEFAULT_LINK_TYPES = List.of(
private static final List<Class<? extends LinkType>> LINK_TYPES = List.of(
InternalLinkType.class,
InternalCrossContextLinkType.class,
ExternalLinkType.class,
Expand All @@ -37,7 +37,7 @@ public class LinkHandlerConfigImpl extends LinkHandlerConfig {
@Override
@SuppressWarnings("squid:S2384") // returned list is immutable
public @NotNull List<Class<? extends LinkType>> getLinkTypes() {
return DEFAULT_LINK_TYPES;
return LINK_TYPES;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<sly
data-sly-use.clientLib="#if($optionWcmioHandler=='y')/apps/wcm-io/wcm/ui/clientlibs/sightly/templates/clientlib.html#{else}/libs/granite/sightly/templates/clientlib.html#end"
data-sly-call="${symbol_dollar}{clientLib.js @ categories=['${projectName}.all']}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<sly
data-sly-use.clientLib="#if($optionWcmioHandler=='y')/apps/wcm-io/wcm/ui/clientlibs/sightly/templates/clientlib.html#{else}/libs/granite/sightly/templates/clientlib.html#end"
data-sly-call="${symbol_dollar}{clientLib.js @ categories=['${projectName}.all']}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<sly
data-sly-use.clientLib="#if($optionWcmioHandler=='y')/apps/wcm-io/wcm/ui/clientlibs/sightly/templates/clientlib.html#{else}/libs/granite/sightly/templates/clientlib.html#end"
data-sly-call="${symbol_dollar}{clientLib.js @ categories=['${projectName}.all']}"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#set( $symbol_pound = '#' )
#set( $symbol_dollar = '$' )
#set( $symbol_escape = '\' )
<sly
data-sly-use.clientLib="#if($optionWcmioHandler=='y')/apps/wcm-io/wcm/ui/clientlibs/sightly/templates/clientlib.html#{else}/libs/granite/sightly/templates/clientlib.html#end"
data-sly-call="${symbol_dollar}{clientLib.js @ categories=['${projectName}.all']}"
Expand Down
2 changes: 1 addition & 1 deletion src/site/markdown/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The wcm.io Maven Archetype for AEM allows you to set up new Maven projects for d
Features:

* Supports AEM 6.5 (with latest service pack) and AEM as a Cloud Service (AEMaaCS)
* Supports Java 8 and Java 11
* Supports Java 11
* Unit Tests based on JUnit 5 and [AEM Mocks][aem-mock]
* Supports both Sling-Initial-Content JSON-style project layout and FileVault package layout
* Based on [CONGA][conga] to manage AEM configuration and package deployment
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ optionJavaVersion=11
optionAemServicePack=y
optionAemServicePackAPI=y
optionSlingInitialContentBundle=y
optionSlingInitialContentBundleContentPackage=n
optionEditableTemplates=n
optionMultiBundleLayout=n
optionContextAwareConfig=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ optionJavaVersion=11
optionAemServicePack=y
optionAemServicePackAPI=y
optionSlingInitialContentBundle=y
optionSlingInitialContentBundleContentPackage=n
optionEditableTemplates=y
optionMultiBundleLayout=y
optionContextAwareConfig=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ optionJavaVersion=11
optionAemServicePack=y
optionAemServicePackAPI=y
optionSlingInitialContentBundle=n
optionSlingInitialContentBundleContentPackage=n
optionEditableTemplates=y
optionMultiBundleLayout=n
optionContextAwareConfig=y
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ optionJavaVersion=11
optionAemServicePack=y
optionAemServicePackAPI=y
optionSlingInitialContentBundle=n
optionSlingInitialContentBundleContentPackage=n
optionEditableTemplates=y
optionMultiBundleLayout=n
optionContextAwareConfig=n
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ optionJavaVersion=11
optionAemServicePack=y
optionAemServicePackAPI=y
optionSlingInitialContentBundle=n
optionSlingInitialContentBundleContentPackage=n
optionEditableTemplates=n
optionMultiBundleLayout=n
optionContextAwareConfig=y
Expand Down

0 comments on commit 3f5d395

Please sign in to comment.