Showing 4,841 of 7,782 total issues
Function debounce
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static debounce<T, A extends unknown[], R>(func: (this: T, ...args: A) => R, wait: number,
immediate?: boolean): (this: T, ...args: A) => R {
var timeout, args, context, timestamp, result;
if (null == wait) wait = 100;
Method segmentInner
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private FilterMap segmentInner(Map map) {
final Map segFound = new HashMap();
for (Iterator it = map.entrySet().iterator(); it.hasNext();) {
final Map.Entry me = (Map.Entry)it.next();
Method getByFallback
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static Locale getByFallback(Collection<Locale> values, Locale locale) {
if (values.contains(locale))
return locale;
final String lang = locale.getLanguage();
Method startElement
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void
startElement(String nsURI, String lname, String tname, Attributes attrs)
throws SAXException {
// if (log.finerable())
// log.finer(message("start element: nsURI=\"" + nsURI + "\", lname=" + lname + ", tname=" + tname
Method isAssignableFrom
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static boolean isAssignableFrom(Class<?> src, Class<?> target) {
// src will always be an object
// Short-cut. null is always assignable to an object and in EL null
// can always be coerced to a valid value for a primitive
if (src == null) {
Method DynamicExpression
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void DynamicExpression() throws ParseException {
/*@bgen(jjtree) DynamicExpression */
AstDynamicExpression jjtn000 = new AstDynamicExpression(JJTDYNAMICEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Method MapEntry
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void MapEntry() throws ParseException {
/*@bgen(jjtree) MapEntry */
AstMapEntry jjtn000 = new AstMapEntry(JJTMAPENTRY);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Method setValue
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setValue(EvaluationContext ctx, Object value)
throws ELException {
Target t = getTarget(ctx);
ctx.setPropertyResolved(false);
ELResolver resolver = ctx.getELResolver();
Method BracketSuffix
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void BracketSuffix() throws ParseException {
/*@bgen(jjtree) BracketSuffix */
AstBracketSuffix jjtn000 = new AstBracketSuffix(JJTBRACKETSUFFIX);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Method DeferredExpression
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void DeferredExpression() throws ParseException {
/*@bgen(jjtree) DeferredExpression */
AstDeferredExpression jjtn000 = new AstDeferredExpression(JJTDEFERREDEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
Method isAssignableFrom
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static boolean isAssignableFrom(Class<?> src, Class<?> target) {
// src will always be an object
// Short-cut. null is always assignable to an object and in EL null
// can always be coerced to a valid value for a primitive
if (src == null) {
Method startLongOp
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Listen("onClick=#start")
public void startLongOp() {
_running.set(true);
logThread("Start");
Method doAfterCompose
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Override
public void doAfterCompose(Component comp) throws Exception {
super.doAfterCompose(comp);
final Desktop desktop = Executions.getCurrent().getDesktop();
Method render
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void render(Treeitem treeitem, Object data, int index) throws Exception {
Treerow row;
if(treeitem.getTreerow()==null){// tree row not create yet.
row = new Treerow();
row.setParent(treeitem);
Method onMainCreate
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void onMainCreate(Event event) {
final Execution exec = Executions.getCurrent();
final String id = exec.getParameter("id");
Listitem item = null;
if (id != null) {
Method renderValue
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private String renderValue(char value) {
StringBuilder buf = new StringBuilder();
buf.append('\'');
switch (value) {
case '\'':
Method addInV5
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void addInV5(String cval) {
final char[] seps1 = {'(', ' '}, seps2 = {')'};
for (int j = 0, len = cval.length(); j < len;) {
j = Strings.skipWhitespaces(cval, j);
int k = Strings.nextSeparator(cval, j, seps1, true, true, false);
Method componentToPath
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final String componentToPath(Component comp, Component ref) {
//Implementation Note:
//The path being written is a bit different to Path, if ref
//is not an space owner
//For example, if comp is the space owner, "" is written.
Method clone
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object clone() {
// remove first.
Collection<Callback> callbacks = new ArrayList<>(getCallback(AFTER_CLONED));
for (Callback callback : new ArrayList<Callback>(callbacks)) {
removeCallback(AFTER_CLONED, callback);
Method decode
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public List<AuRequest> decode(Object request, Desktop desktop) {
List<AuRequest> auRequests = _origin.decode(
new MultipartRequestWrapper((HttpServletRequest) request,
_queryData), desktop);