Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
dprzybyl committed Jul 25, 2023
1 parent 6440600 commit de66211
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public MapperDescriptor create(Class<?> mapperClass) {
return new MapperDescriptor(mapper, name, group, ImmutableList.copyOf(mappingDescriptors));
}

@SuppressWarnings("deprecation")
private Object createInstance(Class<?> mapperClass) {
try {
return mapperClass.newInstance();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public ValueMap getValueMap() {
}

@Override
@SuppressWarnings("deprecation")
public Resource decorate(Resource resource, HttpServletRequest request) {
return decorate(resource);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ package com.cognifide.apm.core.crypto
import com.adobe.granite.crypto.CryptoException
import com.adobe.granite.crypto.CryptoSupport
import com.cognifide.apm.core.Property
import org.apache.commons.lang.text.StrSubstitutor
import org.apache.commons.lang3.StringUtils
import org.apache.commons.lang3.text.StrSubstitutor
import org.osgi.service.component.annotations.Component
import org.osgi.service.component.annotations.Reference

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ import com.cognifide.apm.core.grammar.common.getIdentifier
import com.cognifide.apm.core.grammar.common.getPath
import com.cognifide.apm.core.grammar.executioncontext.VariableHolder
import com.google.common.primitives.Ints
import org.apache.commons.lang.text.StrSubstitutor
import org.apache.commons.lang3.StringUtils
import org.apache.commons.lang3.text.StrSubstitutor

class ArgumentResolver(private val variableHolder: VariableHolder) {

Expand Down

0 comments on commit de66211

Please sign in to comment.