Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

                return null;
Severity: Major
Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                        return false;
    Severity: Major
    Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                      return ArraysX.toString((double[])o);
      Severity: Major
      Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return val;
        Severity: Major
        Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return val;
          Severity: Major
          Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                            return Integer.class == cls ? null: Objects.ZERO_INTEGER;
            Severity: Major
            Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                              return null;
              Severity: Major
              Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                                return false;
                Severity: Major
                Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                              return true;
                  Severity: Major
                  Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return ArraysX.toString((Object[])o);
                    Severity: Major
                    Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return cls.getField(name);
                      Severity: Major
                      Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                        Avoid too many return statements within this method.
                        Open

                                        return new Character((char)((Number)val).shortValue());
                        Severity: Major
                        Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                          Avoid too many return statements within this method.
                          Open

                                          return new Float(((Date)val).getTime());
                          Severity: Major
                          Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                            Avoid too many return statements within this method.
                            Open

                                            return ((BigDecimal) val).signum() != 0;
                            Severity: Major
                            Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                          return Objects.ZERO_LONG;
                              Severity: Major
                              Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                            return (c1 != '0' || c2 != '0'); // It would not be an octal escape, but the U+0000 escape sequence + '0'.
                                Severity: Major
                                Found in zcommon/src/main/java/org/zkoss/lang/JavaScriptEscapeUtil.java - About 30 mins to fix

                                  Avoid too many return statements within this method.
                                  Open

                                          return (c1 != '0' || c2 != '0' || c3 != '0'); // Check it's not U+0000 (escaped) + '00'
                                  Severity: Major
                                  Found in zcommon/src/main/java/org/zkoss/lang/JavaScriptEscapeUtil.java - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                                        return false;
                                    Severity: Major
                                    Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

                                      Avoid too many return statements within this method.
                                      Open

                                              return o.toString();
                                      Severity: Major
                                      Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return prefix.length() > 0 ? null: Namespace.NO_NAMESPACE;
                                        Severity: Major
                                        Found in zcommon/src/main/java/org/zkoss/idom/Element.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language