mirror of
https://github.com/apache/struts.git
synced 2026-08-07 07:37:20 +00:00
WW-5533 Add compilation support for Jakarta EE 11
This commit is contained in:
@@ -57,7 +57,7 @@ public class ScopeELResolver extends ELResolver {
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
// @Override // To allow compilation with Maven profile jakartaee11 where this interface method does not exist
|
||||
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base) {
|
||||
if (base != null) {
|
||||
return Collections.emptyIterator();
|
||||
|
||||
@@ -47,7 +47,7 @@ public class TilesContextBeanELResolver extends ELResolver {
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@Override
|
||||
// @Override // To allow compilation with Maven profile jakartaee11 where this interface method does not exist
|
||||
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context, Object base) {
|
||||
List<FeatureDescriptor> list = new ArrayList<>();
|
||||
|
||||
|
||||
@@ -70,7 +70,7 @@ public class TilesContextELResolver extends ELResolver {
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
@Override
|
||||
// @Override // To allow compilation with Maven profile jakartaee11 where this interface method does not exist
|
||||
public Iterator<FeatureDescriptor> getFeatureDescriptors(ELContext context,
|
||||
Object base) {
|
||||
// only resolve at the root of the context
|
||||
|
||||
Reference in New Issue
Block a user