Skip to content

Commit

Permalink
objectionary#2937 fix qulice warnings in eo-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
c71n93 committed Mar 25, 2024
1 parent bcc8bcd commit 6c74e9c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion eo-runtime/src/main/java/EOorg/EOeolang/EOseq.java
Expand Up @@ -40,8 +40,8 @@

/**
* SEQ.
* @checkstyle TypeNameCheck (5 lines)
* @since 1.0
* @checkstyle TypeNameCheck (5 lines)
*/
@Versionized
@XmirObject(oname = "seq")
Expand Down
4 changes: 2 additions & 2 deletions eo-runtime/src/main/java/org/eolang/Data.java
Expand Up @@ -288,11 +288,11 @@ private static String unescapeJavaString(final String str) {
if (next >= '0' && next <= '7') {
String code = String.valueOf(next);
++idx;
if ((idx < str.length() - 1) && str.charAt(idx + 1) >= '0'
if (idx < str.length() - 1 && str.charAt(idx + 1) >= '0'
&& str.charAt(idx + 1) <= '7') {
code += str.charAt(idx + 1);
++idx;
if ((idx < str.length() - 1) && str.charAt(idx + 1) >= '0'
if (idx < str.length() - 1 && str.charAt(idx + 1) >= '0'
&& str.charAt(idx + 1) <= '7') {
code += str.charAt(idx + 1);
++idx;
Expand Down
2 changes: 1 addition & 1 deletion eo-runtime/src/main/java/org/eolang/PhDefault.java
Expand Up @@ -40,8 +40,8 @@
* A simple object.
*
* The class is thread-safe.
* @checkstyle DesignForExtensionCheck (500 lines)
* @since 0.1
* @checkstyle DesignForExtensionCheck (500 lines)
*/
@Versionized
@SuppressWarnings({"PMD.TooManyMethods", "PMD.ConstructorShouldDoInitialization"})
Expand Down

0 comments on commit 6c74e9c

Please sign in to comment.