Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

        if (c == 0x0640) 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

            if (c == 0x0E46) 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 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 new Byte(((Number)val).byteValue());
        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 BigIntegers.toBigInteger(((Number)val).longValue());
          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).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 BigDecimal(((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 (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 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 (o.toString()).toCharArray();
                        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((long[])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 ArraysX.toString((float[])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 ((java.rmi.RemoteException)ex).detail;
                              Severity: Major
                              Found in zcommon/src/main/java/org/zkoss/lang/Exceptions.java - About 30 mins to fix

                                Avoid too many return statements within this method.
                                Open

                                        return null; //not castable
                                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((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 BigIntegers.toBigInteger((Short)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 BigIntegers.toBigInteger((Integer)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 Double.class == cls ? null: Objects.ZERO_DOUBLE;
                                        Severity: Major
                                        Found in zcommon/src/main/java/org/zkoss/lang/Classes.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language