Skip to content

Commit

Permalink
objectionary#3236 resolve some violations
Browse files Browse the repository at this point in the history
  • Loading branch information
c71n93 committed Aug 6, 2024
1 parent 2be544b commit a7d9f80
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 6 deletions.
1 change: 0 additions & 1 deletion eo-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ SOFTWARE.
(PMD.PackageCase, PMD.AvoidDollarSigns). All the others PMD violations should be
resolved.
-->
<exclude>pmd:/src/main/java/EOorg/.*</exclude>
<exclude>dependencies:org.eolang:eo-maven-plugin</exclude>
</excludes>
</configuration>
Expand Down
4 changes: 3 additions & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/EObytes$EOnot.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@

/*
* @checkstyle PackageNameCheck (4 lines)
* @checkstyle TrailingCommentCheck (3 lines)
*/
package EOorg.EOeolang;
package EOorg.EOeolang; // NOPMD

import org.eolang.Atom;
import org.eolang.Attr;
Expand All @@ -44,6 +45,7 @@
*/
@Versionized
@XmirObject(oname = "bytes.not")
@SuppressWarnings("PMD.AvoidDollarSigns")
public final class EObytes$EOnot extends PhDefault implements Atom {
@Override
public Phi lambda() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@

/*
* @checkstyle PackageNameCheck (4 lines)
* @checkstyle TrailingCommentCheck (3 lines)
*/
package EOorg.EOeolang;
package EOorg.EOeolang; // NOPMD

import org.eolang.Atom;
import org.eolang.Attr;
Expand All @@ -43,6 +44,7 @@
*/
@Versionized
@XmirObject(oname = "cage.encaged.@")
@SuppressWarnings("PMD.AvoidDollarSigns")
public final class EOcage$EOencaged$EOφ extends PhDefault implements Atom {
@Override
public Phi lambda() throws Exception {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@

/*
* @checkstyle PackageNameCheck (4 lines)
* @checkstyle TrailingCommentCheck (3 lines)
*/

package EOorg.EOeolang;
package EOorg.EOeolang; // NOPMD

import org.eolang.AtVoid;
import org.eolang.Atom;
Expand All @@ -45,10 +45,12 @@
*/
@Versionized
@XmirObject(oname = "malloc.of.allocated.write")
@SuppressWarnings("PMD.AvoidDollarSigns")
public final class EOmalloc$EOof$EOallocated$EOwrite extends PhDefault implements Atom {
/**
* Ctor.
*/
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
EOmalloc$EOof$EOallocated$EOwrite() {
this.add("offset", new AtVoid("offset"));
this.add("data", new AtVoid("data"));
Expand Down
5 changes: 4 additions & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/EOnumber$EOdiv.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,9 @@

/*
* @checkstyle PackageNameCheck (4 lines)
* @checkstyle TrailingCommentCheck (3 lines)
*/
package EOorg.EOeolang;
package EOorg.EOeolang; // NOPMD

import org.eolang.AtVoid;
import org.eolang.Atom;
Expand All @@ -45,10 +46,12 @@
*/
@Versionized
@XmirObject(oname = "number.div")
@SuppressWarnings("PMD.AvoidDollarSigns")
public final class EOnumber$EOdiv extends PhDefault implements Atom {
/**
* Ctor.
*/
@SuppressWarnings("PMD.ConstructorOnlyInitializesOrCallOtherConstructors")
public EOnumber$EOdiv() {
this.add("x", new AtVoid("x"));
}
Expand Down

0 comments on commit a7d9f80

Please sign in to comment.