Showing 4,841 of 7,782 total issues

Avoid too many return statements within this method.
Open

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

    Avoid too many return statements within this method.
    Open

                    return JSONArray.toJSONString((double[])value);
    Severity: Major
    Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

                  return JSONArray.toJSONString((Collection)value);
      Severity: Major
      Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                        return JSONArray.toJSONString((byte[])value);
        Severity: Major
        Found in zcommon/src/main/java/org/zkoss/json/JSONValue.java - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                                  return j;
          Severity: Major
          Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix

            Avoid too many return statements within this method.
            Open

                                    return j;
            Severity: Major
            Found in zcommon/src/main/java/org/zkoss/xel/fn/CommonFns.java - About 30 mins to fix

              Avoid too many return statements within this method.
              Open

                        { return new Yytoken(Yytoken.TYPE_LEFT_BRACE,null);
              Severity: Major
              Found in zcommon/src/main/java/org/zkoss/json/parser/Yylex.java - About 30 mins to fix

                Avoid too many return statements within this method.
                Open

                        if ("HALF_EVEN".equals(name)) return BigDecimal.ROUND_HALF_EVEN;
                Severity: Major
                Found in zcommon/src/main/java/org/zkoss/math/RoundingModes.java - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          if (c < 0x3031) return false;  if (c <= 0x3035) 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 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 BigIntegers.toBigInteger(((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

                                  if (c < 0x3031) return false;  if (c <= 0x3035) 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 < 0x309D) return false;  if (c <= 0x309E) 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 s.length() > 0 ? new Character(s.charAt(0)): 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 new Byte((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

                                          if (c < 0x309D) return false;  if (c <= 0x309E) 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 ((Number) arg).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 true;
                                      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

                                                if (c < 0x30FC) return false;  if (c <= 0x30FE) return true;
                                        Severity: Major
                                        Found in zcommon/src/main/java/org/zkoss/idom/Verifier.java - About 30 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language