Skip to content

Commit

Permalink
(#73) Fix Qulice's warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rocket-3 committed Oct 4, 2021
1 parent ab26c31 commit f37c8ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/main/java/org/fusionsoft/database/DbdFileOfMapping.java
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@
public class DbdFileOfMapping implements DbdFile {

/**
* The Scalar<DbdRootMapping> encapsulated.
* The Scalar of DbdRootMapping encapsulated.
*/
private final Scalar<DbdRootMapping> mapping;

/**
* Instantiates a new Dbd file of mapping.
* @param mapping The Scalar<DbdRootMapping> to be encapsulated.
* @param mapping The Scalar of DbdRootMapping to be encapsulated.
*/
private DbdFileOfMapping(final Scalar<DbdRootMapping> mapping) {
this.mapping = mapping;
Expand All @@ -49,7 +49,7 @@ public DbdFileOfMapping(final YamlMapping mapping) {
}

@Override
public DbdRootMapping asYaml() {
public final DbdRootMapping asYaml() {
return new Unchecked<>(this.mapping).value();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public DbdRootMapping(final YamlMapping mapping) {
super(
new YamlNodeValidated(
m -> {
if (!("db").equals(
if (!"db".equals(
new TextOfMappingValue(
new YamlMappingHasKeys(
new YamlMappingOfPath(m.asMapping(), "info"),
Expand Down

0 comments on commit f37c8ca

Please sign in to comment.