Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

                return ((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 ArraysX.toString((int[])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 ((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 new BigDecimal(Float.toString((Float)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.toString(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 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 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 ((Number) val).doubleValue();
                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.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 BigDecimals.toBigDecimal(((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 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 (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 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 Double.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 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_BYTE;
                                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 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 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
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language