rem
stringlengths
0
477k
add
stringlengths
0
313k
context
stringlengths
6
599k
if (jj_scan_token(OP_NE)) return true;
if (jj_scan_token(OP_SET)) return true;
final private boolean jj_3R_55() { if (jj_scan_token(OP_NE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(OP_GT)) return true;
if (jj_scan_token(OP_NE)) return true;
final private boolean jj_3R_56() { if (jj_scan_token(OP_GT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(OP_GE)) return true;
if (jj_scan_token(OP_GT)) return true;
final private boolean jj_3R_57() { if (jj_scan_token(OP_GE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(OP_LE)) return true;
if (jj_scan_token(OP_GE)) return true;
final private boolean jj_3R_58() { if (jj_scan_token(OP_LE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(OP_LT)) return true;
if (jj_scan_token(OP_LE)) return true;
final private boolean jj_3R_59() { if (jj_scan_token(OP_LT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
Token xsp; xsp = jj_scanpos; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) return true;
if (jj_scan_token(OP_LT)) return true;
final private boolean jj_3R_60() { Token xsp; xsp = jj_scanpos; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r...
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_60() { Token xsp; xsp = jj_scanpos; if (jj_3R_67()) { jj_scanpos = xsp; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) r...
if (jj_scan_token(LBRACE)) return true;
Token xsp; xsp = jj_scanpos; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) { jj_scanpos = xsp; if (jj_3R_70()) { jj_scanpos = xsp; if (jj_3R_71()) { jj_scanpos = xsp; if (jj_3R_72()) return true;
final private boolean jj_3R_61() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_61() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(RBRACE)) return true;
if (jj_scan_token(LBRACE)) return true;
final private boolean jj_3R_62() { if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(POUND)) return true;
if (jj_scan_token(RBRACE)) return true;
final private boolean jj_3R_63() { if (jj_scan_token(POUND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(DOLLAR)) return true;
if (jj_scan_token(POUND)) return true;
final private boolean jj_3R_64() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
Token xsp; xsp = jj_scanpos; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true;
if (jj_scan_token(DOLLAR)) return true;
final private boolean jj_3R_65() { Token xsp; xsp = jj_scanpos; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_65() { Token xsp; xsp = jj_scanpos; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(LBRACKET)) return true;
Token xsp; xsp = jj_scanpos; if (jj_3R_73()) { jj_scanpos = xsp; if (jj_3R_74()) return true;
final private boolean jj_3R_66() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_66() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(STUFF)) return true;
if (jj_scan_token(LBRACKET)) return true;
final private boolean jj_3R_67() { if (jj_scan_token(STUFF)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(QCHAR)) return true;
if (jj_scan_token(STUFF)) return true;
final private boolean jj_3R_68() { if (jj_scan_token(QCHAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(SLASH)) return true;
if (jj_scan_token(QCHAR)) return true;
final private boolean jj_3R_69() { if (jj_scan_token(SLASH)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(QUOTE)) return true;
if (jj_3R_76()) return true;
final private boolean jj_3R_72() { if (jj_scan_token(QUOTE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(SQUOTE)) return true;
if (jj_scan_token(QUOTE)) return true;
final private boolean jj_3R_73() { if (jj_scan_token(SQUOTE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(POUNDPOUND)) return true;
if (jj_scan_token(SQUOTE)) return true;
final private boolean jj_3R_74() { if (jj_scan_token(POUNDPOUND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
Token xsp; xsp = jj_scanpos; if (jj_3R_76()) { jj_scanpos = xsp; if (jj_3R_77()) return true;
if (jj_scan_token(POUNDPOUND)) return true;
final private boolean jj_3R_75() { Token xsp; xsp = jj_scanpos; if (jj_3R_76()) { jj_scanpos = xsp; if (jj_3R_77()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_75() { Token xsp; xsp = jj_scanpos; if (jj_3R_76()) { jj_scanpos = xsp; if (jj_3R_77()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_3R_64()) return true;
Token xsp; xsp = jj_scanpos; if (jj_3R_77()) { jj_scanpos = xsp; if (jj_3R_78()) return true;
final private boolean jj_3R_76() { if (jj_3R_64()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
} else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3R_76() { if (jj_3R_64()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_scan_token(DOLLAR)) return true;
if (jj_3R_65()) return true;
final private boolean jj_3R_77() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
if (jj_3R_18()) jj_scanpos = xsp;
if (jj_3R_19()) jj_scanpos = xsp;
final private boolean jj_3_11() { Token xsp; xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_19()) { jj_scanpos = xsp; if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_19()) {
if (jj_3R_20()) {
final private boolean jj_3_11() { Token xsp; xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_19()) { jj_scanpos = xsp; if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_20()) return true;
if (jj_3R_21()) return true;
final private boolean jj_3_11() { Token xsp; xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_19()) { jj_scanpos = xsp; if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_21()) jj_scanpos = xsp;
if (jj_3R_22()) jj_scanpos = xsp;
final private boolean jj_3_11() { Token xsp; xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_19()) { jj_scanpos = xsp; if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_22()) return true;
if (jj_3R_23()) return true;
final private boolean jj_3_11() { Token xsp; xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_19()) { jj_scanpos = xsp; if (jj_3R_20()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_23()) jj_scanpos = xsp;
if (jj_3R_24()) jj_scanpos = xsp;
final private boolean jj_3_12() { Token xsp; xsp = jj_scanpos; if (jj_3R_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_24()) {
if (jj_3R_25()) {
final private boolean jj_3_12() { Token xsp; xsp = jj_scanpos; if (jj_3R_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_25()) return true;
if (jj_3R_26()) return true;
final private boolean jj_3_12() { Token xsp; xsp = jj_scanpos; if (jj_3R_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_26()) jj_scanpos = xsp;
if (jj_3R_27()) jj_scanpos = xsp;
final private boolean jj_3_12() { Token xsp; xsp = jj_scanpos; if (jj_3R_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_27()) return true;
if (jj_3R_28()) return true;
final private boolean jj_3_12() { Token xsp; xsp = jj_scanpos; if (jj_3R_23()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; if (jj_3R_25()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) retu...
if (jj_3R_28()) jj_scanpos = xsp;
if (jj_3R_29()) jj_scanpos = xsp;
final private boolean jj_3_13() { Token xsp; xsp = jj_scanpos; if (jj_3R_28()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_29()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_30()) jj_scanpos = ...
if (jj_3R_29()) return true;
if (jj_3R_30()) return true;
final private boolean jj_3_13() { Token xsp; xsp = jj_scanpos; if (jj_3R_28()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_29()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_30()) jj_scanpos = ...
if (jj_3R_30()) jj_scanpos = xsp;
if (jj_3R_31()) jj_scanpos = xsp;
final private boolean jj_3_13() { Token xsp; xsp = jj_scanpos; if (jj_3R_28()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_29()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_30()) jj_scanpos = ...
if (jj_3R_31()) return true;
if (jj_3R_32()) return true;
final private boolean jj_3_13() { Token xsp; xsp = jj_scanpos; if (jj_3R_28()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_3R_29()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_30()) jj_scanpos = ...
if (jj_3R_32()) jj_scanpos = xsp;
if (jj_3R_33()) jj_scanpos = xsp;
final private boolean jj_3_14() { Token xsp; xsp = jj_scanpos; if (jj_3R_32()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_33()) jj...
if (jj_3R_33()) jj_scanpos = xsp;
if (jj_3R_34()) jj_scanpos = xsp;
final private boolean jj_3_14() { Token xsp; xsp = jj_scanpos; if (jj_3R_32()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_33()) jj...
if (jj_3R_34()) return true;
if (jj_3R_35()) return true;
final private boolean jj_3_14() { Token xsp; xsp = jj_scanpos; if (jj_3R_32()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_33()) jj...
if (jj_3R_35()) jj_scanpos = xsp;
if (jj_3R_36()) jj_scanpos = xsp;
final private boolean jj_3_15() { Token xsp; xsp = jj_scanpos; if (jj_3R_35()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_36()) jj_...
if (jj_3R_36()) jj_scanpos = xsp;
if (jj_3R_37()) jj_scanpos = xsp;
final private boolean jj_3_15() { Token xsp; xsp = jj_scanpos; if (jj_3R_35()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_36()) jj_...
if (jj_3R_37()) return true;
if (jj_3R_38()) return true;
final private boolean jj_3_15() { Token xsp; xsp = jj_scanpos; if (jj_3R_35()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(OP_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_36()) jj_...
if (jj_3R_38()) jj_scanpos = xsp;
if (jj_3R_39()) jj_scanpos = xsp;
final private boolean jj_3_17() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; if (jj_3R_38()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_39()) jj...
if (jj_3R_39()) jj_scanpos = xsp;
if (jj_3R_40()) jj_scanpos = xsp;
final private boolean jj_3_17() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; if (jj_3R_38()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; xsp = jj_scanpos; if (jj_3R_39()) jj...
if (jj_3R_40()) {
if (jj_3R_41()) {
final private boolean jj_3_21() { Token xsp; xsp = jj_scanpos; if (jj_3R_40()) { jj_scanpos = xsp; if (jj_3R_41()) { jj_scanpos = xsp; lookingAhead = true; jj_semLA = lookahead_not_breaking_subd(); lookingAhead = false; if (!jj_semLA || jj_3R_42()) return true; if (jj_la == 0 && jj_sc...
if (jj_3R_41()) {
if (jj_3R_42()) {
final private boolean jj_3_21() { Token xsp; xsp = jj_scanpos; if (jj_3R_40()) { jj_scanpos = xsp; if (jj_3R_41()) { jj_scanpos = xsp; lookingAhead = true; jj_semLA = lookahead_not_breaking_subd(); lookingAhead = false; if (!jj_semLA || jj_3R_42()) return true; if (jj_la == 0 && jj_sc...
if (!jj_semLA || jj_3R_42()) return true;
if (!jj_semLA || jj_3R_43()) return true;
final private boolean jj_3_21() { Token xsp; xsp = jj_scanpos; if (jj_3R_40()) { jj_scanpos = xsp; if (jj_3R_41()) { jj_scanpos = xsp; lookingAhead = true; jj_semLA = lookahead_not_breaking_subd(); lookingAhead = false; if (!jj_semLA || jj_3R_42()) return true; if (jj_la == 0 && jj_sc...
xsp = jj_scanpos; if (jj_3R_18()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
final private boolean jj_3_6() { Token xsp; xsp = jj_scanpos; if (jj_3R_17()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(NEWLINE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; }
HtmlSelectOneMenu localeMenu = WFUtil.getSelectOneMenu(LOCALE_ID, ref + "allLocales", ref + "pendingLocaleId"); localeMenu.setOnchange("document.forms[0].submit();"); p.getChildren().add(localeMenu);
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
HtmlSelectOneMenu mainCategoryMenu = WFUtil.getSelectOneMenu(MAIN_CATEGORY_ID, ref + "categories", ref + "mainCategoryId"); p.getChildren().add(mainCategoryMenu);
private UIComponent getEditContainer() { String ref = ARTICLE_ITEM_BEAN_ID + "."; String bref = WFPage.CONTENT_BUNDLE + "."; WFContainer mainContainer = new WFContainer(); mainContainer.setId(ARTICLE_EDITOR_ID); WFErrorMessages em = new WFErrorMessages(); em.addErrorMessage(HEADLINE_ID); em.addErrorMessage(TE...
ByteArrayOutputStream os = new ByteArrayOutputStream(256);
public Object evaluate(Context context) throws PropertyException { try { ByteArrayOutputStream os = new ByteArrayOutputStream(256); FastWriter fw = FastWriter.getInstance(context.getBroker()); write(fw, context); return fw.toString(); } catch (IOException e) { ...
int firstDollarSign = getName().indexOf('$');
int firstDollarSign = getBaseName().indexOf('$');
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java";
baseName = getBaseName().substring(0, firstDollarSign) + ".java";
public String getSourceFileName() { String baseName; if (sourceFileName != null) baseName = sourceFileName; else { int firstDollarSign = getName().indexOf('$'); if (firstDollarSign == -1) baseName = getBaseName() + ".java"; else baseName = getBaseName().substring(0, firstDollarSign - 1) + ".java"; } ...
throw new IllegalStateException("Could not find valid implementation for: " + version, e);
throw (IllegalStateException) new IllegalStateException("Could not find valid implementation for: " + version).initCause(e);
public static XmlBeanDefinitionReader createBeanDefinitionReader( SpringApplicationContext applicationContext, BeanDefinitionRegistry registry, List xmlPreprocessors) { String version = SpringVersion.getVersion(); String className = "org.apache....
values.add(getLocaleIdAsString());
values.add(getLanguage());
public Object[] getValues() {// "Headline", "Published", "Author", "Status" List values = new ArrayList(); values.add(getHeadline()); values.add(getAuthor()); values.add(getSource()); values.add(getCreationDate()); values.add(getLocaleIdAsString()); values.add(getStatus()); return values.toArray(new Object[...
super(displayedDocument);
this.dd = displayedDocument;
public MainMenuController(DisplayedDocument displayedDocument) { super(displayedDocument); }
Copyright.print(System.out);
Header.print(System.out);
public static void main(String[] args) { Copyright.print(System.out); System.out.println("Cobertura instrumentation merge tool"); boolean hasCommandsFile = false; String commandsFileName = null; for (int i = 0; i < args.length; i++) { if (args[i].equals("-commandsfile")) { hasCommandsFile = true; comma...
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir)
public HTMLReport(ProjectData projectData, File outputDir, FileFinder finder)
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
this.sourceDir = sourceDir;
this.finder = finder;
public HTMLReport(ProjectData projectData, File outputDir, File sourceDir) throws Exception { this.destinationDir = outputDir; this.sourceDir = sourceDir; this.projectData = projectData; CopyFiles.copy(outputDir); generatePackageList(); generateSourceFileLists(); generateOverviews(); generateSourceFiles(); }
File sourceFile = new File(sourceDir, sourceFileData .getName());
File sourceFile = finder.findFile(sourceFileData.getName());
private void generateSourceFile(SourceFileData sourceFileData) throws IOException { if (!sourceFileData.containsInstrumentationInfo()) { logger.info("Data file does not contain instrumentation " + "information for the file " + sourceFileData.getName() + ". Ensure this class was instrumented, and this " ...
double ccn = Util.getCCN(new File(sourceDir, packageData .getSourceFileName()), false);
double ccn = 0;
private String generateTableRowForPackage(PackageData packageData) { StringBuffer ret = new StringBuffer(); String url1 = "frame-summary-" + packageData.getName() + ".html"; String url2 = "frame-sourcefiles-" + packageData.getName() + ".html"; double lineCoverage = -1; double branchCoverage = -1; double ccn = Ut...
double ccn = Util.getCCN( new File(sourceDir, sourceFileData.getName()), false);
File file = finder.findFile(sourceFileData.getName()); if (file == null) { System.out.println("FILE IS NULL: " + sourceFileData.getName()); } double ccn = Util.getCCN(file, false);
private String generateTableRowForSourceFile(SourceFileData sourceFileData) { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN( new File(sourceDir, sourceFileData.getName()), false); if (sourceFileData.getNumberOfValidLines() > 0) lineCover...
double ccn = Util.getCCN(sourceDir, true);
double ccnSum = 0; int count = 0; for (Iterator it = finder.getBaseDirectories().iterator(); it.hasNext(); ) { File basedir = (File) it.next(); ccnSum += Util.getCCN(basedir.getAbsoluteFile(), true); count++; } double ccn = ccnSum / (double) count;
private String generateTableRowForTotal() { StringBuffer ret = new StringBuffer(); double lineCoverage = -1; double branchCoverage = -1; double ccn = Util.getCCN(sourceDir, true); if (projectData.getNumberOfValidLines() > 0) lineCoverage = projectData.getLineCoverageRate(); if (projectData.getNumberOfValidBran...
System.setProperty("osgi.framework", URLDecoder.decode(EclipseAdaptor.class.getProtectionDomain().getCodeSource().getLocation().toExternalForm(), "UTF-8"));
protected void setUp() throws Exception { super.setUp(); System.setProperty("osgi.clean", "true"); File osgiDir = new File(basedir, "target/osgi"); osgiDir.mkdirs(); System.setProperty("osgi.configuration.area", osgiDir.getAbsolutePath()); System.setProperty("osgi.install.a...
/*EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; XMPPConnection.DEBUG_ENABLED = true;
/* * EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; * EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; * XMPPConnection.DEBUG_ENABLED = true;
public static void main(final String[] args) { /*EnhancedDebuggerWindow.PERSISTED_DEBUGGER = true; EnhancedDebuggerWindow.MAX_TABLE_ROWS = 10; XMPPConnection.DEBUG_ENABLED = true; */ String current = System.getProperty("java.library.path"); String classPath = System.getProp...
SparkManager.getMessageEventManager().removeMessageEventRequestListener(messageEventRequestListener);
public void closeChatRoom() { super.closeChatRoom(); SparkManager.getChatManager().removeChat(this); SparkManager.getConnection().removePacketListener(this); }
if (e instanceof PropertyException) throw e;
if (e instanceof PropertyException) throw (PropertyException)e;
public void write(org.webmacro.FastWriter out, org.webmacro.Context context) throws org.webmacro.PropertyException, java.io.IOException { try { String s = null; Context c = null; Macro macro = (Macro)_evalTarget.getValue(context); if (_mapExpr...
_log.warning (error,e); try { Template errorTemplate = error (c, "WebMacro encountered an error while executing a template:\n" + ((tmpl != null) ? (tmpl + ": ") : ("The template failed to load; double check the " + "TemplatePath in your webmacro.properties file.")) + "\n<pre>" + e + "</pre>\n"); fw.reset (fw.getOutpu...
_log.error (error,e); try { Template errorTemplate = error (c, "WebMacro encountered an error while executing a template:\n" + ((tmpl != null) ? (tmpl + ": ") : ("The template failed to load; double check the " + "TemplatePath in your webmacro.properties file.")) + "\n<pre>" + e + "</pre>\n"); if (fw == null) fw = F...
final protected void execute (Template tmpl, WebContext c) { FastWriter fw = null; boolean timing = Flags.PROFILE && c.isTiming (); try { if (timing) c.startTiming ("Template.write", tmpl); try { HttpServletResponse resp= c.getResponse (); ...
ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { closeTab(cRoom); } } }
ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { closeTab(chatRoom);
public void actionPerformed(ActionEvent e) { ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { ...
}
public void actionPerformed(ActionEvent e) { ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { ...
for (ChatRoom rooms : getStaleChatRooms()) { closeTab(rooms);
ChatRoom chatRoom = (ChatRoom)getComponentInTab(tab); if (chatRoom != null) { for (ChatRoom cRoom : getChatRooms()) { if (chatRoom != cRoom) { closeTab(cRoom); } }
public void actionPerformed(ActionEvent e) { for (ChatRoom rooms : getStaleChatRooms()) { closeTab(rooms); } }
ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame.ICONIFIED || chatFrame.getInactiveTime() > 20000)) { int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocati...
SwingUtilities.invokeLater(new Runnable() { public void run() { handleMessageNotification(chatRoom);
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame...
chatFrame.setVisible(true); int tabLocation = indexOfComponent(chatRoom); setSelectedIndex(tabLocation); if (!SparkManager.getMainWindow().isVisible()) { startFlashing(chatRoom); } else if (chatFrame.getState() == Frame.ICONIFIED) { startFlashing(chatRoom); } } else if (chatRoom != activeChatRoom) { startFlashing...
});
public void fireNotifyOnMessage(final ChatRoom chatRoom) { ChatRoom activeChatRoom = null; try { activeChatRoom = getActiveChatRoom(); } catch (ChatRoomNotFoundException e1) { Log.error(e1); } if (chatFrame.isVisible() && (chatFrame.getState() == Frame...
final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasJoined(room, userid); }
handleMessageNotification(chatRoom);
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasJoined(room, userid); } }
((ChatRoomListener)iter.next()).userHasLeft(room, userid);
((ChatRoomListener)iter.next()).userHasJoined(room, userid);
public void run() { final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasLeft(room, userid); } }
final int index = indexOfComponent(room); if (index != -1) { room.increaseUnreadMessageCount(); int unreadMessageCount = room.getUnreadMessageCount(); String appendedMessage = ""; if (unreadMessageCount > 1) { appendedMessage = " (" + unreadMessageCount + ")"; } SparkTab tab = getTabAt(index); tab.getTitleLabel().setT...
public void run() { try { boolean invokeFlash = SettingsManager.getLocalPreferences().isChatRoomNotificationsOn() || !(room instanceof GroupChatRoom); if (!chatFrame.isFocused() && invokeFlash) { SparkManager.getAlertManager().flash...
try { final int index = indexOfComponent(room); if (index != -1) { room.increaseUnreadMessageCount(); int unreadMessageCount = room.getUnreadMessageCount(); String appendedMessage = ""; if (unreadMessageCount > 1) { appendedMessage = " (" + unreadMessageCount + ")"; } SparkTab tab = getTabAt(index); tab.getTitleLabel(...
final Iterator iter = new HashSet(chatRoomListeners).iterator(); while (iter.hasNext()) { ((ChatRoomListener)iter.next()).userHasLeft(room, userid);
public void run() { try { final int index = indexOfComponent(room); if (index != -1) { room.increaseUnreadMessageCount(); int unreadMessageCount = room.getUnreadMessageCount(); String ap...
int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); room.clearUnreadMessageCount();
boolean invokeFlash = SettingsManager.getLocalPreferences().isChatRoomNotificationsOn() || !(room instanceof GroupChatRoom); if (!chatFrame.isFocused() && invokeFlash) { SparkManager.getAlertManager().flashWindow(chatFrame);
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); ...
Log.error("Could not stop flashing for " + room + " because " + ex.getMessage(), ex);
Log.error("Issue in ChatRooms with tab location.", ex);
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); ...
SparkManager.getAlertManager().stopFlashing(chatFrame);
public void run() { try { int index = indexOfComponent(room); if (index != -1) { SparkTab tab = getTabAt(index); useTabDefault(room); tab.getTitleLabel().setText(room.getTabTitle()); ...
private void dumpClasses(PackageData packageData)
private void dumpClasses(SourceFileData sourceFileData)
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator();
Iterator it = sourceFileData.getChildren().iterator();
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
decreaseIndentation(); println("</classes>");
private void dumpClasses(PackageData packageData) { println("<classes>"); increaseIndentation(); Iterator it = packageData.getChildren().iterator(); while (it.hasNext()) { dumpClass((ClassData)it.next()); } decreaseIndentation(); println("</classes>"); }
dumpClasses(packageData);
dumpSourceFiles(packageData);
private void dumpPackage(PackageData packageData) { logger.debug("Dumping package " + packageData.getName()); double ccn = Util.getCCN(new File(sourceDirectory, packageData .getSourceFileName()), false); println("<package name=\"" + packageData.getName() + "\" line-rate=\"" + packageData.getLineCoverageRate()...
WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "sv"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", "headline"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setBody", id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setAuthor", "author"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "set...
ArticleItemBean articleItem = new ArticleItemBean(); try { articleItem.load(id); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "clear"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setLocaleId", "en"); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setHeadline", notNull(articleItem.getHeadline())); WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setTeas...
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb =...
WFUtil.invoke(ARTICLE_ITEM_BEAN_ID, "setMainCategoryId", new Integer(3));
catch (XmlException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); }
public void processAction(ActionEvent event) { UIComponent link = event.getComponent(); ArticleBlock ab = null; String id = WFUtil.getParameter(link, "id"); UIComponent component = link.getParent().getParent().getParent().findComponent(MAIN_TASKBAR_ID); if(component instanceof WFTabbedPane){ WFTabbedPane tb =...
return super.resolveEntity(publicId, systemId);
InputSource source = null; try { super.resolveEntity(publicId, systemId); } catch (Exception exception) { throw new SAXException(exception); } return source;
public InputSource resolveEntity(String publicId, String systemId) throws SAXException { // If the requested entity is our cobertura DTD, then use the local // version instead of the remote version try { if (systemId.equals(coverageDTD)) return new InputSource(new FileInputStream(localDTD)); } catch (File...
TransportManager.unregister(con, item.getTransport().getServiceName());
TransportUtils.unregister(con, item.getTransport().getServiceName());
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.regi...
for (Transport transport : TransportManager.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportManager.isRegistered(con, transport), transport.getServiceName());
for (Transport transport : TransportUtils.getTransports()) { final TransportItem transportItem = new TransportItem(transport, TransportUtils.isRegistered(con, transport), transport.getServiceName());
public Transports(final XMPPConnection con) { setLayout(new GridBagLayout()); list = new JList(model); // Use JPanel Renderer list.setCellRenderer(new JPanelRenderer()); TitlePanel titlePanel = new TitlePanel(Res.getString("title.available.transports"), Res.getString("message.regi...
TransportManager.unregister(con, item.getTransport().getServiceName());
TransportUtils.unregister(con, item.getTransport().getServiceName());
public void mouseClicked(MouseEvent e) { if (e.getClickCount() == 2) { TransportItem item = (TransportItem)list.getSelectedValue(); Presence presence = con.getRoster().getPresence(item.getTransport().getServiceName()); boolean registere...
this(fileSettings(WEBMACRO_PROPERTIES,null), WEBMACRO_PROPERTIES, null);
this(fileSettings(WEBMACRO_PROPERTIES), WEBMACRO_PROPERTIES);
public Broker() throws InitException { this(fileSettings(WEBMACRO_PROPERTIES,null), WEBMACRO_PROPERTIES, null); }
static private Settings fileSettings(String name, ClassLoader cl) throws InitException
static private Settings fileSettings(String name) throws InitException
static private Settings fileSettings(String name, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
Settings s = initSettings(cl); s.load(name,cl);
Settings s = initSettings(); s.load(name);
static private Settings fileSettings(String name, ClassLoader cl) throws InitException { try { Settings s = initSettings(cl); s.load(name,cl); return s; } catch (IOException e) { throw new InitException("Error reading from " + name, e); } }
static private Settings initSettings(ClassLoader cl) throws InitException
static private Settings initSettings() throws InitException
static private Settings initSettings(ClassLoader cl) throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS,cl); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Set...
defaults.load(WEBMACRO_DEFAULTS,cl);
defaults.load(WEBMACRO_DEFAULTS);
static private Settings initSettings(ClassLoader cl) throws InitException { Settings defaults = new Settings(); try { defaults.load(WEBMACRO_DEFAULTS,cl); } catch (java.io.IOException e) { throw new InitException("IO Error reading " + WEBMACRO_DEFAULTS, e); } return new Set...