Showing 4,841 of 7,782 total issues
Method setMold
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setMold(String mold) {
final String old = getMold();
if (!Objects.equals(old, mold)) {
super.setMold(mold);
//we have to change model before detaching paging,
Method service
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void service(org.zkoss.zk.au.AuRequest request, boolean everError) {
final String cmd = request.getCommand();
if (cmd.equals(Events.ON_OPEN)) {
OpenEvent evt = OpenEvent.getOpenEvent(request);
_open = evt.isOpen();
Method updateHeadercmTristate
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void updateHeadercmTristate(Set<?> partialSelections) {
if (getTreecols() != null) {
boolean treecolShouldBePartial = false;
int numberOfChild = 0,
selectedChild = 0;
Method renderProperties
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected void renderProperties(org.zkoss.zk.ui.sys.ContentRenderer renderer)
throws java.io.IOException {
super.renderProperties(renderer);
if (_max <= 0)
Method render
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("unchecked")
private void render(Comboitem item, Object value, int index) throws Throwable {
if (!_rendered && (_renderer instanceof RendererCtrl)) {
((RendererCtrl) _renderer).doTry();
_ctrled = true;
Method onInitRender
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
@SuppressWarnings("rawtypes")
public void onInitRender(Event data) {
//Bug #2010389
removeAttribute(ZUL_RADIOGROUP_ON_INITRENDER); //clear syncModel flag
final Renderer renderer = new Renderer();
Method insertBefore
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public boolean insertBefore(Component child, Component refChild) {
if (child instanceof Tabs) {
if (super.insertBefore(child, refChild)) {
_tabs = (Tabs) child;
for (Iterator<Component> it = _tabs.getChildren().iterator(); it.hasNext();) {
Method setMold
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void setMold(String mold) {
final String old = getMold();
if (!Objects.equals(old, mold)) {
super.setMold(mold);
// we have to change model before detaching paging,
Method getThreadLocals
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private void getThreadLocals() {
try {
Class cls = Classes
.forNameByThread("org.springframework.transaction.support.TransactionSynchronizationManager");
Method normalizePath
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static String normalizePath(String path) {
if (path == null) {
return null;
}
if ("/".equals(path)) {
Function diagonal
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
d3.svg.diagonal = function() {
var source = d3_svg_chordSource,
target = d3_svg_chordTarget,
projection = d3_svg_diagonalProjection;
Function when
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
when: function( singleValue ) {
var
// count of uncompleted subordinates
remaining = arguments.length,
Function addClass
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
addClass: function( value ) {
var classes, elem, cur, curValue, clazz, j, finalValue,
i = 0;
if ( isFunction( value ) ) {
Function propFilter
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function propFilter( props, specialEasing ) {
var index, name, easing, value, hooks;
// camelCase, specialEasing and expand cssHook pass
for ( index in props ) {
Function position
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
position: function() {
if ( !this[ 0 ] ) {
return;
}
Function clone
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
clone: function( elem, dataAndEvents, deepDataAndEvents ) {
var i, l, srcElements, destElements,
clone = elem.cloneNode( true ),
inPage = isAttached( elem );
Function listWeekdaysImpl
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function listWeekdaysImpl(localeSorted, format, index, field) {
if (typeof localeSorted === 'boolean') {
if (isNumber(format)) {
index = format;
format = undefined;
Function mtBL0
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function mtBL0(): void {
for (; ;) {
if (_crInfBL0.length)
return; //another page started
Function chooseLocale
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function chooseLocale(names) {
var i = 0,
j,
next,
locale,
Function _syncPosition
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
_syncPosition(orient: string, pos: number): void {
if (!this._pos)
return;
var isH = orient == 'hor',