Skip to content

Commit

Permalink
Address some warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
melontini committed May 8, 2024
1 parent 5fa6179 commit 08e0481
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions spotbugs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,10 @@
<Match>
<Bug pattern="EI_EXPOSE_REP, EI_EXPOSE_REP2, PA_PUBLIC_PRIMITIVE_ATTRIBUTE, BC_UNCONFIRMED_CAST" />
</Match>

<Match>
<Class name="me.melontini.commander.impl.expression.EvalUtils" />
<Method name="parseExpression" />
<Bug pattern="BC_IMPOSSIBLE_CAST" />
</Match>
</FindBugsFilter>
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import java.util.Map;

@Mixin(Expression.class)
@Mixin(value = Expression.class, remap = false)
public interface ExpressionAccessor {

@Mutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import java.util.Map;

@Mixin(ExpressionConfiguration.class)
@Mixin(value = ExpressionConfiguration.class, remap = false)
public interface ExpressionConfigurationAccessor {

@Mutable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import java.util.Map;

@Mixin(MapBasedFunctionDictionary.class)
@Mixin(value = MapBasedFunctionDictionary.class, remap = false)
public interface MapBasedFunctionDictionaryAccessor {

@Accessor("functions")
Expand Down

0 comments on commit 08e0481

Please sign in to comment.