Showing 4,841 of 7,782 total issues
Consider simplifying this complex logical expression. Open
Open
if ((v = response.headers.get('ZK-Error'))
&& !zAu.onResponseError(response, v = zk.parseInt(v) ?? v)
&& (v == 5501 || v == 5502) //Handle only ZK's SC_OUT_OF_SEQUENCE or SC_ACTIVATION_TIMEOUT
&& zAu.confirmRetry('FAILED_TO_RESPONSE',
v == 5501 ? 'Request out of sequence' : 'Activation timeout')) {
Consider simplifying this complex logical expression. Open
Open
if ((v = node?.clientWidth) && ofs[0] > (v + zkn.sumStyles('l', jqBorders)) && ofs[0] < (node.offsetWidth - zkn.sumStyles('r', jqBorders))
|| (v = node?.clientHeight) && ofs[1] > (v + zkn.sumStyles('t', jqBorders)) && ofs[1] < (node.offsetHeight - zkn.sumStyles('b', jqBorders))) //scrollbar
return;
Consider simplifying this complex logical expression. Open
Open
if (p && (!zk.isLoaded('zul.grid') || !(p instanceof zul.grid.Row))
&& (!zk.isLoaded('zul.sel') || (!(p instanceof zul.sel.Listitem) && !(p instanceof zul.sel.Treerow))))
tevt.stopPropagation();
Consider simplifying this complex logical expression. Open
Open
if ((wgt._vflex === undefined || (wgt._vflexsz && wgt._vflex == 'min'))
&& (wgt._hflex === undefined || (wgt._hflexsz && wgt._hflex == 'min')))
return;
Consider simplifying this complex logical expression. Open
Open
if ((clearAllSiblings || isTargetWgt) && (isHorizontal && isRow) || (!isHorizontal && !isRow)) {
fcc.style.flexGrow = '';
jqFcc.removeClass(flexItemClass);
if (fcc != c && !c.style[dim])
c.style[dim] = '';
Consider simplifying this complex logical expression. Open
Open
if (v != 410 //not timeout (SC_GONE)
&& !(reqInf.rtags && reqInf.rtags.isDummy) //ZK-3304: dummy request shouldn't reset timeout
&& (!reqInf.rtags || !reqInf.rtags.onTimer || zk.timerAlive)) // Bug ZK-2720 only timer-keep-alive should reset the timeout
zAu._resetTimeout();
Consider simplifying this complex logical expression. Open
Open
if (p && (!zk.isLoaded('zul.grid') || !(p instanceof zul.grid.Row))
&& (!zk.isLoaded('zul.sel') || (!(p instanceof zul.sel.Listitem) && !(p instanceof zul.sel.Treerow))))
tevt.stopPropagation();
Consider simplifying this complex logical expression. Open
Open
if ((this.needV && domBottom <= viewBottom && domTop >= viewTop)
|| (this.needH && domRight <= viewRight && domLeft >= viewLeft))
return true;
else
return false;
Consider simplifying this complex logical expression. Open
Open
if (dt.getFullYear() != y || dt.getMonth() != m || dt.getDate() != d
|| dt.getHours() != hr || dt.getMinutes() != min || dt.getSeconds() != sec) //ignore msec (safer though not accurate)
return; //failed
Method parse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
parse(Map<? super String, ? super String> map, String src, char separator, char quote, boolean asValue)
Method parse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
parse(Map<? super String, ? super String> map, String src, char pairSeparator, char separator, char quote)
Method parse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static final Collection<String> parse(Collection<String> c, final String src,
char separator, boolean escBackslash, boolean parenthesis) {
Method resolveDependency
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static void resolveDependency(XMLResource xr,
List<Resource> rcs, Map<String, XMLResource> rcmap, Set<String> resolving, String elName) {
Method toStringBuffer
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
toStringBuffer(StringBuffer sb, Map<? super String, ? super String> map, char quote, char separator, char pairSeparator) {
Method next
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
next(String src, String delimiters, int j, boolean whitespaceAware,
boolean parenthesis) {
Method invoke
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public Object invoke(ELContext ctx, Object base, Object method, Class[] paramTypes, Object[] params)
Method attributeDecl
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void attributeDecl(String eName, String aName, String type,
String valueDefault, String value) throws SAXException {
Method cat5
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static String cat5(Object o1, Object o2, Object o3, Object o4, Object o5) {
Method format
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static String format(String message, String pubId, String sysId,
int lineno, int colno) {
Method getDateFormat
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private static final DateFormat getDateFormat (String pattern, Locale locale, TimeZone timezone, String dateStyle, String timeStyle) {