Skip to content

Commit

Permalink
no puzzle in Cargo, Native class-level fields
Browse files Browse the repository at this point in the history
  • Loading branch information
h1alexbel committed Dec 26, 2023
1 parent 248b57b commit 51ed789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@
/**
* Class to manipulate Cargo.toml file.
* @since 1.0
* @todo #2239:60 min. Make this class extending Savable class.
* This class have save method and needs to have explanatory
* comment too via Commented class.
*/
public class Cargo extends Savable {
public final class Cargo extends Savable {
/**
* Package attributes.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ String content() {
"import org.eolang.Universe;",
String.format(
"public class %s {",
name
this.name
),
String.format(
" public static native byte[] %s",
name
this.name
),
" (final Universe universe);",
"}"
Expand Down

1 comment on commit 51ed789

@0pdd
Copy link

@0pdd 0pdd commented on 51ed789 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Puzzle 2239-2a4796f2 disappeared from eo-maven-plugin/src/main/java/org/eolang/maven/rust/Cargo.java), that's why I closed #2322. Please, remember that the puzzle was not necessarily removed in this particular commit. Maybe it happened earlier, but we discovered this fact only now.

Please sign in to comment.