fix(#3002): codacy

This commit is contained in:
maxonfjvipon 2024-04-05 16:04:10 +03:00
parent 212b9f26db
commit 95b66532f8
No known key found for this signature in database
GPG Key ID: D8563899D473D273
2 changed files with 3 additions and 2 deletions

View File

@ -2,4 +2,6 @@
# are not available for the project. For example a lot of
# package name contains capital letter and such names are conventional.
exclude_paths:
- "eo-runtime/src/main/java/EOorg/EOeolang/EOcage$EOnew.java"
- "eo-runtime/src/main/java/EOorg/EOeolang/EOmalloc$EOmemory_block_pointer$EOfree.java"
- "eo-runtime/src/main/java/EOorg/EOeolang/EOmalloc$EOmemory_block_pointer$EOread.java"
- "eo-runtime/src/main/java/EOorg/EOeolang/EOmalloc$EOmemory_block_pointer$EOwrite.java"

View File

@ -59,7 +59,6 @@ final class EOmalloc$EOmemory_block_pointer$EOwrite extends PhDefault implements
@Override
public Phi lambda() throws Exception {
final Phi rho = this.take(Attr.RHO);
Heaps.INSTANCE.get().write(
new Param(this.take(Attr.RHO), "id").strong(Long.class).intValue(),
new Dataized(this.take("data")).take()