Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

                return Short.valueOf((String) 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 ((Number) val).intValue() != 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 ((Number) val).intValue();
      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 BigDecimal((String)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 Objects.ZERO_SHORT;
          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 Boolean.FALSE;
            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((boolean[])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

                          if (c == 0x0387) return true;
                  Severity: Major
                  Found in zcommon/src/main/java/org/zkoss/idom/Verifier.java - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                                    return Boolean.class == cls ? null: Boolean.FALSE;
                    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_DOUBLE;
                      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 true;
                            Severity: Major
                            Found in zcommon/src/main/java/org/zkoss/idom/impl/AbstractItem.java - About 30 mins to fix

                              Avoid too many return statements within this method.
                              Open

                                              return Character.class == cls ? null: Objects.NULL_CHARACTER;
                              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 Long.class == cls ? null: 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 new BigDecimal((BigInteger)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 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 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((byte[])o);
                                        Severity: Major
                                        Found in zcommon/src/main/java/org/zkoss/lang/Objects.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language