Showing 4,841 of 7,782 total issues
Method Value
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
final public void Value() throws ParseException {
AstValue jjtn001 = new AstValue(JJTVALUE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
Method getValue
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Object getValue(EvaluationContext ctx) throws ELException {
// Correct evaluation requires knowledge of the whole set of nested
// expressions, not just the current expression
NestedState state = getNestedState();
Method getExpressionFactory
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static ExpressionFactory getExpressionFactory() {
ClassLoader tccl = ClassUtil.getContextClassLoader(Util.class);
CacheValue cacheValue = null;
ExpressionFactory factory = null;
Method init
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@Init
public void init() {
listModelList.add(new Data("c", "cat"));
listModelList.add(new Data("a", "ace"));
listModelList.add(new Data("a", "ape"));
Method applyForward0
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static final void applyForward0(Component comp, String orgEvent, String cond) {
int len;
if (cond == null || (len = cond.length()) == 0)
len = (cond = orgEvent).length();
//if condition not specified, assume same as orgEvent (to space owenr)
Method getComposer
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
public static Composer getComposer(Page page, Object[] ary) throws Exception {
if (ary == null || ary.length == 0)
return null;
Method desktopDestroyed
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static void desktopDestroyed(Desktop desktop) {
final Session sess = desktop.getSession();
final Execution exec = new ExecutionImpl(desktop.getWebApp().getServletContext(), null, null, desktop, null);
final DesktopCtrl desktopCtrl = (DesktopCtrl) desktop;
final Execution oldExec = desktop.getExecution();
Method createFormProxy
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings({ "unchecked", "rawtypes" })
public static <T> T createFormProxy(T origin, Class<?> type, Class[] interfaces) {
if (origin instanceof Form)
return origin;
Method keySet
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public Set<K> keySet() {
if (this.keySet == null) {
this.keySet = new AbstractSet<K>() {
public Iterator iterator() {
return createHashIterator(KEYS);
Method compare
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static int compare(Object a, Object b) {
if (a == b) {
return 0;
}
if (a == null) {
Method doCommand
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private int doCommand(Component comp, CommandBinding commandBinding, String command, Event evt,
Map<String, Object> commandArgs, Set<Property> notifys) {
final String evtnm = evt == null ? null : evt.getName();
String debugInfo = MessageFormat.format("doCommand "
+ "comp=[{0}],command=[{1}],evtnm=[{2}]", comp, command, evtnm);
Method storeForm
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void storeForm(Component comp, String id, Form form) {
final String oldid = (String) comp.getAttribute(FORM_ID, Component.COMPONENT_SCOPE);
//check if a form exist already, allow to store a form with same id again for replacing the form
if (oldid != null && !oldid.equals(id)) {
throw new IllegalArgumentException(
Method fixGroupsInfoAfterInsert
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void fixGroupsInfoAfterInsert(Listitem newItem) {
if (_isReplacingItem) //@see Renderer#render
return; //called by #insertBefore(), skip handling GroupInfo
if (newItem instanceof Listgroup) {
Method generateURI
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static final String generateURI(String uri, Map params, int mode) {
if (uri.startsWith("~"))
throw new IllegalArgumentException("~ctx not supported here: " + uri);
final int j = uri.indexOf('?');
Function ajaxHandleResponses
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function ajaxHandleResponses( s, jqXHR, responses ) {
var ct, type, finalDataType, firstDataType,
contents = s.contents,
dataTypes = s.dataTypes;
Function deprecate
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function deprecate(msg, fn) {
var firstTime = true;
return extend(function () {
if (hooks.deprecationHandler != null) {
Function window$mold$
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function window$mold$(out, skipper) {
var uuid = this.uuid,
title = this.getTitle(),
caption = this.caption,
contentStyleHTML = zUtl.encodeXML(this.getContentStyle()),
Function checkOverflow
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function checkOverflow(m) {
var overflow,
a = m._a;
if (a && getParsingFlags(m).overflow === -2) {
Function as
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function as(units) {
if (!this.isValid()) {
return NaN;
}
var days,
Function encodeXML
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
static encodeXML(txt: string | null, opts?: EncodeXmlOptions): string {
txt = txt != null ? String(txt) : '';
if (!opts) // speed up the replacement.
return _encodeXML0(txt);