rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
list
attention_mask
list
labels
list
this.afterUrl = afterUrlStr;
public void setStyle( Style style ) { //#debug System.out.println("setting style - with background: " + (style.background != null)); this.isInitialised = false; this.isStyleInitialised = true; this.style = style; if (style != StyleSheet.defaultStyle) { this.layout = style.layout; } // horizontal styles: center -> right -> left if ( ( this.layout & LAYOUT_CENTER ) == LAYOUT_CENTER ) { this.isLayoutCenter = true; this.isLayoutRight = false; } else { this.isLayoutCenter = false; if ( ( this.layout & LAYOUT_RIGHT ) == LAYOUT_RIGHT ) { this.isLayoutRight = true; } else { this.isLayoutRight = false; } } //System.out.println(" style [" + style.name + "]: right: " + this.isLayoutRight + " center: " + this.isLayoutCenter); // vertical styles: vcenter -> bottom -> top // expanding layouts: if ( ( this.layout & LAYOUT_EXPAND ) == LAYOUT_EXPAND ) { this.isLayoutExpand = true; } else { this.isLayoutExpand = false; } this.background = style.background; this.border = style.border; if (this.border != null) { this.borderWidth = this.border.borderWidth; } else if (this.background != null){ this.borderWidth = this.background.borderWidth; } else { this.borderWidth = 0; } this.paddingLeft = style.paddingLeft; this.paddingRight = style.paddingRight; this.paddingTop = style.paddingTop; this.paddingBottom = style.paddingBottom; this.paddingVertical = style.paddingVertical; this.paddingHorizontal = style.paddingHorizontal; this.marginLeft = style.marginLeft; this.marginRight = style.marginRight; this.marginTop = style.marginTop; this.marginBottom = style.marginBottom; //#ifdef polish.css.before String beforeUrlStr = style.getProperty("before"); this.beforeUrl = beforeUrlStr; if (beforeUrlStr != null) { if ( !beforeUrlStr.equals(this.beforeUrl) ) { try { this.beforeImage = StyleSheet.getImage(beforeUrlStr, null, true ); this.beforeWidth = this.beforeImage.getWidth() + this.paddingHorizontal; this.beforeHeight = this.beforeImage.getHeight(); } catch (IOException e) { this.beforeUrl = null; this.beforeImage = null; this.beforeWidth = 0; this.beforeHeight = 0; } } } else { this.beforeImage = null; this.beforeWidth = 0; this.beforeHeight = 0; } //#endif //#ifdef polish.css.after String afterUrlStr = style.getProperty("after"); this.afterUrl = afterUrlStr; if (afterUrlStr != null) { if ( !afterUrlStr.equals(this.afterUrl) ) { try { this.afterImage = StyleSheet.getImage(afterUrlStr, null, true ); this.afterWidth = this.afterImage.getWidth() + this.paddingHorizontal; this.afterHeight = this.afterImage.getHeight(); } catch (IOException e) { this.afterUrl = null; this.afterWidth = 0; this.afterHeight = 0; this.afterImage = null; } } } else { this.afterWidth = 0; this.afterHeight = 0; this.afterImage = null; } //#endif //#ifdef polish.css.label-style Style labStyle = (Style) style.getObjectProperty("label-style"); if (labStyle != null) { this.labelStyle = labStyle; } else if (this.labelStyle == null || this.isFocused) { this.labelStyle = StyleSheet.labelStyle; } //#else this.labelStyle = StyleSheet.labelStyle; //#endif if (this.label != null) { this.label.setStyle( this.labelStyle ); } //#ifdef polish.css.min-width Integer minWidthInt = style.getIntProperty("min-width"); if (minWidthInt != null) { this.minimumWidth = minWidthInt.intValue(); } //#endif //#ifdef polish.css.max-width Integer maxWidthInt = style.getIntProperty("max-width"); if (maxWidthInt != null) { this.maximumWidth = maxWidthInt.intValue(); } //#endif //#ifdef polish.css.min-height Integer minHeightInt = style.getIntProperty("min-height"); if (minHeightInt != null) { this.minimumHeight = minHeightInt.intValue(); } //#endif //#ifdef polish.css.max-height Integer maxHeightInt = style.getIntProperty("max-height"); if (maxHeightInt != null) { this.maximumHeight = maxHeightInt.intValue(); } //#endif //#ifdef polish.css.focused-style //Object object = style.getObjectProperty("focused-style"); //if (object != null) { // System.out.println("focused-type: " + object.getClass().getName()); //} Style focused = (Style) style.getObjectProperty("focused-style"); if (focused != null) { this.focusedStyle = focused;// if (this instanceof ChoiceGroup) {// System.out.println("Setting focused style for choicegroup!");// } } //#endif //#if polish.css.colspan Integer colSpanInt = style.getIntProperty("colspan"); if ( colSpanInt != null ) { this.colSpan = colSpanInt.intValue(); } //#endif //#if polish.css.include-label Boolean includeLabelBool = style.getBooleanProperty("include-label"); if (includeLabelBool != null) { this.includeLabel = includeLabelBool.booleanValue(); } //#endif }
9804 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9804/f4bc8050de1bb4437f3005c6eb45bcc697e8242b/Item.java/clean/j2me/source/src/de/enough/polish/ui/Item.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18995, 12, 9767, 2154, 262, 288, 202, 202, 759, 7, 4148, 202, 202, 3163, 18, 659, 18, 8222, 2932, 8920, 2154, 300, 598, 5412, 30, 315, 397, 261, 4060, 18, 9342, 480, 446, 10019, 202, 202, 2211, 18, 291, 4435, 5918, 273, 629, 31, 202, 202, 2211, 18, 291, 2885, 4435, 5918, 273, 638, 31, 202, 202, 2211, 18, 4060, 273, 2154, 31, 202, 202, 430, 261, 4060, 480, 9767, 8229, 18, 1886, 2885, 13, 288, 1082, 202, 2211, 18, 6741, 273, 2154, 18, 6741, 31, 202, 202, 97, 202, 202, 759, 10300, 5687, 30, 4617, 317, 2145, 317, 2002, 202, 202, 430, 261, 261, 333, 18, 6741, 473, 25239, 5069, 67, 19835, 262, 422, 25239, 5069, 67, 19835, 262, 288, 1082, 202, 2211, 18, 291, 3744, 8449, 273, 638, 31, 1082, 202, 2211, 18, 291, 3744, 4726, 273, 629, 31, 202, 202, 97, 469, 288, 1082, 202, 2211, 18, 291, 3744, 8449, 273, 629, 31, 1082, 202, 430, 261, 261, 333, 18, 6741, 473, 25239, 5069, 67, 11847, 262, 422, 25239, 5069, 67, 11847, 262, 288, 9506, 202, 2211, 18, 291, 3744, 4726, 273, 638, 31, 1082, 202, 97, 469, 288, 9506, 202, 2211, 18, 291, 3744, 4726, 273, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 3163, 18, 659, 18, 8222, 2932, 2154, 8247, 397, 2154, 18, 529, 397, 9850, 30, 2145, 30, 315, 397, 333, 18, 291, 3744, 4726, 397, 315, 4617, 30, 315, 397, 333, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 18995, 12, 9767, 2154, 262, 288, 202, 202, 759, 7, 4148, 202, 202, 3163, 18, 659, 18, 8222, 2932, 8920, 2154, 300, 598, 5412, 30, 315, 397, 261, 4060, 18, 9342, 480, 446, 10019, 202, 202, 2211, 18, 291, 4435, 5918, 273, 629, 31, 202, 202, 2211, 18, 291, 2885, 4435, 5918, 273, 638, 31, 202, 202, 2211, 18, 4060, 273, 2154, 31, 202, 202, 430, 261, 4060, 480, 9767, 8229, 18, 1886, 2885, 13, 288, 1082, 202, 2211, 18, 6741, 273, 2154, 18, 6741, 31, 202, 202, 97, 202, 202, 759, 10300, 5687, 30, 4617, 317, 2145, 317, 2002, 202, 202, 430, 261, 261, 333, 18, 6741, 473, 25239, 5069, 67, 19835, 262, 422, 2 ]
nextSar = maxOf(cref0.hi, cref1.hi, sar + currentacc*(sip - sar));
public boolean SARd(double af, double max, Vector candles, int skipdays) { double value = 0.0; double hi; double low; hi = low = 0; // find the first boolean uptrend = true; // check first trend Candle cref0 = (Candle) candles.elementAt(candles.size() - 1 - skipdays); Candle cref1 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - 1); if (cref1.close > cref0.close) { uptrend = true; } else { uptrend = false; } // find first extreme point. boolean extremefound = false; int index = 0; while (!extremefound) { cref0 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - index); cref1 = (Candle) candles.elementAt(candles.size() - 1 - skipdays - index - 1); if (uptrend) { if (cref1.close > cref0.close) { } else { extremefound = true; break; } } else { if (cref1.close < cref0.close) { } else { extremefound = true; break; } } index++; } if (cref1.close > cref0.close) { uptrend = true; } else { uptrend = false; } double currentstop = 0.0; double previousstop = 0.0; double extreme = 0.0; double currentacc = af; double sar = 0, nextSar = 0, sip, nextSip; // set initial values if (uptrend) { extreme = cref0.close; } else { extreme = cref1.close; } sip = cref0.hi; nextSar = cref0.low; // according to tradesignal implementation. // System.out.println("."); int startcandle = candles.size()-2; for ( int i = startcandle; i>=skipdays;i--){ cref0 = (Candle)candles.elementAt(i); cref1 = (Candle)candles.elementAt(i+1); sar = nextSar; nextSip = sip; if(uptrend){ if ( cref0.low < sar ) { uptrend = false; sip = cref0.low; currentacc = af; nextSar = maxOf(cref0.hi, cref1.hi, (nextSip + currentacc*(sip-nextSip))); } else { uptrend = true; if ( cref0.hi > nextSip ) { sip = cref0.hi; currentacc = minOf( currentacc + af, max); } nextSar = minOf( cref0.low, cref1.low, sar + currentacc*(sip-sar)); } } else{ if ( cref0.hi > sar ) { uptrend = true; sip = cref0.hi; currentacc = af; nextSar = minOf( cref0.low, cref1.low, nextSip + currentacc * (sip - nextSip )); } else{ sip = cref0.low; currentacc = minOf( currentacc + af, max); } nextSar = maxOf(cref0.hi, cref1.hi, sar + currentacc*(sip - sar)); } } // "Break - trend is at the start is in an up:" + uptrend); return uptrend; }
9106 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9106/9b9f281e143907f0f3a9b759f0dfa706ba189369/FinancialLibrary.java/buggy/CCAPI/src/CCAPI/FinancialLibrary.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 348, 985, 72, 12, 9056, 10073, 16, 1645, 943, 16, 5589, 15350, 1040, 16, 509, 2488, 9810, 13, 288, 3639, 1645, 460, 273, 374, 18, 20, 31, 3639, 1645, 10118, 31, 3639, 1645, 4587, 31, 3639, 10118, 273, 4587, 273, 374, 31, 3639, 368, 1104, 326, 1122, 3639, 1250, 582, 337, 20262, 273, 638, 31, 3639, 368, 866, 1122, 268, 20262, 3639, 385, 464, 298, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 1769, 3639, 385, 464, 298, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 300, 404, 1769, 3639, 309, 261, 71, 1734, 21, 18, 4412, 405, 1519, 74, 20, 18, 4412, 13, 288, 5411, 582, 337, 20262, 273, 638, 31, 3639, 289, 469, 288, 5411, 582, 337, 20262, 273, 629, 31, 3639, 289, 3639, 368, 1104, 1122, 23755, 73, 1634, 18, 3639, 1250, 23755, 73, 7015, 273, 629, 31, 3639, 509, 770, 273, 374, 31, 3639, 1323, 16051, 408, 2764, 73, 7015, 13, 288, 5411, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 2488, 9810, 300, 10792, 770, 1769, 5411, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1250, 348, 985, 72, 12, 9056, 10073, 16, 1645, 943, 16, 5589, 15350, 1040, 16, 509, 2488, 9810, 13, 288, 3639, 1645, 460, 273, 374, 18, 20, 31, 3639, 1645, 10118, 31, 3639, 1645, 4587, 31, 3639, 10118, 273, 4587, 273, 374, 31, 3639, 368, 1104, 326, 1122, 3639, 1250, 582, 337, 20262, 273, 638, 31, 3639, 368, 866, 1122, 268, 20262, 3639, 385, 464, 298, 1519, 74, 20, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 1467, 1435, 300, 404, 300, 7734, 2488, 9810, 1769, 3639, 385, 464, 298, 1519, 74, 21, 273, 261, 39, 464, 298, 13, 15350, 1040, 18, 2956, 861, 12, 71, 464, 1040, 18, 2 ]
case 208: { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: { CUP$result = new TypeSpec(/*op_type_spec*/43);
case 210: { CUP$result = new VoidTypeSpec(/*void_type_spec*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: { CUP$result = new TypeSpec(/*op_type_spec*/42);
public final java_cup.runtime.symbol CUP$do_action( int CUP$act_num, java_cup.runtime.lr_parser CUP$parser, java.util.Stack CUP$stack, int CUP$top) throws java.lang.Exception { /* object for return from actions */ java_cup.runtime.symbol CUP$result; /* select the action based on the action number */ switch (CUP$act_num) { /*. . . . . . . . . . . . . . . . . . . .*/ case 226: // empty ::= { CUP$result = new java_cup.runtime.symbol(/*empty*/4); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 225: // param_type_spec ::= scopename { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 224: // param_type_spec ::= string_type { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 223: // param_type_spec ::= base_type_spec { CUP$result = new TypeSpec(/*param_type_spec*/44); ((TypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 222: // string_literal_list ::= string_literal COMMA string_literal_list { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 221: // string_literal_list ::= string_literal { CUP$result = new java_cup.runtime.symbol(/*string_literal_list*/3); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 220: // context_expr ::= empty { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 219: // context_expr ::= CONTEXT LPAREN string_literal_list RPAREN { CUP$result = new java_cup.runtime.symbol(/*context_expr*/2); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 218: // raises_expr ::= empty { CUP$result = new RaisesExpr(/*raises_expr*/84); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 217: // raises_expr ::= RAISES LPAREN scopename_list RPAREN { CUP$result = new RaisesExpr(/*raises_expr*/84); ((RaisesExpr)CUP$result).nameList = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 216: // param_attribute ::= INOUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_INOUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 215: // param_attribute ::= OUT { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_OUT; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 214: // param_attribute ::= IN { CUP$result = new java_cup.runtime.int_token(/*param_attribute*/6); ((java_cup.runtime.int_token)CUP$result).int_val = ParamDecl.MODE_IN; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 213: // param_dcl ::= param_attribute param_type_spec simple_declarator { CUP$result = new ParamDecl(/*param_dcl*/83); ((ParamDecl)CUP$result).paramAttribute = (/*pa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-2)).int_val; ((ParamDecl)CUP$result).paramTypeSpec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 212: // param_dcls ::= param_dcl { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 211: // param_dcls ::= param_dcl COMMA param_dcls { CUP$result = new SymbolList(/*param_dcls*/89); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*pd*/(ParamDecl)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 210: // parameter_dcls ::= LPAREN RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 209: // parameter_dcls ::= LPAREN param_dcls RPAREN { CUP$result = new SymbolList(/*parameter_dcls*/91); ((SymbolList)CUP$result).v = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 208: // void_type_spec ::= VOID { CUP$result = new VoidTypeSpec(/*void_type_spec*/71); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 207: // op_type_spec ::= void_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(VoidTypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 206: // op_type_spec ::= param_type_spec { CUP$result = new TypeSpec(/*op_type_spec*/43); ((TypeSpec)CUP$result).type_spec = (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 205: // op_attribute ::= empty { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.NO_ATTRIBUTE; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 204: // op_attribute ::= ONEWAY { CUP$result = new java_cup.runtime.int_token(/*op_attribute*/5); ((java_cup.runtime.int_token)CUP$result).int_val = OpDecl.ONEWAY; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 203: // op_dcl ::= op_attribute op_type_spec ID parameter_dcls raises_expr context_expr { CUP$result = new OpDecl(/*op_dcl*/85); ((OpDecl)CUP$result).opAttribute = (/*oa*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-5)).int_val; ((OpDecl)CUP$result).opTypeSpec = (/*ots*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)); ((OpDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((OpDecl)CUP$result).paramDecls = (Vector)(/*pds*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((OpDecl)CUP$result).raisesExpr = (/*re*/(RaisesExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 202: // except_dcl ::= EXCEPTION ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 201: // except_dcl ::= EXCEPTION ID LCBRACE RCBRACE { CUP$result = new StructType(/*except_dcl*/52); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((StructType)CUP$result).exc = true; ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 200: // simple_declarator_list ::= simple_declarator COMMA simple_declarator_list { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v = (Vector)(/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 199: // simple_declarator_list ::= simple_declarator { CUP$result = new SymbolList(/*simple_declarator_list*/93); ((SymbolList)CUP$result).v.insertElementAt((/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 198: // attr_dcl ::= ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = false; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 197: // attr_dcl ::= READONLY ATTRIBUTE param_type_spec simple_declarator_list { CUP$result = new AttrDecl(/*attr_dcl*/86); ((AttrDecl)CUP$result).readOnly = true; ((AttrDecl)CUP$result).param_type_spec = (/*pts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((AttrDecl)CUP$result).declarators = (/*sdl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 196: // fixed_array_size ::= LSBRACE positive_int_const RSBRACE { CUP$result = new FixedArraySize(/*fixed_array_size*/82); ((FixedArraySize)CUP$result).pos_int_const = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 195: // fixed_array_size_list ::= fixed_array_size fixed_array_size_list { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v = (Vector)(/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 194: // fixed_array_size_list ::= fixed_array_size { CUP$result = new SymbolList(/*fixed_array_size_list*/97); ((SymbolList)CUP$result).v.insertElementAt((/*fas*/(FixedArraySize)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 193: // array_declarator ::= ID fixed_array_size_list { CUP$result = new ArrayDeclarator(/*array_declarator*/81); ((ArrayDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1))); ((ArrayDeclarator)CUP$result).fixed_array_size_list = (/*fasl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 192: // fixed_point_type ::= FIXED LESSTHAN positive_int_const COMMA positive_int_const GREATERTHAN { CUP$result = new FixedPointType(/*fixed_point_type*/74); ((FixedPointType)CUP$result).digit_expr = (/*digits*/(PosIntConst)CUP$stack.elementAt(CUP$top-3)).const_expr; ((FixedPointType)CUP$result).scale_expr = (/*scale*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 191: // string_type ::= WSTRING { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 190: // string_type ::= STRING { CUP$result = new StringType(/*string_type*/72); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 189: // string_type ::= WSTRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((StringType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 188: // string_type ::= STRING LESSTHAN positive_int_const GREATERTHAN { CUP$result = new StringType(/*string_type*/72); ((StringType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 187: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 186: // sequence_type ::= SEQUENCE LESSTHAN simple_type_spec COMMA positive_int_const GREATERTHAN { CUP$result = new SequenceType(/*sequence_type*/73); ((SequenceType)CUP$result).max = (/*pic*/(PosIntConst)CUP$stack.elementAt(CUP$top-1)).const_expr; ((SequenceType)CUP$result).setTypeSpec( (/*sts*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-3)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 185: // native_type ::= NATIVE simple_declarator { CUP$result = new NativeType(/*native_type*/54); ((NativeType)CUP$result).declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 184: // enumerator_list ::= ID COMMA enumerator_list { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v = (Vector)(/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 183: // enumerator_list ::= ID { CUP$result = new SymbolList(/*enumerator_list*/96); ((SymbolList)CUP$result).v.insertElementAt((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val,0); ((SymbolList)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 182: // enum_type ::= ENUM ID LCBRACE enumerator_list RCBRACE { CUP$result = new EnumType(/*enum_type*/50); ((EnumType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((EnumType)CUP$result).enumlist = (/*el*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); ((EnumType)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 181: // element_spec ::= type_spec declarator { CUP$result = new ElementSpec(/*element_spec*/57); ((ElementSpec)CUP$result).t.type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((ElementSpec)CUP$result).d = (/*dc*/(Declarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 180: // case_label_list ::= DEFAULT COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement(null); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 179: // case_label_list ::= CASE const_expr COLON case_label_list { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v = (Vector)(/*cll*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-2))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 178: // case_label_list ::= DEFAULT COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement( null ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 177: // case_label_list ::= CASE const_expr COLON { CUP$result = new SymbolList(/*case_label_list*/88); ((SymbolList)CUP$result).v.addElement((/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 176: // case ::= case_label_list element_spec SEMI { CUP$result = new Case(/*case*/56); ((Case)CUP$result).element_spec = (/*es*/(ElementSpec)CUP$stack.elementAt(CUP$top-1)); ((Case)CUP$result).case_label_list = (/*c*/(SymbolList)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 175: // switch_body ::= case switch_body { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector = (Vector)(/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-0)).caseListVector.clone(); ((SwitchBody)CUP$result).caseListVector.addElement( (/*c*/(Case)CUP$stack.elementAt(CUP$top-1)) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 174: // switch_body ::= case { CUP$result = new SwitchBody(/*switch_body*/55); ((SwitchBody)CUP$result).caseListVector.addElement((/*c*/(Case)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 173: // switch_type_spec ::= scopename { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 172: // switch_type_spec ::= enum_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).set_constr((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 171: // switch_type_spec ::= bool_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*b*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 170: // switch_type_spec ::= char_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*c*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 169: // switch_type_spec ::= int_type { CUP$result = new TypeSpec(/*switch_type_spec*/45); ((TypeSpec)CUP$result).type_spec = (/*i*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 168: // union_type ::= UNION ID { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 167: // union_type ::= UNION ID SWITCH LPAREN switch_type_spec RPAREN LCBRACE switch_body RCBRACE { CUP$result = new UnionType(/*union_type*/53); ((UnionType)CUP$result).setSwitchType( (/*s*/(TypeSpec)CUP$stack.elementAt(CUP$top-4)) ); ((UnionType)CUP$result).setSwitchBody( (/*sb*/(SwitchBody)CUP$stack.elementAt(CUP$top-1)) ); ((UnionType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-7))); ((UnionType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((UnionType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 166: // member ::= type_spec declarators SEMI { CUP$result = new Member(/*member*/78); ((Member)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((Member)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 165: // member_list ::= member member_list { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v = (Vector)(/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 164: // member_list ::= member { CUP$result = new MemberList(/*member_list*/87); ((MemberList)CUP$result).v.insertElementAt((/*m*/(Member)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 163: // struct_type ::= STRUCT ID { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 162: // struct_type ::= STRUCT ID LCBRACE member_list RCBRACE { CUP$result = new StructType(/*struct_type*/51); ((StructType)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((StructType)CUP$result).exc = false; ((StructType)CUP$result).set_memberlist( (/*ml*/(MemberList)CUP$stack.elementAt(CUP$top-1)) ); ((StructType)CUP$result).set_included( parser.include_state ); parser.closeScope( (Scope)((StructType)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 161: // any_type ::= ANY { CUP$result = new AnyType(/*any_type*/70); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 160: // octet_type ::= OCTET { CUP$result = new OctetType(/*octet_type*/69); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 159: // bool_type ::= BOOLEAN { CUP$result = new BooleanType(/*bool_type*/68); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 158: // char_type ::= WCHAR { CUP$result = new CharType(/*char_type*/67); ((CharType)CUP$result).setWide(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 157: // char_type ::= CHAR { CUP$result = new CharType(/*char_type*/67); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 156: // long_long_type ::= LONG LONG { CUP$result = new LongLongType(/*long_long_type*/66); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 155: // long_type ::= LONG { CUP$result = new LongType(/*long_type*/65); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 154: // short_type ::= SHORT { CUP$result = new ShortType(/*short_type*/64); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 153: // int_type ::= UNSIGNED short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 152: // int_type ::= short_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*s*/(ShortType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 151: // int_type ::= UNSIGNED long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 150: // int_type ::= UNSIGNED long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); ((IntType)CUP$result).setUnsigned(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 149: // int_type ::= long_long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*ll*/(LongLongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 148: // int_type ::= long_type { CUP$result = new IntType(/*int_type*/59); ((IntType)CUP$result).type_spec = (/*l*/(LongType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 147: // double_type ::= DOUBLE { CUP$result = new DoubleType(/*double_type*/63); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 146: // fixed_pt_const_type ::= FIXED { CUP$result = new FixedPointConstType(/*fixed_pt_const_type*/62); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 145: // float_type ::= FLOAT { CUP$result = new FloatType(/*float_type*/61); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 144: // float_pt_type ::= double_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*d*/(DoubleType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 143: // float_pt_type ::= float_type { CUP$result = new FloatPtType(/*float_pt_type*/60); ((FloatPtType)CUP$result).type_spec = (/*f*/(FloatType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 142: // simple_declarator ::= ID { CUP$result = new SimpleDeclarator(/*simple_declarator*/80); ((SimpleDeclarator)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 141: // declarator ::= array_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(ArrayDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 140: // declarator ::= simple_declarator { CUP$result = new Declarator(/*declarator*/79); ((Declarator)CUP$result).d = (/*s*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 139: // declarators ::= declarator { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 138: // declarators ::= declarator COMMA declarators { CUP$result = new SymbolList(/*declarators*/94); ((SymbolList)CUP$result).v = (Vector)(/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*d*/(Declarator)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 137: // constr_type_spec ::= enum_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 136: // constr_type_spec ::= union_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 135: // constr_type_spec ::= struct_type { CUP$result = new ConstrTypeSpec(/*constr_type_spec*/49); ((ConstrTypeSpec)CUP$result).c_type_spec = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); ((ConstrTypeSpec)CUP$result).set_token((/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 134: // template_type_spec ::= fixed_point_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*f*/(FixedPointType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 133: // template_type_spec ::= string_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 132: // template_type_spec ::= sequence_type { CUP$result = new TemplateTypeSpec(/*template_type_spec*/48); ((TemplateTypeSpec)CUP$result).type_spec = (/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)); ((TemplateTypeSpec)CUP$result).set_token((/*s*/(SequenceType)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 131: // base_type_spec ::= VALUEBASE { CUP$result = new BaseType(/*base_type_spec*/58); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 130: // base_type_spec ::= any_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(AnyType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 129: // base_type_spec ::= octet_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 128: // base_type_spec ::= bool_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 127: // base_type_spec ::= char_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 126: // base_type_spec ::= int_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 125: // base_type_spec ::= float_pt_type { CUP$result = new BaseType(/*base_type_spec*/58); ((BaseType)CUP$result).type_spec = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 124: // simple_type_spec ::= scopename { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 123: // simple_type_spec ::= template_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((SimpleTypeSpec)CUP$result).set_token((/*s*/(TemplateTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 122: // simple_type_spec ::= base_type_spec { CUP$result = new SimpleTypeSpec(/*simple_type_spec*/47); ((SimpleTypeSpec)CUP$result).type_spec = (/*s*/(BaseType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 121: // type_spec ::= constr_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(ConstrTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 120: // type_spec ::= simple_type_spec { CUP$result = new TypeSpec(/*type_spec*/42); ((TypeSpec)CUP$result).type_spec = (/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)); ((TypeSpec)CUP$result).set_token((/*s*/(SimpleTypeSpec)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 119: // type_declarator ::= type_spec declarators { CUP$result = new TypeDeclarator(/*type_declarator*/41); ((TypeDeclarator)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((TypeDeclarator)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 118: // type_def ::= TYPEDEF type_declarator { CUP$result = new TypeDef(/*type_def*/46); ((TypeDef)CUP$result).type_declarator = (/*t*/(TypeDeclarator)CUP$stack.elementAt(CUP$top-0)); ((TypeDef)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 117: // type_dcl ::= native_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*n*/(NativeType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 116: // type_dcl ::= enum_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*e*/(EnumType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 115: // type_dcl ::= union_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*u*/(UnionType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 114: // type_dcl ::= struct_type { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*s*/(StructType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 113: // type_dcl ::= type_def { CUP$result = new TypeDeclaration(/*type_dcl*/40); ((TypeDeclaration)CUP$result).type_decl = (/*t*/(TypeDef)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 112: // positive_int_const ::= const_expr { CUP$result = new PosIntConst(/*positive_int_const*/31); ((PosIntConst)CUP$result).const_expr = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 111: // string_literal ::= LDBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 110: // string_literal ::= LDBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; ((Literal)CUP$result).wide = true; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 109: // string_literal ::= DBLQUOTE DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 108: // string_literal ::= DBLQUOTE ID DBLQUOTE { CUP$result = new Literal(/*string_literal*/76); ((Literal)CUP$result).string = "\"" + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val + "\""; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 107: // literal ::= FALSE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "false"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 106: // literal ::= TRUE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "true"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 105: // literal ::= FLOAT_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)).float_val ; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.float_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 104: // literal ::= FIXED_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)).fixed_val; ((Literal)CUP$result).token = (/*f*/(fixed_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 103: // literal ::= string_literal { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).string; ((Literal)CUP$result).wide = (/*s*/(Literal)CUP$stack.elementAt(CUP$top-0)).wide; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 102: // literal ::= QUOTE CH QUOTE { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "\'" + (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)).char_val + "\'"; ((Literal)CUP$result).token = (/*c*/(java_cup.runtime.char_token)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 101: // literal ::= LONG_NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)).long_val; ((Literal)CUP$result).token = (/*l*/(java_cup.runtime.long_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 100: // literal ::= NUMBER { CUP$result = new Literal(/*literal*/75); ((Literal)CUP$result).string = "" + (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)).int_val; ((Literal)CUP$result).token = (/*n*/(java_cup.runtime.int_token)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 99: // primary_expr ::= LPAREN const_expr RPAREN { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*c*/(ConstExpr)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 98: // primary_expr ::= literal { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*l*/(Literal)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 97: // primary_expr ::= scopename { CUP$result = new PrimaryExpr(/*primary_expr*/39); ((PrimaryExpr)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 96: // unary_op ::= TILDE { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "~"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 95: // unary_op ::= PLUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 94: // unary_op ::= MINUS { CUP$result = new java_cup.runtime.str_token(/*unary_op*/7); ((java_cup.runtime.str_token)CUP$result).str_val = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 93: // unary_expr ::= primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 92: // unary_expr ::= unary_op primary_expr { CUP$result = new UnaryExpr(/*unary_expr*/38); ((UnaryExpr)CUP$result).primary_expr = (/*p*/(PrimaryExpr)CUP$stack.elementAt(CUP$top-0)); ((UnaryExpr)CUP$result).unary_op = (/*u*/(java_cup.runtime.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 91: // mult_expr ::= mult_expr PERCENT unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "%"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 90: // mult_expr ::= mult_expr SLASH unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "/"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 89: // mult_expr ::= mult_expr STAR unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); ((MultExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-2)); ((MultExpr)CUP$result).operator = "*"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 88: // mult_expr ::= unary_expr { CUP$result = new MultExpr(/*mult_expr*/37); ((MultExpr)CUP$result).unary_expr = (/*u*/(UnaryExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 87: // add_expr ::= add_expr MINUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "-"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 86: // add_expr ::= add_expr PLUS mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-2)); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); ((AddExpr)CUP$result).operator = "+"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 85: // add_expr ::= mult_expr { CUP$result = new AddExpr(/*add_expr*/36); ((AddExpr)CUP$result).mult_expr = (/*m*/(MultExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 84: // shift_expr ::= shift_expr RSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = ">>"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 83: // shift_expr ::= shift_expr LSHIFT add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); ((ShiftExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-2)); ((ShiftExpr)CUP$result).operator = "<<"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 82: // shift_expr ::= add_expr { CUP$result = new ShiftExpr(/*shift_expr*/35); ((ShiftExpr)CUP$result).add_expr = (/*a*/(AddExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 81: // and_expr ::= and_expr AMPERSAND shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-2)); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 80: // and_expr ::= shift_expr { CUP$result = new AndExpr(/*and_expr*/34); ((AndExpr)CUP$result).shift_expr = (/*s*/(ShiftExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 79: // xor_expr ::= xor_expr CIRCUM and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); ((XorExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-2)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 78: // xor_expr ::= and_expr { CUP$result = new XorExpr(/*xor_expr*/33); ((XorExpr)CUP$result).and_expr = (/*a*/(AndExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 77: // or_expr ::= or_expr BAR xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-2)); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 76: // or_expr ::= xor_expr { CUP$result = new OrExpr(/*or_expr*/32); ((OrExpr)CUP$result).xor_expr = (/*x*/(XorExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 75: // const_expr ::= or_expr { CUP$result = new ConstExpr(/*const_expr*/30); ((ConstExpr)CUP$result).or_expr = (/*o*/(OrExpr)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 74: // const_type ::= scopename { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)); ((ConstType)CUP$result).set_token((/*s*/(ScopedName)CUP$stack.elementAt(CUP$top-0)).get_token()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 73: // const_type ::= octet_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(OctetType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 72: // const_type ::= string_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(StringType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 71: // const_type ::= fixed_pt_const_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FixedPointConstType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 70: // const_type ::= float_pt_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(FloatPtType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 69: // const_type ::= bool_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(BooleanType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 68: // const_type ::= char_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(CharType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 67: // const_type ::= int_type { CUP$result = new ConstType(/*const_type*/29); ((ConstType)CUP$result).symbol = (/*s*/(IntType)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 66: // const_dcl ::= CONST const_type ID EQUALS const_expr { CUP$result = new ConstDecl(/*const_dcl*/28); ((ConstDecl)CUP$result).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2)).str_val); ((ConstDecl)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-2))); ((ConstDecl)CUP$result).const_expr = (/*ce*/(ConstExpr)CUP$stack.elementAt(CUP$top-0)); ((ConstDecl)CUP$result).const_type = (ConstType)(/*ct*/(ConstType)CUP$stack.elementAt(CUP$top-3)); ((ConstDecl)CUP$result).set_included( parser.include_state ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 65: // init_param_decl ::= IN param_type_spec simple_declarator { CUP$result = new InitParamDecl(/*init_param_decl*/27); ((InitParamDecl)CUP$result).paramTypeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-1)); ((InitParamDecl)CUP$result).simple_declarator = (/*sd*/(SimpleDeclarator)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 64: // init_param_decls ::= init_param_decl COMMA init_param_decls { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v = (Vector)(/*ipdcls*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-2)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 63: // init_param_decls ::= init_param_decl { CUP$result = new SymbolList(/*init_param_decls*/90); ((SymbolList)CUP$result).v.insertElementAt( (/*ip*/(InitParamDecl)CUP$stack.elementAt(CUP$top-0)), 0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 62: // init_dcl ::= FACTORY ID LPAREN RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 61: // init_dcl ::= FACTORY ID LPAREN init_param_decls RPAREN SEMI { CUP$result = new InitDecl(/*init_dcl*/26); ((InitDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((InitDecl)CUP$result).paramDecls = (Vector)(/*ipd*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 60: // state_member ::= PRIVATE type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = false; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 59: // state_member ::= PUBLIC type_spec declarators SEMI { CUP$result = new StateMember(/*state_member*/25); ((StateMember)CUP$result).isPublic = true; ((StateMember)CUP$result).type_spec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-2)); ((StateMember)CUP$result).declarators = (/*ds*/(SymbolList)CUP$stack.elementAt(CUP$top-1)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 58: // value_element ::= init_dcl { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*id*/(InitDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 57: // value_element ::= state_member { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*sm*/(StateMember)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 56: // value_element ::= export { CUP$result = new Definition(/*value_element*/24); ((Definition)CUP$result).set_declaration ((/*e*/(Definition)CUP$stack.elementAt(CUP$top-0)).get_declaration()); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 55: // value_elements ::= empty { CUP$result = new Definitions(/*value_elements*/23); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 54: // value_elements ::= value_element value_elements { CUP$result = new Definitions(/*value_elements*/23); ((Definitions)CUP$result).v = (Vector)(/*es*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 53: // truncatable ::= TRUNCATABLE { CUP$result = new Truncatable(/*truncatable*/16); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 52: // value_inheritance_spec ::= empty { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 51: // value_inheritance_spec ::= COLON scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 50: // value_inheritance_spec ::= COLON truncatable scopename_list SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-3)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-2)).v.clone(); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 49: // value_inheritance_spec ::= SUPPORTS scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).supports = (Vector)(/*interface_names*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 48: // value_inheritance_spec ::= COLON scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 47: // value_inheritance_spec ::= COLON truncatable scopename_list { CUP$result = new ValueInheritanceSpec(/*value_inheritance_spec*/22); ((ValueInheritanceSpec)CUP$result).truncatable = (/*t*/(Truncatable)CUP$stack.elementAt(CUP$top-1)); ((ValueInheritanceSpec)CUP$result).truncatable.scopedName = (ScopedName)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.remove(0); ((ValueInheritanceSpec)CUP$result).v = (Vector)(/*vn*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 46: // value_dcl ::= VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 45: // value_dcl ::= VALUETYPE ID { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((ValueDecl)CUP$result).isCustomMarshalled (false); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 44: // value_dcl ::= CUSTOM VALUETYPE ID value_inheritance_spec LCBRACE value_elements RCBRACE { CUP$result = new ValueDecl(/*value_dcl*/19); ((ValueDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((ValueDecl)CUP$result).setInheritanceSpec ((/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3))); ((ValueDecl)CUP$result).setValueElements ((/*ve*/(Definitions)CUP$stack.elementAt(CUP$top-1))); ((ValueDecl)CUP$result).isCustomMarshalled (true); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 43: // value_body ::= empty { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 42: // value_body ::= export value_body { CUP$result = new ValueBody(/*value_body*/21); ((ValueBody)CUP$result).v = (Vector)(/*vb*/(ValueBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((ValueBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 41: // value_abs_dcl ::= ABSTRACT VALUETYPE ID { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val; ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 40: // value_abs_dcl ::= ABSTRACT VALUETYPE ID value_inheritance_spec LCBRACE value_body RCBRACE { CUP$result = new ValueAbsDecl(/*value_abs_dcl*/20); ((ValueAbsDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val; ((ValueAbsDecl)CUP$result).setInheritanceSpec( (/*is*/(ValueInheritanceSpec)CUP$stack.elementAt(CUP$top-3)) ); ((ValueAbsDecl)CUP$result).body = (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).myAbsValue = ((ValueAbsDecl)CUP$result); (/*b*/(ValueBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((ValueAbsDecl)CUP$result)); ((ValueAbsDecl)CUP$result).set_token ((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 39: // value_box_dcl ::= VALUETYPE ID type_spec { CUP$result = new ValueBoxDecl(/*value_box_dcl*/18); ((ValueBoxDecl)CUP$result).name = (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-1)).str_val; ((ValueBoxDecl)CUP$result).typeSpec = (/*ts*/(TypeSpec)CUP$stack.elementAt(CUP$top-0)); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 38: // value ::= value_box_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vbx*/(ValueBoxDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 37: // value ::= value_abs_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vad*/(ValueAbsDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 36: // value ::= value_dcl { CUP$result = new Value(/*value*/17); ((Value)CUP$result).setValue ((/*vd*/(ValueDecl)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 35: // scopename ::= OBJECT { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).typeName = "org.omg.CORBA.Object"; } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 34: // scopename ::= scopename DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)).typeName+ "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 33: // scopename ::= DBLCOLON ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( "." + (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 32: // scopename ::= ID { CUP$result = new ScopedName(/*scopename*/15); ((ScopedName)CUP$result).setId( (/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0)).str_val ); ((ScopedName)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 31: // scopename_list ::= scopename { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 30: // scopename_list ::= scopename COMMA scopename_list { CUP$result = new SymbolList(/*scopename_list*/92); ((SymbolList)CUP$result).v = (Vector)(/*snl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((SymbolList)CUP$result).v.insertElementAt((/*sn*/(ScopedName)CUP$stack.elementAt(CUP$top-2)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 29: // inheritance_spec ::= empty { CUP$result = new SymbolList(/*inheritance_spec*/95); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 28: // inheritance_spec ::= COLON scopename_list { CUP$result = new SymbolList(/*inheritance_spec*/95); ((SymbolList)CUP$result).v = (Vector)(/*sl*/(SymbolList)CUP$stack.elementAt(CUP$top-0)).v.clone(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 27: // export ::= op_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*o*/(OpDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 26: // export ::= attr_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*a*/(AttrDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 25: // export ::= except_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 24: // export ::= const_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 23: // export ::= type_dcl SEMI { CUP$result = new Definition(/*export*/14); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 22: // interface_body ::= empty { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).commit(); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 21: // interface_body ::= export interface_body { CUP$result = new InterfaceBody(/*interface_body*/13); ((InterfaceBody)CUP$result).v = (Vector)(/*i*/(InterfaceBody)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((InterfaceBody)CUP$result).v.insertElementAt((/*e*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 20: // interface ::= PSEUDO INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 19: // interface ::= LOCAL INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 18: // interface ::= ABSTRACT INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); ((Interface)CUP$result).set_abstract(); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 17: // interface ::= INTERFACE ID { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-0))); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 16: // interface ::= PSEUDO INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_pseudo(); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_pseudo(); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val);// (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 15: // interface ::= LOCAL INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); ((Interface)CUP$result).set_locality( true ); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 14: // interface ::= ABSTRACT INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).set_abstract(); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 13: // interface ::= INTERFACE ID inheritance_spec LCBRACE interface_body RCBRACE { CUP$result = new Interface(/*interface*/12); ((Interface)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4))); ((Interface)CUP$result).inheritanceSpec = (/*is*/(SymbolList)CUP$stack.elementAt(CUP$top-3)); ((Interface)CUP$result).body = (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)) ; (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).set_name((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-4)).str_val); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).my_interface = ((Interface)CUP$result); (/*b*/(InterfaceBody)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Interface)CUP$result)); ((Interface)CUP$result).set_included( parser.include_state ); // ((Interface)CUP$result).set_locality( parser.getLocalityContraint()); parser.closeScope( (Scope)((Interface)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 12: // module ::= MODULE ID LCBRACE definitions RCBRACE { CUP$result = new Module(/*module*/11); ((Module)CUP$result).spec = (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)); ((Module)CUP$result).set_token((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3))); ((Module)CUP$result).setPackage((/*i*/(org.jacorb.idl.str_token)CUP$stack.elementAt(CUP$top-3)).str_val ); ((Module)CUP$result).set_included( parser.include_state ); (/*d*/(Definitions)CUP$stack.elementAt(CUP$top-1)).setEnclosingSymbol(((Module)CUP$result)); parser.closeScope( (Scope)((Module)CUP$result) ); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 11: // definition ::= value SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Value)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 10: // definition ::= module SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*m*/(Module)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 9: // definition ::= interface SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*p*/(Interface)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 8: // definition ::= except_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*e*/(StructType)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 7: // definition ::= const_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*c*/(ConstDecl)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 6: // definition ::= type_dcl SEMI { CUP$result = new Definition(/*definition*/9); ((Definition)CUP$result).set_declaration((/*t*/(TypeDeclaration)CUP$stack.elementAt(CUP$top-1))); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 5: // definitions ::= definition { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-0)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 4: // definitions ::= definition definitions { CUP$result = new Definitions(/*definitions*/10); ((Definitions)CUP$result).v = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); ((Definitions)CUP$result).v.insertElementAt((/*d*/(Definition)CUP$stack.elementAt(CUP$top-1)),0); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 3: // specification ::= empty { CUP$result = new Spec(/*specification*/8); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 2: // specification ::= NT$0 definitions { CUP$result = new Spec(/*specification*/8); /* parsing */ // open the global scope parser.openScope(); ((Spec)CUP$result).definitions = (Vector)(/*ds*/(Definitions)CUP$stack.elementAt(CUP$top-0)).v.clone(); if( ((org.jacorb.idl.parser)CUP$parser).package_prefix != null ) ((Spec)CUP$result).setPackage( ((org.jacorb.idl.parser)CUP$parser).package_prefix ); ((Spec)CUP$result).parse(); if ( lexer.error_count != 0 ) { System.err.println(lexer.error_count + " error(s)."); System.exit(1); } // if there are still interfaces to be parsed, wait until the // threads performing this have finished. The last one // will call notify() :) if( parser.pending_interfaces.size() > 0 ) { // give other threads a chance to start and signal // that they're active Thread.yield(); boolean runnableFound = false; // still no one seems to be active, but we'll call // round to be sure if( parser.activeParseThreads() == 0 ) { for( int t = 0; t < InterfaceBody.parseThreads.size() && !runnableFound; t++ ) { runnableFound = ((InterfaceBody.ParseThread)InterfaceBody.parseThreads.elementAt(t)).isRunnable(); } } // only block waiting if we know that there are active or // runnable threads and that there are still pending tasks if( ( parser.activeParseThreads() > 1 || runnableFound ) && parser.pending_interfaces.size() > 0 ) { synchronized( parser.pending_interfaces ) { parser.pending_interfaces.wait(); } } } if( parser.pending_interfaces.size() > 0 && !parser.sloppy ) { parser.fatal_error("Undefined interface: " + (String)(parser.pending_interfaces.keys().nextElement()), null ); } /* okay, parsing is done */ parser.done_parsing = true; /* code generation phase */ if (! ((org.jacorb.idl.parser)CUP$parser).parse_only ) { ((Spec)CUP$result).print( new java.io.PrintWriter( java.lang.System.out ) ); } } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 1: // NT$0 ::= { CUP$result = new java_cup.runtime.token(/*NT$0*/98); } return CUP$result; /*. . . . . . . . . . . . . . . . . . . .*/ case 0: // $START ::= specification EOF { CUP$result = new java_cup.runtime.token(/*$START*/0); } /* ACCEPT */ CUP$parser.done_parsing(); return CUP$result; /* . . . . . .*/ default: throw new Exception( "Invalid action number found in internal parse table"); } }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/459917427e43784c811fea8081796b8a67dfaa54/parser.java/clean/src/org/jacorb/idl/parser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 576, 5558, 30, 368, 1008, 493, 33, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 2252, 67, 71, 416, 18, 9448, 18, 7175, 12, 20308, 5531, 5549, 24, 1769, 12900, 289, 1850, 327, 385, 3079, 8, 2088, 31, 1850, 1748, 18, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 263, 5549, 1850, 648, 28298, 30, 368, 579, 67, 723, 67, 2793, 493, 33, 888, 556, 1069, 2398, 288, 2868, 385, 3079, 8, 2088, 273, 394, 1412, 1990, 12, 20308, 891, 67, 723, 67, 2793, 5549, 6334, 1769, 9079, 14015, 559, 1990, 13, 39, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2896, 67, 1128, 12, 565, 509, 13491, 385, 3079, 8, 621, 67, 2107, 16, 565, 2252, 67, 71, 416, 18, 9448, 18, 10826, 67, 4288, 385, 3079, 8, 4288, 16, 565, 2252, 18, 1367, 18, 2624, 5411, 385, 3079, 8, 3772, 16, 565, 509, 13491, 385, 3079, 8, 3669, 13, 565, 1216, 2252, 18, 4936, 18, 503, 565, 288, 1377, 1748, 733, 364, 327, 628, 4209, 1195, 1377, 2252, 67, 71, 416, 18, 9448, 18, 7175, 385, 3079, 8, 2088, 31, 1377, 1748, 2027, 326, 1301, 2511, 603, 326, 1301, 1300, 1195, 1377, 1620, 261, 39, 3079, 8, 621, 67, 2107, 13, 3639, 288, 1850, 2 ]
localArray.addObject((ec != eo.editingContext() && ERXUtilities.localInstanceOfObject(ec, eo) != null ? ERXUtilities.localInstanceOfObject(ec, eo) : eo));
localArray.addObject((ec != eo.editingContext() && ERXEOControlUtilities.localInstanceOfObject(ec, eo) != null ? ERXEOControlUtilities.localInstanceOfObject(ec, eo) : eo));
public NSArray theList() { NSMutableArray aSortedArray; NSArray anUnsortedArray; if (_privateList()==null) { EODataSource aDataSource = _localDataSource(); // Need to make sure that the eos are in the right editingContext. anUnsortedArray = ERXUtilities.localInstancesOfObjects(((EOEnterpriseObject)sourceObject()).editingContext(), aDataSource.fetchObjects()); // 81398 sort contents aSortedArray = new NSMutableArray(anUnsortedArray); /* WO5 try { _RelationshipSupport._sortEOsUsingSingleKey(aSortedArray, _localSortKey()); } catch (NSComparator.ComparisonException e) { throw new NSForwardException(e); } */ if (_localSortKey() != null && _localSortKey().length() > 0) ERXArrayUtilities.sortArrayWithKey(aSortedArray, _localSortKey()); // if there is a value on the EO, then we need to make sure that the list's EOs are in the same EC // otherwise the popup selection will be wrong (will default to the first element) // this happens for ex on a wizard page with a popup. Select sth in the popup, but leave a mandatory field blank // click next --> the page comes back with the error, but the popup lost the selection you made if (_localSourceObject() instanceof EOEnterpriseObject && ((EOEnterpriseObject)_localSourceObject()).valueForKeyPath(_localRelationshipKey()) != null) { NSMutableArray localArray= new NSMutableArray(); EOEnterpriseObject eo; EOEditingContext ec = ((EOEnterpriseObject)_localSourceObject()).editingContext(); for (Enumeration e = aSortedArray.objectEnumerator(); e.hasMoreElements();) { eo = (EOEnterpriseObject)e.nextElement(); localArray.addObject((ec != eo.editingContext() && ERXUtilities.localInstanceOfObject(ec, eo) != null ? ERXUtilities.localInstanceOfObject(ec, eo) : eo)); } aSortedArray=localArray; } set_privateList(aSortedArray); } return _privateList(); }
810 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/810/72dd6fd93f1393823348c9857452b12fe72fcf98/ERXToManyRelationship.java/buggy/Wonder/Common/Frameworks/ERExtensions/Sources/er/extensions/ERXToManyRelationship.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11472, 1076, 326, 682, 1435, 288, 3639, 423, 7303, 3050, 1076, 279, 11739, 1076, 31, 3639, 11472, 1076, 392, 984, 10350, 1076, 31, 3639, 309, 261, 67, 1152, 682, 1435, 631, 2011, 13, 288, 5411, 512, 51, 8597, 279, 8597, 273, 389, 3729, 8597, 5621, 5411, 368, 12324, 358, 1221, 3071, 716, 326, 425, 538, 854, 316, 326, 2145, 15755, 1042, 18, 5411, 392, 984, 10350, 1076, 273, 4232, 60, 11864, 18, 3729, 5361, 951, 4710, 12443, 12, 41, 51, 30699, 921, 13, 3168, 921, 1435, 2934, 4619, 310, 1042, 9334, 279, 8597, 18, 5754, 4710, 10663, 5411, 368, 1725, 3437, 10689, 1524, 2939, 5411, 279, 11739, 1076, 273, 394, 423, 7303, 3050, 1076, 12, 304, 984, 10350, 1076, 1769, 5411, 1748, 678, 51, 25, 5411, 775, 288, 7734, 389, 8180, 6289, 6315, 3804, 41, 15112, 7736, 5281, 653, 12, 69, 11739, 1076, 16, 389, 3729, 4416, 653, 10663, 5411, 289, 1044, 261, 3156, 5559, 18, 16059, 503, 425, 13, 288, 7734, 604, 394, 11472, 8514, 503, 12, 73, 1769, 5411, 289, 5411, 1195, 5411, 309, 261, 67, 3729, 4416, 653, 1435, 480, 446, 597, 389, 3729, 4416, 653, 7675, 2469, 1435, 405, 374, 13, 7734, 4232, 60, 1076, 11864, 18, 3804, 1076, 1190, 653, 12, 69, 11739, 1076, 16, 389, 3729, 4416, 653, 10663, 5411, 368, 309, 1915, 353, 279, 460, 603, 326, 512, 51, 16, 1508, 732, 1608, 358, 1221, 3071, 716, 326, 666, 1807, 512, 15112, 854, 316, 326, 1967, 7773, 5411, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11472, 1076, 326, 682, 1435, 288, 3639, 423, 7303, 3050, 1076, 279, 11739, 1076, 31, 3639, 11472, 1076, 392, 984, 10350, 1076, 31, 3639, 309, 261, 67, 1152, 682, 1435, 631, 2011, 13, 288, 5411, 512, 51, 8597, 279, 8597, 273, 389, 3729, 8597, 5621, 5411, 368, 12324, 358, 1221, 3071, 716, 326, 425, 538, 854, 316, 326, 2145, 15755, 1042, 18, 5411, 392, 984, 10350, 1076, 273, 4232, 60, 11864, 18, 3729, 5361, 951, 4710, 12443, 12, 41, 51, 30699, 921, 13, 3168, 921, 1435, 2934, 4619, 310, 1042, 9334, 279, 8597, 18, 5754, 4710, 10663, 5411, 368, 1725, 3437, 10689, 1524, 2939, 5411, 279, 11739, 1076, 273, 394, 423, 7303, 3050, 1076, 12, 304, 984, 2 ]
addObjectActions(); addStaticActions();
if (menuWrapper != null) { mgr = menuWrapper; menuWrapper.removeAll(); } addObjectActions(mgr); addStaticActions(mgr);
public void menuAboutToShow(IMenuManager mgr) { testForAdditions(); addObjectActions(); addStaticActions();}
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/817b56b22aab6295c233a88e8359c0518551a011/PopupMenuExtender.java/clean/bundles/org.eclipse.ui/Eclipse UI/org/eclipse/ui/internal/PopupMenuExtender.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 3824, 24813, 774, 5706, 12, 3445, 2104, 1318, 13333, 13, 288, 202, 3813, 1290, 986, 5029, 5621, 202, 1289, 921, 6100, 5621, 202, 1289, 5788, 6100, 5621, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 918, 3824, 24813, 774, 5706, 12, 3445, 2104, 1318, 13333, 13, 288, 202, 3813, 1290, 986, 5029, 5621, 202, 1289, 921, 6100, 5621, 202, 1289, 5788, 6100, 5621, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (l_msgLen != 12) throw new PSQLException("postgresql.con.setup");
if (l_msgLen != 12) throw new PSQLException("postgresql.con.setup", PSQLState.CONNECTION_UNABLE_TO_CONNECT);
private void openConnectionV3(String p_host, int p_port, Properties p_info, String p_database, String p_url, Driver p_d, String p_password) throws SQLException { PGProtocolVersionMajor = 3; if (Driver.logDebug) Driver.debug("Using Protocol Version3"); // Now we need to construct and send an ssl startup packet try { if (useSSL) { if (Driver.logDebug) Driver.debug("Asking server if it supports ssl"); pgStream.SendInteger(8,4); pgStream.SendInteger(80877103,4); // now flush the ssl packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int beresp = pgStream.ReceiveChar(); if (Driver.logDebug) Driver.debug("Server response was (S=Yes,N=No): "+(char)beresp); switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // throw new PSQLException("postgresql.con.misc", pgStream.ReceiveString(encoding)); case 'N': // Server does not support ssl throw new PSQLException("postgresql.con.sslnotsupported"); case 'S': // Server supports ssl if (Driver.logDebug) Driver.debug("server does support ssl"); Driver.makeSSL(pgStream); break; default: throw new PSQLException("postgresql.con.sslfail"); } } } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } // Now we need to construct and send a startup packet try { new StartupPacket(PGProtocolVersionMajor, PGProtocolVersionMinor, PG_USER, p_database).writeTo(pgStream); // now flush the startup packets to the backend pgStream.flush(); // Now get the response from the backend, either an error message // or an authentication request int areq = -1; // must have a value here do { int beresp = pgStream.ReceiveChar(); String salt = null; byte [] md5Salt = new byte[4]; switch (beresp) { case 'E': // An error occured, so pass the error message to the // user. // // The most common one to be thrown here is: // "User authentication failed" // int l_elen = pgStream.ReceiveIntegerR(4); if (l_elen > 30000) { //if the error length is > than 30000 we assume this is really a v2 protocol //server so try again with a v2 connection //need to create a new connection and try again try { pgStream = new PGStream(p_host, p_port); } catch (ConnectException cex) { // Added by Peter Mount <peter@retep.org.uk> // ConnectException is thrown when the connection cannot be made. // we trap this an return a more meaningful message for the end user throw new PSQLException ("postgresql.con.refused"); } catch (IOException e) { throw new PSQLException ("postgresql.con.failed", e); } openConnectionV2(p_host, p_port, p_info, p_database, p_url, p_d, p_password); return; } throw new PSQLException("postgresql.con.misc",encoding.decode(pgStream.Receive(l_elen-4))); case 'R': // Get the message length int l_msgLen = pgStream.ReceiveIntegerR(4); // Get the type of request areq = pgStream.ReceiveIntegerR(4); // Get the crypt password salt if there is one if (areq == AUTH_REQ_CRYPT) { byte[] rst = new byte[2]; rst[0] = (byte)pgStream.ReceiveChar(); rst[1] = (byte)pgStream.ReceiveChar(); salt = new String(rst, 0, 2); if (Driver.logDebug) Driver.debug("Crypt salt=" + salt); } // Or get the md5 password salt if there is one if (areq == AUTH_REQ_MD5) { md5Salt[0] = (byte)pgStream.ReceiveChar(); md5Salt[1] = (byte)pgStream.ReceiveChar(); md5Salt[2] = (byte)pgStream.ReceiveChar(); md5Salt[3] = (byte)pgStream.ReceiveChar(); salt = new String(md5Salt, 0, 4); if (Driver.logDebug) Driver.debug("MD5 salt=" + salt); } // now send the auth packet switch (areq) { case AUTH_REQ_OK: break; case AUTH_REQ_KRB4: if (Driver.logDebug) Driver.debug("postgresql: KRB4"); throw new PSQLException("postgresql.con.kerb4"); case AUTH_REQ_KRB5: if (Driver.logDebug) Driver.debug("postgresql: KRB5"); throw new PSQLException("postgresql.con.kerb5"); case AUTH_REQ_SCM: if (Driver.logDebug) Driver.debug("postgresql: SCM"); throw new PSQLException("postgresql.con.scm"); case AUTH_REQ_PASSWORD: if (Driver.logDebug) Driver.debug("postgresql: PASSWORD"); pgStream.SendChar('p'); pgStream.SendInteger(5 + p_password.length(), 4); pgStream.Send(p_password.getBytes()); pgStream.SendChar(0); pgStream.flush(); break; case AUTH_REQ_CRYPT: if (Driver.logDebug) Driver.debug("postgresql: CRYPT"); String crypted = UnixCrypt.crypt(salt, p_password); pgStream.SendChar('p'); pgStream.SendInteger(5 + crypted.length(), 4); pgStream.Send(crypted.getBytes()); pgStream.SendChar(0); pgStream.flush(); break; case AUTH_REQ_MD5: if (Driver.logDebug) Driver.debug("postgresql: MD5"); byte[] digest = MD5Digest.encode(PG_USER, p_password, md5Salt); pgStream.SendChar('p'); pgStream.SendInteger(5 + digest.length, 4); pgStream.Send(digest); pgStream.SendChar(0); pgStream.flush(); break; default: throw new PSQLException("postgresql.con.auth", new Integer(areq)); } break; default: throw new PSQLException("postgresql.con.authfail"); } } while (areq != AUTH_REQ_OK); } catch (IOException e) { throw new PSQLException("postgresql.con.failed", e); } int beresp; do { beresp = pgStream.ReceiveChar(); switch (beresp) { case 'Z': //ready for query break; case 'K': int l_msgLen = pgStream.ReceiveIntegerR(4); if (l_msgLen != 12) throw new PSQLException("postgresql.con.setup"); pid = pgStream.ReceiveIntegerR(4); ckey = pgStream.ReceiveIntegerR(4); break; case 'E': int l_elen = pgStream.ReceiveIntegerR(4); throw new PSQLException("postgresql.con.backend",encoding.decode(pgStream.Receive(l_elen-4))); case 'N': int l_nlen = pgStream.ReceiveIntegerR(4); addWarning(encoding.decode(pgStream.Receive(l_nlen-4))); break; case 'S': //TODO: handle parameter status messages int l_len = pgStream.ReceiveIntegerR(4); String l_pStatus = encoding.decode(pgStream.Receive(l_len-4)); if (Driver.logDebug) Driver.debug("ParameterStatus="+ l_pStatus); break; default: if (Driver.logDebug) Driver.debug("invalid state="+ (char)beresp); throw new PSQLException("postgresql.con.setup"); } } while (beresp != 'Z'); // read ReadyForQuery if (pgStream.ReceiveIntegerR(4) != 5) throw new PSQLException("postgresql.con.setup"); //TODO: handle transaction status char l_tStatus = (char)pgStream.ReceiveChar(); // "pg_encoding_to_char(1)" will return 'EUC_JP' for a backend compiled with multibyte, // otherwise it's hardcoded to 'SQL_ASCII'. // If the backend doesn't know about multibyte we can't assume anything about the encoding // used, so we denote this with 'UNKNOWN'. //Note: begining with 7.2 we should be using pg_client_encoding() which //is new in 7.2. However it isn't easy to conditionally call this new //function, since we don't yet have the information as to what server //version we are talking to. Thus we will continue to call //getdatabaseencoding() until we drop support for 7.1 and older versions //or until someone comes up with a conditional way to run one or //the other function depending on server version that doesn't require //two round trips to the server per connection final String encodingQuery = "case when pg_encoding_to_char(1) = 'SQL_ASCII' then 'UNKNOWN' else getdatabaseencoding() end"; // Set datestyle and fetch db encoding in a single call, to avoid making // more than one round trip to the backend during connection startup. BaseResultSet resultSet = execSQL("set datestyle to 'ISO'; select version(), " + encodingQuery + ";"); if (! resultSet.next()) { throw new PSQLException("postgresql.con.failed", "failed getting backend encoding"); } String version = resultSet.getString(1); dbVersionNumber = extractVersionNumber(version); String dbEncoding = resultSet.getString(2); encoding = Encoding.getEncoding(dbEncoding, p_info.getProperty("charSet")); //In 7.3 we are forced to do a second roundtrip to handle the case //where a database may not be running in autocommit mode //jdbc by default assumes autocommit is on until setAutoCommit(false) //is called. Therefore we need to ensure a new connection is //initialized to autocommit on. //We also set the client encoding so that the driver only needs //to deal with utf8. We can only do this in 7.3 because multibyte //support is now always included if (haveMinimumServerVersion("7.3")) { BaseResultSet acRset = //TODO: if protocol V3 we can set the client encoding in startup execSQL("set client_encoding = 'UNICODE'"); //set encoding to be unicode encoding = Encoding.getEncoding("UNICODE", null); } // Initialise object handling initObjectTypes(); // Mark the connection as ok, and cleanup PG_STATUS = CONNECTION_OK; }
46312 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46312/0378a269f3ab3c44e67b14f96414b6ca95263263/AbstractJdbc1Connection.java/buggy/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Connection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 24982, 58, 23, 12, 780, 293, 67, 2564, 16, 509, 293, 67, 655, 16, 6183, 293, 67, 1376, 16, 514, 293, 67, 6231, 16, 514, 293, 67, 718, 16, 9396, 293, 67, 72, 16, 514, 293, 67, 3664, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 890, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 23, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 23663, 310, 1438, 309, 518, 6146, 5832, 8863, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 28, 16, 24, 1769, 9506, 202, 8365, 1228, 18, 3826, 4522, 12, 3672, 28, 4700, 23494, 16, 24, 1769, 9506, 202, 759, 2037, 3663, 326, 5832, 12640, 358, 326, 4221, 9506, 202, 8365, 1228, 18, 11330, 5621, 9506, 202, 759, 4494, 336, 326, 766, 628, 326, 4221, 16, 3344, 392, 555, 883, 9506, 202, 759, 578, 392, 5107, 590, 9506, 202, 474, 324, 11737, 84, 273, 7184, 1228, 18, 11323, 2156, 5621, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 2081, 766, 1703, 261, 55, 33, 22352, 16, 50, 33, 2279, 4672, 13773, 12, 3001, 13, 744, 281, 84, 1769, 9506, 202, 9610, 261, 744, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 24982, 58, 23, 12, 780, 293, 67, 2564, 16, 509, 293, 67, 655, 16, 6183, 293, 67, 1376, 16, 514, 293, 67, 6231, 16, 514, 293, 67, 718, 16, 9396, 293, 67, 72, 16, 514, 293, 67, 3664, 13, 1216, 6483, 202, 225, 288, 202, 202, 18679, 28252, 17581, 273, 890, 31, 202, 202, 430, 261, 4668, 18, 1330, 2829, 13, 1082, 202, 4668, 18, 4148, 2932, 7736, 4547, 4049, 23, 8863, 202, 202, 759, 4494, 732, 1608, 358, 4872, 471, 1366, 392, 5832, 11850, 4414, 202, 202, 698, 202, 202, 95, 1082, 202, 430, 261, 1202, 6745, 13, 288, 9506, 202, 430, 261, 4668, 18, 1330, 2829, 13, 6862, 202, 4668, 18, 4148, 2932, 2 ]
debugMessage("constructing base browser tab: configuring the item");
debug("constructing base browser tab: configuring the item");
protected BrowserTab(BrowserControl browser, SyndieURI uri) { _browser = browser; debugMessage("constructing base browser tab"); _item = new CTabItem(browser.getTabFolder(), SWT.CLOSE | SWT.BORDER); _uri = uri; _root = new Composite(browser.getTabFolder(), SWT.NONE); debugMessage("constructing base browser tab: initializing components"); initComponents(); debugMessage("constructing base browser tab: configuring the item"); configItem(); }
27487 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/27487/faa7191e3c6c23c9bf8c3a1ef3c62476b25b1150/BrowserTab.java/buggy/src/syndie/gui/BrowserTab.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 15408, 5661, 12, 9132, 3367, 4748, 16, 16091, 72, 1385, 3098, 2003, 13, 288, 3639, 389, 11213, 273, 4748, 31, 3639, 1198, 1079, 2932, 10062, 310, 1026, 4748, 3246, 8863, 3639, 389, 1726, 273, 394, 385, 5661, 1180, 12, 11213, 18, 588, 5661, 3899, 9334, 348, 8588, 18, 13384, 571, 348, 8588, 18, 38, 7954, 1769, 3639, 389, 1650, 273, 2003, 31, 3639, 389, 3085, 273, 394, 14728, 12, 11213, 18, 588, 5661, 3899, 9334, 348, 8588, 18, 9826, 1769, 3639, 1198, 1079, 2932, 10062, 310, 1026, 4748, 3246, 30, 22584, 4085, 8863, 3639, 1208, 7171, 5621, 3639, 1198, 2932, 10062, 310, 1026, 4748, 3246, 30, 642, 4017, 326, 761, 8863, 3639, 642, 1180, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 15408, 5661, 12, 9132, 3367, 4748, 16, 16091, 72, 1385, 3098, 2003, 13, 288, 3639, 389, 11213, 273, 4748, 31, 3639, 1198, 1079, 2932, 10062, 310, 1026, 4748, 3246, 8863, 3639, 389, 1726, 273, 394, 385, 5661, 1180, 12, 11213, 18, 588, 5661, 3899, 9334, 348, 8588, 18, 13384, 571, 348, 8588, 18, 38, 7954, 1769, 3639, 389, 1650, 273, 2003, 31, 3639, 389, 3085, 273, 394, 14728, 12, 11213, 18, 588, 5661, 3899, 9334, 348, 8588, 18, 9826, 1769, 3639, 1198, 1079, 2932, 10062, 310, 1026, 4748, 3246, 30, 22584, 4085, 8863, 3639, 1208, 7171, 5621, 3639, 1198, 2932, 10062, 310, 1026, 4748, 3246, 30, 642, 4017, 326, 761, 8863, 3639, 642, 1180, 5621, 565, 289, 2 ]
synchronizeJob.run(new NullProgressMonitor()); }
updateLocalCopy = MessageDialog .openQuestion( null, "Update Local Copy", "Local copy of Report " + repositoryTask.getDescription() + " on " + repositoryTask.getRepositoryUrl() + " has changes.\nWould you like to override local changes? \n\nNote: if you select No, only the new comment will be saved with the updated bug, all other changes will be lost."); }
public void run() { synchronizeJob.run(new NullProgressMonitor()); }
51151 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51151/f54260341940dc1b8d9d3c1239cf2113272df41f/AbstractRepositoryConnector.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/provisional/tasklist/AbstractRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 1435, 288, 6862, 202, 87, 2600, 554, 2278, 18, 2681, 12, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4697, 202, 482, 918, 1086, 1435, 288, 6862, 202, 87, 2600, 554, 2278, 18, 2681, 12, 2704, 4112, 5491, 7187, 10663, 9506, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
String[] filesName = new File( tempRootDirStr ).list( ); Arrays.sort( filesName, new Comparator( ) { public int compare( Object o1, Object o2 )
sessionTempDirStr = tempRootDirStr + File.separator + prefix + System.currentTimeMillis( ); File file = new File( sessionTempDirStr ); synchronized ( CacheUtil.class ) { while ( file.exists( ) )
public static String createSessionTempDir( String tempRootDirStr ) { String sessionTempDirStr; final String prefix = "session_"; // second create the seesion temp folder String[] filesName = new File( tempRootDirStr ).list( ); Arrays.sort( filesName, new Comparator( ) { public int compare( Object o1, Object o2 ) { String f1 = (String) o1; String f2 = (String) o2; int index1 = f1.indexOf( prefix ); int index2 = f2.indexOf( prefix ); if ( index1 < 0 || index2 < 0 ) return 0; Integer i1 = Integer.valueOf( f1.substring( index1 + prefix.length( ) ) ); Integer i2 = Integer.valueOf( f2.substring( index2 + prefix.length( ) ) ); return i1.compareTo( i2 ); } } ); // find which extension should be used int maxIndex = -1; for ( int i = filesName.length - 1; i >= 0; i-- ) { int index = filesName[i].indexOf( prefix ); if ( index == 0 ) { maxIndex = Integer.valueOf( filesName[i].substring( index + prefix.length( ) ) ).intValue( ); break; } } maxIndex++; sessionTempDirStr = tempRootDirStr + File.separator + prefix + maxIndex; File file = new File( sessionTempDirStr ); file.mkdir( ); return sessionTempDirStr; }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/74405da2bbacfd376e814866e04d42f5c89d7e37/CacheUtil.java/clean/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/cache/CacheUtil.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 752, 2157, 7185, 1621, 12, 514, 1906, 27322, 1585, 262, 202, 95, 202, 202, 780, 1339, 7185, 1621, 1585, 31, 202, 202, 6385, 514, 1633, 273, 315, 3184, 9548, 31, 202, 202, 759, 2205, 752, 326, 29308, 285, 1906, 3009, 202, 202, 780, 8526, 1390, 461, 273, 394, 1387, 12, 1906, 27322, 1585, 262, 18, 1098, 12, 11272, 202, 202, 12726, 18, 3804, 12, 1390, 461, 16, 394, 13359, 12, 262, 288, 1082, 202, 482, 509, 3400, 12, 1033, 320, 21, 16, 1033, 320, 22, 262, 1082, 202, 95, 9506, 202, 780, 284, 21, 273, 261, 780, 13, 320, 21, 31, 9506, 202, 780, 284, 22, 273, 261, 780, 13, 320, 22, 31, 9506, 202, 474, 770, 21, 273, 284, 21, 18, 31806, 12, 1633, 11272, 9506, 202, 474, 770, 22, 273, 284, 22, 18, 31806, 12, 1633, 11272, 9506, 202, 430, 261, 770, 21, 411, 374, 747, 770, 22, 411, 374, 262, 6862, 202, 2463, 374, 31, 9506, 202, 4522, 277, 21, 273, 2144, 18, 1132, 951, 12, 284, 21, 18, 28023, 12, 770, 21, 25083, 202, 15, 1633, 18, 2469, 12, 262, 262, 11272, 9506, 202, 4522, 277, 22, 273, 2144, 18, 1132, 951, 12, 284, 22, 18, 28023, 12, 770, 22, 25083, 202, 15, 1633, 18, 2469, 12, 262, 262, 11272, 9506, 202, 2463, 277, 21, 18, 9877, 774, 12, 277, 22, 11272, 1082, 202, 97, 202, 202, 97, 11272, 202, 202, 759, 1104, 1492, 2710, 1410, 506, 1399, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 752, 2157, 7185, 1621, 12, 514, 1906, 27322, 1585, 262, 202, 95, 202, 202, 780, 1339, 7185, 1621, 1585, 31, 202, 202, 6385, 514, 1633, 273, 315, 3184, 9548, 31, 202, 202, 759, 2205, 752, 326, 29308, 285, 1906, 3009, 202, 202, 780, 8526, 1390, 461, 273, 394, 1387, 12, 1906, 27322, 1585, 262, 18, 1098, 12, 11272, 202, 202, 12726, 18, 3804, 12, 1390, 461, 16, 394, 13359, 12, 262, 288, 1082, 202, 482, 509, 3400, 12, 1033, 320, 21, 16, 1033, 320, 22, 262, 1082, 202, 95, 9506, 202, 780, 284, 21, 273, 261, 780, 13, 320, 21, 31, 9506, 202, 780, 284, 22, 273, 261, 780, 13, 320, 22, 31, 9506, 2 ]
public CmsLock(String resourceName, CmsUUID userId, int projectId) {
public CmsLock(String resourceName, CmsUUID userId, int projectId, int hierarchy) {
public CmsLock(String resourceName, CmsUUID userId, int projectId) { m_resourceName = resourceName; m_userId = userId; m_projectId = projectId; }
8585 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8585/2bcae41c30327ec6c96f485307a4af0b50e8483a/CmsLock.java/clean/src/org/opencms/lock/CmsLock.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 2531, 12, 780, 9546, 16, 15792, 6249, 16, 509, 9882, 16, 509, 9360, 13, 288, 3639, 312, 67, 3146, 461, 273, 9546, 31, 3639, 312, 67, 18991, 273, 6249, 31, 3639, 312, 67, 4406, 548, 273, 9882, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2149, 2531, 12, 780, 9546, 16, 15792, 6249, 16, 509, 9882, 16, 509, 9360, 13, 288, 3639, 312, 67, 3146, 461, 273, 9546, 31, 3639, 312, 67, 18991, 273, 6249, 31, 3639, 312, 67, 4406, 548, 273, 9882, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
int last_x = gif_width_buffer + 1; int last_height = gif_height_buffer + box_height - box_height_buffer - post_height[0];
protected void createGIFFile(int distance, int max, int[] post_dist, int[] post_height) { int box_height_buffer = 20; int gif_height_buffer = 20; int gif_width_buffer = 20; int text_width = 100; int box_height = max + (box_height_buffer * 2); int box_width = distance; int gif_height = box_height + (gif_height_buffer * 2); int gif_width = box_width + (gif_width_buffer * 2) + text_width; AcmeGifFormatter formatter = new AcmeGifFormatter(); java.awt.Graphics graphics = formatter.getGraphics(gif_width, gif_height); Color gray10 = new Color(25, 25, 25); Color gray50 = new Color(128, 128, 128); Color gray75 = new Color(191, 191, 191); Color gray90 = new Color(230, 230, 230); Debug.message("terrain", "ProfileGenerator gif creation: drawing boundaries"); /* Fill in the generic colors */ graphics.setColor(gray90); graphics.fillRect(0, 0, gif_width, gif_height); graphics.setColor(gray50); graphics.fillRect(gif_width_buffer, gif_height_buffer, box_width, box_height); Debug.message("terrain", "ProfileGenerator gif creation: drawing edges"); // outside edge graphics.setColor(Color.black); graphics.drawRect(0, 0, gif_width - 1, gif_height - 1); // inside edge graphics.drawRect(gif_width_buffer, gif_height_buffer, box_width, box_height); graphics.setColor(Color.yellow); // 0 height line graphics.drawLine(gif_width_buffer + 1, gif_height_buffer + box_height - box_height_buffer, gif_width_buffer + box_width - 1, gif_height_buffer + box_height - box_height_buffer); // These are the horizontal reference lines in the image. graphics.setColor(Color.black); FontMetrics f = graphics.getFontMetrics(); Debug.message("terrain", "ProfileGenerator gif creation: drawing level lines"); for (int i = 1; i < 9; i++) { graphics.drawLine(gif_width_buffer, gif_height_buffer + box_height - box_height_buffer - (max * i / 8), gif_width_buffer + box_width + 5, gif_height_buffer + box_height - box_height_buffer - (max * i / 8)); int meters = max * i / 8; int feet = (int) (meters * 3.2); String lineLabel = meters + "m / " + feet + "ft"; byte[] lineLabelBytes = lineLabel.getBytes(); graphics.drawString(lineLabel, gif_width_buffer + box_width + 10, gif_height_buffer + box_height - box_height_buffer - (max * i / 8) + (f.getAscent() / 2)); } int last_x = gif_width_buffer + 1; int last_height = gif_height_buffer + box_height - box_height_buffer - post_height[0]; int total_distance = 0; Debug.message("terrain", "ProfileGenerator gif creation: drawing profile"); graphics.setColor(Color.red); for (int i = 1; i < post_height.length; i++) { graphics.drawLine(gif_width_buffer + total_distance, gif_height_buffer + box_height - box_height_buffer - post_height[i - 1], gif_width_buffer + post_dist[i] + total_distance, gif_height_buffer + box_height - box_height_buffer - post_height[i]); total_distance += post_dist[i]; } javax.swing.ImageIcon ii = new javax.swing.ImageIcon(formatter.getBufferedImage()); javax.swing.JFrame jf = com.bbn.openmap.util.PaletteHelper.getPaletteWindow(new javax.swing.JLabel(ii), "Path Profile", (ComponentListener) null); jf.show(); // byte[] imageBytes = formatter.getImageBytes(); // String tmppath = null; // try { // String tmpDir = Environment.get(Environment.TmpDir); // if (tmpDir != null) { // tmppath = tmpDir + File.separator + "openmap-" + // Environment.timestamp() + ".gif"; // FileOutputStream fs = new FileOutputStream(tmppath); // fs.write(imageBytes); // fs.close(); // close the streams // String url = "file://" + tmppath; // layer.fireRequestURL(url); // } else { // Debug.error("ProfileGenerator: can't create image file, // because the openmap.TempDirectory was not set."); // } // } catch (IOException e) { // Debug.error("ProfileGenerator: Cannot write to temp file:" // + // Environment.get("line.separator") + // "\"" + tmppath + "\""); // } // String imageString = new String(imageBytes); // layer.fireRequestBrowserContent(imageString); }
47208 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47208/c6af8f0419b2c3132b189106b7c1b13d77ffa0eb/ProfileGenerator.java/buggy/src/openmap/com/bbn/openmap/layer/terrain/ProfileGenerator.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 43, 5501, 812, 12, 474, 3888, 16, 509, 943, 16, 509, 8526, 1603, 67, 4413, 16, 4766, 509, 8526, 1603, 67, 4210, 13, 288, 3639, 509, 3919, 67, 4210, 67, 4106, 273, 4200, 31, 3639, 509, 27618, 67, 4210, 67, 4106, 273, 4200, 31, 3639, 509, 27618, 67, 2819, 67, 4106, 273, 4200, 31, 3639, 509, 977, 67, 2819, 273, 2130, 31, 3639, 509, 3919, 67, 4210, 273, 943, 397, 261, 2147, 67, 4210, 67, 4106, 380, 576, 1769, 3639, 509, 3919, 67, 2819, 273, 3888, 31, 3639, 509, 27618, 67, 4210, 273, 3919, 67, 4210, 397, 261, 13905, 67, 4210, 67, 4106, 380, 576, 1769, 3639, 509, 27618, 67, 2819, 273, 3919, 67, 2819, 397, 261, 13905, 67, 2819, 67, 4106, 380, 576, 13, 397, 977, 67, 2819, 31, 3639, 12848, 3501, 43, 430, 5074, 4453, 273, 394, 12848, 3501, 43, 430, 5074, 5621, 3639, 2252, 18, 2219, 88, 18, 17558, 17313, 273, 4453, 18, 588, 17558, 12, 13905, 67, 2819, 16, 7734, 27618, 67, 4210, 1769, 3639, 5563, 16937, 2163, 273, 394, 5563, 12, 2947, 16, 6969, 16, 6969, 1769, 3639, 5563, 16937, 3361, 273, 394, 5563, 12, 10392, 16, 8038, 16, 8038, 1769, 3639, 5563, 16937, 5877, 273, 394, 5563, 12, 30380, 16, 5342, 21, 16, 5342, 21, 1769, 3639, 5563, 16937, 9349, 273, 394, 5563, 12, 29157, 16, 576, 5082, 16, 576, 5082, 1769, 3639, 4015, 18, 2150, 2932, 387, 7596, 3113, 7734, 315, 4029, 3908, 27618, 6710, 30, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 752, 43, 5501, 812, 12, 474, 3888, 16, 509, 943, 16, 509, 8526, 1603, 67, 4413, 16, 4766, 509, 8526, 1603, 67, 4210, 13, 288, 3639, 509, 3919, 67, 4210, 67, 4106, 273, 4200, 31, 3639, 509, 27618, 67, 4210, 67, 4106, 273, 4200, 31, 3639, 509, 27618, 67, 2819, 67, 4106, 273, 4200, 31, 3639, 509, 977, 67, 2819, 273, 2130, 31, 3639, 509, 3919, 67, 4210, 273, 943, 397, 261, 2147, 67, 4210, 67, 4106, 380, 576, 1769, 3639, 509, 3919, 67, 2819, 273, 3888, 31, 3639, 509, 27618, 67, 4210, 273, 3919, 67, 4210, 397, 261, 13905, 67, 4210, 67, 4106, 380, 576, 1769, 3639, 509, 27618, 67, 2819, 273, 3919, 67, 2819, 2 ]
}
}
private static boolean validArrayDescriptor (String name) { int i; int length = name.length(); for (i = 0; i < length; i++) if (name.charAt(i) != '[') break; if (i == length) return false; // string of only ['s if (i == length - 1) switch (name.charAt(i)) { case 'B': return true; // byte case 'C': return true; // char case 'D': return true; // double case 'F': return true; // float case 'I': return true; // integer case 'J': return true; // long case 'S': return true; // short case 'Z': return true; // boolean default: return false; } else if (name.charAt(i) != 'L') return false; // not a class descriptor else if (name.charAt(length - 1) != ';') return false; // ditto return true; // a valid class descriptor }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/d112f42aad3ad0759fef887eeb4876bcf4c85c3f/ReflectionSupport.java/clean/rvm/src/vm/libSupport/ReflectionSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 923, 1076, 3187, 261, 780, 508, 13, 288, 565, 509, 277, 31, 565, 509, 769, 273, 508, 18, 2469, 5621, 565, 364, 261, 77, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 1377, 309, 261, 529, 18, 3001, 861, 12, 77, 13, 480, 8375, 13, 898, 31, 565, 309, 261, 77, 422, 769, 13, 327, 629, 31, 202, 759, 533, 434, 1338, 10228, 87, 565, 309, 261, 77, 422, 769, 300, 404, 13, 1377, 1620, 261, 529, 18, 3001, 861, 12, 77, 3719, 1377, 288, 3639, 648, 296, 38, 4278, 202, 2463, 638, 31, 202, 759, 1160, 3639, 648, 296, 39, 4278, 202, 2463, 638, 31, 225, 202, 759, 1149, 3639, 648, 296, 40, 4278, 202, 2463, 638, 31, 225, 202, 759, 1645, 3639, 648, 296, 42, 4278, 202, 2463, 638, 31, 225, 202, 759, 1431, 3639, 648, 296, 45, 4278, 202, 2463, 638, 31, 225, 202, 759, 3571, 3639, 648, 296, 46, 4278, 202, 2463, 638, 31, 225, 202, 759, 1525, 3639, 648, 296, 55, 4278, 202, 2463, 638, 31, 225, 202, 759, 3025, 3639, 648, 296, 62, 4278, 202, 2463, 638, 31, 225, 202, 759, 1250, 3639, 805, 30, 202, 2463, 629, 31, 1377, 289, 565, 469, 309, 261, 529, 18, 3001, 861, 12, 77, 13, 480, 296, 48, 6134, 327, 629, 31, 565, 368, 486, 279, 667, 4950, 565, 469, 309, 261, 529, 18, 3001, 861, 12, 2469, 300, 404, 13, 480, 7554, 13, 327, 629, 31, 202, 759, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1250, 923, 1076, 3187, 261, 780, 508, 13, 288, 565, 509, 277, 31, 565, 509, 769, 273, 508, 18, 2469, 5621, 565, 364, 261, 77, 273, 374, 31, 277, 411, 769, 31, 277, 27245, 1377, 309, 261, 529, 18, 3001, 861, 12, 77, 13, 480, 8375, 13, 898, 31, 565, 309, 261, 77, 422, 769, 13, 327, 629, 31, 202, 759, 533, 434, 1338, 10228, 87, 565, 309, 261, 77, 422, 769, 300, 404, 13, 1377, 1620, 261, 529, 18, 3001, 861, 12, 77, 3719, 1377, 288, 3639, 648, 296, 38, 4278, 202, 2463, 638, 31, 202, 759, 1160, 3639, 648, 296, 39, 4278, 202, 2463, 638, 31, 225, 202, 759, 1149, 3639, 648, 296, 40, 2 ]
int i1 = l.indexOf("Bid : ");
int i1 = l.indexOf("Geld:");
public double[] retreiveQuote(String wkn) { System.gc(); double[] value = new double[2]; try { URL u = new URL( "http://www.rt.boerse-stuttgart.de/pages/details/main.html?action=overview&sSymbol=" + wkn); // http://isht.comdirect.de/html/detail/ticklist/main.html?sSym=DE0009535245.C41 DataInputStream din = new DataInputStream(u.openStream()); String l = din.readLine(); int line = 1; while (l != null) { l = l.trim(); if (line == 84) { // the line containing the everyfuck int i1 = l.indexOf("Bid : "); int i2 = l.indexOf("Quotierungszeitpunkt"); l = l.substring(i1, l.length() - i2); // crop the Bid : l = l.substring(6); int i3 = l.indexOf("</td>"); String bid = l.substring(0, i3); System.out.println("Extracted <" + bid + ">"); int i4 = l.indexOf("Ask"); System.out.println("i4: " + i4); l = l.substring(i4 + 6, l.length() - i4 - 6); System.out.println("l <" + l + ">"); int i5 = l.indexOf("</td>"); String ask = l.substring(0, i5); // replace all commas ask = ask.replaceAll(",", "."); bid = bid.replaceAll(",", "."); value[1] = Double.parseDouble(ask); value[0] = Double.parseDouble(bid); } l = din.readLine(); line++; } din.close(); } catch (Exception e) { e.printStackTrace(); } return value; }
9106 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9106/343e4f2fbdf1d82a5903c940c7bbe5dfc88a65e4/EuwaxQuoteRetriever.java/buggy/CCAPI/src/CCAPI/EuwaxQuoteRetriever.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 8526, 325, 266, 688, 10257, 12, 780, 341, 21112, 13, 288, 3639, 2332, 18, 13241, 5621, 3639, 1645, 8526, 460, 273, 394, 1645, 63, 22, 15533, 3639, 775, 288, 5411, 1976, 582, 273, 394, 1976, 12, 10792, 315, 2505, 2207, 5591, 18, 3797, 18, 1075, 264, 307, 17, 334, 322, 88, 75, 485, 18, 323, 19, 7267, 19, 6395, 19, 5254, 18, 2620, 35, 1128, 33, 26081, 10, 87, 5335, 1546, 397, 10792, 341, 21112, 1769, 5411, 368, 1062, 2207, 291, 647, 18, 832, 7205, 18, 323, 19, 2620, 19, 8992, 19, 6470, 1098, 19, 5254, 18, 2620, 35, 87, 11901, 33, 1639, 3784, 8778, 4763, 3247, 25, 18, 39, 9803, 5411, 29382, 302, 267, 273, 394, 29382, 12, 89, 18, 3190, 1228, 10663, 5411, 514, 328, 273, 302, 267, 18, 896, 1670, 5621, 5411, 509, 980, 273, 404, 31, 5411, 1323, 261, 80, 480, 446, 13, 288, 7734, 328, 273, 328, 18, 5290, 5621, 7734, 309, 261, 1369, 422, 23421, 13, 288, 10792, 368, 326, 980, 4191, 326, 3614, 74, 9031, 10792, 509, 277, 21, 273, 328, 18, 31806, 2932, 43, 488, 2773, 1769, 10792, 509, 277, 22, 273, 328, 18, 31806, 2932, 7678, 2453, 318, 564, 8489, 305, 84, 1683, 88, 8863, 10792, 328, 273, 328, 18, 28023, 12, 77, 21, 16, 328, 18, 2469, 1435, 300, 277, 22, 1769, 10792, 368, 7987, 326, 605, 350, 294, 5397, 328, 273, 328, 18, 28023, 12, 26, 1769, 10792, 509, 277, 23, 273, 328, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1645, 8526, 325, 266, 688, 10257, 12, 780, 341, 21112, 13, 288, 3639, 2332, 18, 13241, 5621, 3639, 1645, 8526, 460, 273, 394, 1645, 63, 22, 15533, 3639, 775, 288, 5411, 1976, 582, 273, 394, 1976, 12, 10792, 315, 2505, 2207, 5591, 18, 3797, 18, 1075, 264, 307, 17, 334, 322, 88, 75, 485, 18, 323, 19, 7267, 19, 6395, 19, 5254, 18, 2620, 35, 1128, 33, 26081, 10, 87, 5335, 1546, 397, 10792, 341, 21112, 1769, 5411, 368, 1062, 2207, 291, 647, 18, 832, 7205, 18, 323, 19, 2620, 19, 8992, 19, 6470, 1098, 19, 5254, 18, 2620, 35, 87, 11901, 33, 1639, 3784, 8778, 4763, 3247, 25, 18, 39, 9803, 5411, 29382, 302, 267, 273, 2 ]
db.currentWindow = w;
debugGui.currentWindow = w;
public void run() { JTextArea ta = w.textArea; try { if (line == -1) { w.setPosition(-1); if (db.currentWindow == w) { db.currentWindow = null; } } else { int loc = ta.getLineStartOffset(line-1); if (db.currentWindow != null && db.currentWindow != w) { db.currentWindow.setPosition(-1); } w.setPosition(loc); db.currentWindow = w; } } catch (BadLocationException exc) { // fix me } if (activate) { if (w.isIcon()) { db.desk.getDesktopManager().deiconifyFrame(w); } db.desk.getDesktopManager().activateFrame(w); try { w.show(); w.toFront(); // required for correct frame layering (JDK 1.4.1) w.setSelected(true); } catch (Exception exc) { } } }
7555 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7555/7ceadc8e69bfcf427fd421373c750f8de120f15c/Main.java/buggy/js/rhino/toolsrc/org/mozilla/javascript/tools/debugger/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 804, 1528, 5484, 13561, 273, 341, 18, 955, 5484, 31, 3639, 775, 288, 5411, 309, 261, 1369, 422, 300, 21, 13, 288, 7734, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 422, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 273, 446, 31, 7734, 289, 5411, 289, 469, 288, 7734, 509, 1515, 273, 13561, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 480, 446, 597, 1319, 18, 2972, 3829, 480, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 7734, 341, 18, 542, 2555, 12, 1829, 1769, 7734, 1198, 18070, 18, 2972, 3829, 273, 341, 31, 5411, 289, 3639, 289, 1044, 261, 6434, 2735, 503, 3533, 13, 288, 5411, 368, 2917, 1791, 3639, 289, 3639, 309, 261, 10014, 13, 288, 5411, 309, 261, 91, 18, 291, 5554, 10756, 288, 7734, 1319, 18, 5489, 79, 18, 588, 27583, 1318, 7675, 323, 3950, 1164, 3219, 12, 91, 1769, 5411, 289, 5411, 1319, 18, 5489, 79, 18, 588, 27583, 1318, 7675, 10014, 3219, 12, 91, 1769, 5411, 775, 288, 7734, 341, 18, 4500, 5621, 7734, 341, 18, 869, 9580, 5621, 225, 368, 1931, 364, 3434, 2623, 3018, 310, 261, 46, 3398, 404, 18, 24, 18, 21, 13, 7734, 341, 18, 542, 7416, 12, 3767, 1769, 5411, 289, 1044, 261, 503, 3533, 13, 288, 5411, 289, 3639, 289, 565, 289, 2, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1086, 1435, 288, 3639, 804, 1528, 5484, 13561, 273, 341, 18, 955, 5484, 31, 3639, 775, 288, 5411, 309, 261, 1369, 422, 300, 21, 13, 288, 7734, 341, 18, 542, 2555, 19236, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 422, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 273, 446, 31, 7734, 289, 5411, 289, 469, 288, 7734, 509, 1515, 273, 13561, 18, 588, 1670, 1685, 2335, 12, 1369, 17, 21, 1769, 7734, 309, 261, 1966, 18, 2972, 3829, 480, 446, 597, 1319, 18, 2972, 3829, 480, 341, 13, 288, 10792, 1319, 18, 2972, 3829, 18, 542, 2555, 19236, 21, 1769, 7734, 289, 7734, 341, 18, 542, 2555, 12, 1829, 1769, 7734, 1198, 18070, 2 ]
public static String getBugUrl(int id) {
public static String getBugUrl(int id) {
public static String getBugUrl(int id) { String url = BugzillaPlugin.getDefault().getServerName() + "/show_bug.cgi?id=" + id; try { if (BugzillaPreferencePage.getUserName() != null && !BugzillaPreferencePage.getUserName().equals("") && BugzillaPreferencePage.getPassword() != null && !BugzillaPreferencePage.getPassword().equals("")) { url += "&GoAheadAndLogIn=1&Bugzilla_login=" + URLEncoder.encode(BugzillaPreferencePage.getUserName(), "UTF-8") + "&Bugzilla_password=" + URLEncoder.encode(BugzillaPreferencePage.getPassword(),"UTF-8"); } } catch (UnsupportedEncodingException e) { return ""; } return url; }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/de4b42dba8b1b8b770b413f9f9d24bdc30fccd38/BugzillaRepository.java/buggy/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 2882, 637, 1489, 12, 474, 612, 13, 288, 9506, 202, 780, 880, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 1435, 397, 2206, 4500, 67, 925, 18, 19062, 35, 350, 1546, 397, 612, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 19865, 15990, 9624, 1964, 18, 588, 15296, 1435, 480, 446, 6862, 202, 10, 10, 401, 19865, 15990, 9624, 1964, 18, 588, 15296, 7675, 14963, 2932, 7923, 6862, 202, 10, 10, 16907, 15990, 9624, 1964, 18, 588, 3913, 1435, 480, 446, 6862, 202, 10, 10, 401, 19865, 15990, 9624, 1964, 18, 588, 3913, 7675, 14963, 2932, 6, 3719, 288, 9506, 202, 718, 1011, 7830, 5741, 24250, 1876, 1343, 382, 33, 21, 10, 19865, 15990, 67, 5819, 1546, 25083, 202, 15, 1976, 7204, 18, 3015, 12, 19865, 15990, 9624, 1964, 18, 588, 15296, 9334, 315, 5159, 17, 28, 7923, 25083, 202, 15, 7830, 19865, 15990, 67, 3664, 1546, 25083, 202, 15, 1976, 7204, 18, 3015, 12, 19865, 15990, 9624, 1964, 18, 588, 3913, 9334, 6, 5159, 17, 28, 8863, 1082, 202, 97, 202, 202, 97, 1044, 261, 8544, 13836, 425, 13, 288, 6862, 202, 2463, 1408, 31, 202, 202, 97, 202, 202, 2463, 880, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 2882, 637, 1489, 12, 474, 612, 13, 288, 9506, 202, 780, 880, 273, 16907, 15990, 3773, 18, 588, 1868, 7675, 588, 28434, 1435, 397, 2206, 4500, 67, 925, 18, 19062, 35, 350, 1546, 397, 612, 31, 202, 202, 698, 288, 1082, 202, 430, 261, 19865, 15990, 9624, 1964, 18, 588, 15296, 1435, 480, 446, 6862, 202, 10, 10, 401, 19865, 15990, 9624, 1964, 18, 588, 15296, 7675, 14963, 2932, 7923, 6862, 202, 10, 10, 16907, 15990, 9624, 1964, 18, 588, 3913, 1435, 480, 446, 6862, 202, 10, 10, 401, 19865, 15990, 9624, 1964, 18, 588, 3913, 7675, 14963, 2932, 6, 3719, 288, 9506, 202, 718, 1011, 7830, 5741, 24250, 1876, 1343, 382, 33, 21, 2 ]
public boolean isUntitled() { return untitled; }
public boolean isUntitled() { return isUntitled; }
public boolean isUntitled() { return untitled; }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/52c187d5d51895f0b58a56680e35117f80ff45ef/ProjectTest.java/clean/drjava/src/edu/rice/cs/drjava/project/ProjectTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 1250, 353, 57, 496, 305, 1259, 1435, 288, 327, 640, 88, 305, 1259, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 1071, 1250, 353, 57, 496, 305, 1259, 1435, 288, 327, 640, 88, 305, 1259, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(doc != null) { doc.getUpdateLock().release(Lock.READ_LOCK); } }
if(doc != null) { doc.getUpdateLock().release(Lock.READ_LOCK); } }
public void releaseDocument(DocumentImpl doc) { if(doc != null) { doc.getUpdateLock().release(Lock.READ_LOCK); } }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/5c28ec462ac6a54a5cc87ba38ba7b625b01992e2/Collection.java/clean/src/org/exist/collections/Collection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3992, 2519, 12, 2519, 2828, 997, 13, 288, 202, 565, 309, 12, 2434, 480, 446, 13, 288, 202, 3639, 997, 18, 588, 1891, 2531, 7675, 9340, 12, 2531, 18, 6949, 67, 6589, 1769, 202, 565, 289, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 3992, 2519, 12, 2519, 2828, 997, 13, 288, 202, 565, 309, 12, 2434, 480, 446, 13, 288, 202, 3639, 997, 18, 588, 1891, 2531, 7675, 9340, 12, 2531, 18, 6949, 67, 6589, 1769, 202, 565, 289, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
setProperSize();
public RandomMapDialog(Frame parent, IMapSettingsObserver bsd, MapSettings mapSettings) { super(parent, Messages.getString("RandomMapDialog.title"), true); //$NON-NLS-1$ this.mapSettings = mapSettings; this.frame = parent; this.bsd = bsd; setResizable(true); createComponents(); loadValues(); setLayout(new BorderLayout()); setupOptions(); add(scrAll, BorderLayout.CENTER); setupButtons(); add(panButtons, BorderLayout.SOUTH); validate(); pack(); butOK.requestFocus(); setLocation(getParent().getLocation().x + getParent().getSize().width/2 - getSize().width/2, getParent().getLocation().y + getParent().getSize().height/2 - getSize().height/2); initiated = true; }
4135 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4135/201b9e0a8607892186a5ccf3c01430c2db60eb90/RandomMapDialog.java/clean/megamek/src/megamek/client/ui/AWT/RandomMapDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 1071, 542, 626, 457, 1225, 5621, 225, 8072, 863, 6353, 12, 15162, 278, 626, 457, 1225, 5621, 225, 982, 16, 542, 626, 457, 1225, 5621, 225, 467, 863, 2628, 29393, 278, 626, 457, 1225, 5621, 225, 324, 6427, 16, 542, 626, 457, 1225, 5621, 225, 1635, 2628, 542, 626, 457, 1225, 5621, 225, 852, 2628, 13, 542, 626, 457, 1225, 5621, 225, 288, 542, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 2240, 12, 2938, 16, 542, 626, 457, 1225, 5621, 225, 4838, 18, 588, 780, 2932, 8529, 863, 6353, 18, 2649, 6, 3631, 542, 626, 457, 1225, 5621, 225, 638, 1769, 542, 626, 457, 1225, 5621, 225, 4329, 3993, 17, 5106, 17, 21, 8, 542, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 333, 18, 1458, 2628, 542, 626, 457, 1225, 5621, 225, 273, 542, 626, 457, 1225, 5621, 225, 852, 2628, 31, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 1071, 542, 626, 457, 1225, 5621, 225, 8072, 863, 6353, 12, 15162, 278, 626, 457, 1225, 5621, 225, 982, 16, 542, 626, 457, 1225, 5621, 225, 467, 863, 2628, 29393, 278, 626, 457, 1225, 5621, 225, 324, 6427, 16, 542, 626, 457, 1225, 5621, 225, 1635, 2628, 542, 626, 457, 1225, 5621, 225, 852, 2628, 13, 542, 626, 457, 1225, 5621, 225, 288, 542, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 457, 1225, 5621, 225, 444, 626, 2 ]
final String commandId = "commandId";
public final void testSetBindings() throws NotDefinedException { // GENERAL SET-UP final Context context = contextManager.getContext("na"); context.define("name", "description", null); final Scheme scheme = bindingManager.getScheme("na"); scheme.define("name", "description", null); bindingManager.setActiveScheme(scheme); final Set activeContextIds = new HashSet(); activeContextIds.add("na"); contextManager.setActiveContextIds(activeContextIds); // SET NULL final String commandId = "commandId"; bindingManager.setBindings(null); assertTrue("There should be no active bindings", bindingManager .getActiveBindingsFor(commandId).length == 0); // ADD BINDING final Binding binding = new TestBinding(commandId, "na", "na", null, null, Binding.SYSTEM); final Binding[] bindings = new Binding[1]; bindings[0] = binding; bindingManager.setBindings(bindings); final TriggerSequence[] activeBindings = bindingManager .getActiveBindingsFor(commandId); assertEquals("There should be one active binding", 1, activeBindings.length); assertSame("The binding should be the one we set", TestBinding.TRIGGER_SEQUENCE, activeBindings[0]); }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/e61bf96d546738a5dfebc5feb8c2bcbe110e4371/BindingManagerTest.java/clean/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/keys/BindingManagerTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1842, 694, 10497, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 759, 13679, 1013, 7855, 17, 3079, 202, 202, 6385, 1772, 819, 273, 819, 1318, 18, 29120, 2932, 6582, 8863, 202, 202, 2472, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 1000, 2695, 1042, 2673, 273, 394, 6847, 5621, 202, 202, 3535, 1042, 2673, 18, 1289, 2932, 6582, 8863, 202, 202, 2472, 1318, 18, 542, 3896, 1042, 2673, 12, 3535, 1042, 2673, 1769, 202, 202, 759, 7855, 3206, 202, 202, 6385, 514, 1296, 548, 273, 315, 3076, 548, 14432, 202, 202, 7374, 1318, 18, 542, 10497, 12, 2011, 1769, 202, 202, 11231, 5510, 2932, 9828, 1410, 506, 1158, 2695, 7394, 3113, 5085, 1318, 9506, 202, 18, 588, 3896, 10497, 1290, 12, 3076, 548, 2934, 2469, 422, 374, 1769, 202, 202, 759, 11689, 605, 2356, 1360, 202, 202, 6385, 15689, 5085, 273, 394, 7766, 5250, 12, 3076, 548, 16, 315, 6582, 3113, 315, 6582, 3113, 446, 16, 9506, 202, 2011, 16, 15689, 18, 14318, 1769, 202, 202, 6385, 15689, 8526, 7394, 273, 394, 15689, 63, 21, 15533, 202, 202, 15863, 63, 20, 65, 273, 5085, 31, 202, 202, 7374, 1318, 18, 542, 10497, 12, 15863, 1769, 202, 202, 6385, 11321, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 1842, 694, 10497, 1435, 1216, 2288, 8116, 503, 288, 202, 202, 759, 13679, 1013, 7855, 17, 3079, 202, 202, 6385, 1772, 819, 273, 819, 1318, 18, 29120, 2932, 6582, 8863, 202, 202, 2472, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 6385, 10714, 4355, 273, 5085, 1318, 18, 588, 9321, 2932, 6582, 8863, 202, 202, 9068, 18, 11255, 2932, 529, 3113, 315, 3384, 3113, 446, 1769, 202, 202, 7374, 1318, 18, 542, 3896, 9321, 12, 9068, 1769, 202, 202, 6385, 1000, 2695, 1042, 2673, 273, 394, 6847, 5621, 202, 202, 3535, 1042, 2673, 18, 1289, 2932, 6582, 8863, 202, 202, 2472, 1318, 18, 542, 3896, 1042, 2673, 12, 3535, 1042, 2 ]
} catch (Exception ex) { if (ex instanceof WebServiceException) throw (WebServiceException) ex; else throw new WebServiceException("Client side exception before invocation ", ex);
} catch (Throwable t) { throw (RuntimeException) t;
private Object sendAsync(MessageStruct messageStruct) throws WebServiceException { Object response = null; _lock = new ReentrantLock(); _lock.lock(); try { _delegate.send(messageStruct); response = messageStruct.getResponse(); } catch (Exception ex) { if (ex instanceof WebServiceException) throw (WebServiceException) ex; else throw new WebServiceException("Client side exception before invocation ", ex); } finally { _lock.unlock(); } return response; }
9667 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9667/f5d45ae3cb286020e4984d5c8ec526979df1aa4a/DispatchBase.java/clean/jaxws-ri/rt/src/com/sun/xml/ws/client/dispatch/DispatchBase.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 1366, 2771, 12, 1079, 3823, 883, 3823, 13, 3639, 1216, 2999, 15133, 288, 3639, 1033, 766, 273, 446, 31, 3639, 389, 739, 273, 394, 868, 8230, 970, 2531, 5621, 3639, 389, 739, 18, 739, 5621, 3639, 775, 288, 5411, 389, 22216, 18, 4661, 12, 2150, 3823, 1769, 5411, 766, 273, 883, 3823, 18, 588, 1064, 5621, 3639, 289, 1044, 261, 503, 431, 13, 288, 5411, 309, 261, 338, 1276, 2999, 15133, 13, 7734, 604, 261, 4079, 15133, 13, 431, 31, 5411, 469, 7734, 604, 394, 2999, 15133, 2932, 1227, 4889, 1520, 1865, 9495, 3104, 431, 1769, 3639, 289, 3095, 288, 5411, 389, 739, 18, 26226, 5621, 3639, 289, 3639, 327, 766, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 1366, 2771, 12, 1079, 3823, 883, 3823, 13, 3639, 1216, 2999, 15133, 288, 3639, 1033, 766, 273, 446, 31, 3639, 389, 739, 273, 394, 868, 8230, 970, 2531, 5621, 3639, 389, 739, 18, 739, 5621, 3639, 775, 288, 5411, 389, 22216, 18, 4661, 12, 2150, 3823, 1769, 5411, 766, 273, 883, 3823, 18, 588, 1064, 5621, 3639, 289, 1044, 261, 503, 431, 13, 288, 5411, 309, 261, 338, 1276, 2999, 15133, 13, 7734, 604, 261, 4079, 15133, 13, 431, 31, 5411, 469, 7734, 604, 394, 2999, 15133, 2932, 1227, 4889, 1520, 1865, 9495, 3104, 431, 1769, 3639, 289, 3095, 288, 5411, 389, 739, 18, 26226, 5621, 3639, 289, 3639, 327, 766, 31, 565, 289, 2, -100, -100 ]
if (start < 0) start = 0; else if (start > length) start = length;
if (start < 0) start = 0; else if (start > length) start = length;
public static String jsFunction_substring(Context cx, Scriptable thisObj, Object[] args, Function funObj) { if (args.length < 1) args = ScriptRuntime.padArguments(args, 1); String target = ScriptRuntime.toString(thisObj); int length = target.length(); double start = ScriptRuntime.toInteger(args[0]); double end; if (start < 0) start = 0; else if (start > length) start = length; if (args.length == 1) { end = length; } else { end = ScriptRuntime.toInteger(args[1]); if (end < 0) end = 0; else if (end > length) end = length; // swap if end < start if (end < start) { if (cx.getLanguageVersion() != Context.VERSION_1_2) { double temp = start; start = end; end = temp; } else { // Emulate old JDK1.0 java.lang.String.substring() end = start; } } } return target.substring((int)start, (int)end); }
47345 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47345/b631b3e8574543a4d24a0048cc710f305deb8ff5/NativeString.java/buggy/src/org/mozilla/javascript/NativeString.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 28023, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 2868, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 833, 273, 7739, 5576, 18, 6982, 4628, 12, 1968, 16, 404, 1769, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 509, 769, 273, 1018, 18, 2469, 5621, 3639, 1645, 787, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 20, 19226, 3639, 1645, 679, 31, 202, 430, 261, 1937, 411, 374, 13, 202, 565, 787, 273, 374, 31, 202, 12107, 309, 261, 1937, 405, 769, 13, 202, 565, 787, 273, 769, 31, 202, 430, 261, 1968, 18, 2469, 422, 404, 13, 288, 202, 565, 679, 273, 769, 31, 202, 97, 469, 288, 5411, 679, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 21, 19226, 202, 565, 309, 261, 409, 411, 374, 13, 202, 202, 409, 273, 374, 31, 202, 565, 469, 309, 261, 409, 405, 769, 13, 202, 202, 409, 273, 769, 31, 5411, 368, 7720, 309, 679, 411, 787, 5411, 309, 261, 409, 411, 787, 13, 288, 7734, 309, 261, 71, 92, 18, 588, 3779, 1444, 1435, 480, 1772, 18, 5757, 67, 21, 67, 22, 13, 288, 10792, 1645, 1906, 273, 787, 31, 10792, 787, 273, 679, 31, 10792, 679, 273, 1906, 31, 7734, 289, 469, 288, 10792, 368, 7377, 6243, 1592, 24387, 21, 18, 20, 2252, 18, 4936, 18, 780, 18, 28023, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 514, 3828, 2083, 67, 28023, 12, 1042, 9494, 16, 22780, 15261, 16, 4766, 2868, 1033, 8526, 833, 16, 4284, 9831, 2675, 13, 565, 288, 3639, 309, 261, 1968, 18, 2469, 411, 404, 13, 5411, 833, 273, 7739, 5576, 18, 6982, 4628, 12, 1968, 16, 404, 1769, 3639, 514, 1018, 273, 7739, 5576, 18, 10492, 12, 2211, 2675, 1769, 3639, 509, 769, 273, 1018, 18, 2469, 5621, 3639, 1645, 787, 273, 7739, 5576, 18, 869, 4522, 12, 1968, 63, 20, 19226, 3639, 1645, 679, 31, 202, 430, 261, 1937, 411, 374, 13, 202, 565, 787, 273, 374, 31, 202, 12107, 309, 261, 1937, 405, 769, 13, 202, 565, 787, 273, 769, 31, 202, 430, 261, 1968, 18, 2 ]
this.pattern = new File(pattern); if (!this.pattern.getPath().equals(this.pattern.getAbsolutePath())) {
if (new File(pattern).isAbsolute()) { this.patternIsRelative = false; this.pattern = canonicalize(pattern); } else {
public Glob(String pattern) { // FIXME: don't use user.dir for cwd String cwd = System.getProperty("user.dir"); // Java File will strip trailing path delimeter. // Make a boolean for this special case (how about multiple slashes?) if (pattern.endsWith("/")) { patternEndsWithPathDelimeter = true; } this.pattern = new File(pattern); //.getAbsoluteFile(); if (!this.pattern.getPath().equals(this.pattern.getAbsolutePath())) { // pattern is relative, but we need to consider cwd; add cwd but remember it's relative so we chop it off later patternIsRelative = true; this.pattern = new File(cwd, pattern); } }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/43608826a44e7cd8213325ce6cf8b348d8ca8f8e/Glob.java/clean/src/org/jruby/util/Glob.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18901, 12, 780, 1936, 13, 288, 377, 202, 759, 9852, 30, 2727, 1404, 999, 729, 18, 1214, 364, 7239, 377, 202, 780, 7239, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 377, 202, 3639, 368, 5110, 1387, 903, 2569, 7341, 589, 10508, 847, 18, 3639, 368, 4344, 279, 1250, 364, 333, 4582, 648, 261, 13606, 2973, 3229, 19034, 8535, 3639, 309, 261, 4951, 18, 5839, 1190, 2932, 4898, 3719, 288, 5411, 1936, 24980, 1190, 743, 21445, 847, 273, 638, 31, 3639, 289, 7734, 202, 2211, 18, 4951, 273, 394, 1387, 12, 4951, 1769, 368, 18, 588, 10368, 812, 5621, 3639, 202, 3639, 202, 430, 16051, 2211, 18, 4951, 18, 588, 743, 7675, 14963, 12, 2211, 18, 4951, 18, 588, 10368, 743, 1435, 3719, 288, 3639, 202, 202, 759, 1936, 353, 3632, 16, 1496, 732, 1608, 358, 5260, 7239, 31, 527, 7239, 1496, 11586, 518, 1807, 3632, 1427, 732, 31258, 518, 3397, 5137, 3639, 202, 202, 4951, 2520, 8574, 273, 638, 31, 3639, 202, 202, 2211, 18, 4951, 273, 394, 1387, 12, 11089, 16, 1936, 1769, 3639, 202, 97, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 18901, 12, 780, 1936, 13, 288, 377, 202, 759, 9852, 30, 2727, 1404, 999, 729, 18, 1214, 364, 7239, 377, 202, 780, 7239, 273, 2332, 18, 588, 1396, 2932, 1355, 18, 1214, 8863, 377, 202, 3639, 368, 5110, 1387, 903, 2569, 7341, 589, 10508, 847, 18, 3639, 368, 4344, 279, 1250, 364, 333, 4582, 648, 261, 13606, 2973, 3229, 19034, 8535, 3639, 309, 261, 4951, 18, 5839, 1190, 2932, 4898, 3719, 288, 5411, 1936, 24980, 1190, 743, 21445, 847, 273, 638, 31, 3639, 289, 7734, 202, 2211, 18, 4951, 273, 394, 1387, 12, 4951, 1769, 368, 18, 588, 10368, 812, 5621, 3639, 202, 3639, 202, 430, 16051, 2211, 18, 4951, 18, 588, 743, 7675, 14963, 12, 2211, 2 ]
jj_la1[70] = jj_gen;
jj_la1[69] = jj_gen;
final public void UnaryExpression() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: case MINUS: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PLUS: jj_consume_token(PLUS); break; case MINUS: jj_consume_token(MINUS); break; default: jj_la1[70] = jj_gen; jj_consume_token(-1); throw new ParseException(); } UnaryExpression(); break; case INCR: PreIncrementExpression(); break; case DECR: PreDecrementExpression(); break; case BOOLEAN: case BYTE: case CHAR: case DOUBLE: case FALSE: case FLOAT: case INT: case LONG: case NEW: case NULL: case SHORT: case SUPER: case THIS: case TRUE: case VOID: case INTEGER_LITERAL: case FLOATING_POINT_LITERAL: case CHARACTER_LITERAL: case STRING_LITERAL: case IDENTIFIER: case LPAREN: case BANG: case TILDE: UnaryExpressionNotPlusMinus(); break; default: jj_la1[71] = jj_gen; jj_consume_token(-1); throw new ParseException(); } }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/83d81b076b32acdf3f82077c7f4c2a2e160aa32f/JavaParser.java/buggy/pmd/src/net/sourceforge/pmd/ast/JavaParser.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 20324, 2300, 1435, 1216, 10616, 288, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 22443, 3378, 30, 565, 648, 6989, 3378, 30, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 22443, 3378, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 6253, 3378, 1769, 3639, 898, 31, 1377, 648, 6989, 3378, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 6236, 3378, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 8148, 65, 273, 10684, 67, 4507, 31, 3639, 10684, 67, 21224, 67, 2316, 19236, 21, 1769, 3639, 604, 394, 10616, 5621, 1377, 289, 1377, 20324, 2300, 5621, 1377, 898, 31, 565, 648, 2120, 5093, 30, 1377, 2962, 10798, 2300, 5621, 1377, 898, 31, 565, 648, 2030, 5093, 30, 1377, 2962, 23326, 475, 2300, 5621, 1377, 898, 31, 565, 648, 18993, 30, 565, 648, 20660, 30, 565, 648, 12090, 30, 565, 648, 14918, 30, 565, 648, 4934, 30, 565, 648, 15483, 30, 565, 648, 6137, 30, 565, 648, 14011, 30, 565, 648, 12887, 30, 565, 648, 3206, 30, 565, 648, 20079, 30, 565, 648, 16459, 654, 30, 565, 648, 20676, 30, 565, 648, 5383, 30, 565, 648, 27085, 30, 565, 648, 16481, 67, 23225, 30, 565, 648, 15483, 1360, 67, 8941, 67, 23225, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 727, 1071, 918, 20324, 2300, 1435, 1216, 10616, 288, 565, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 565, 648, 22443, 3378, 30, 565, 648, 6989, 3378, 30, 1377, 1620, 14015, 78, 78, 67, 496, 79, 631, 17, 21, 9945, 78, 78, 67, 496, 79, 13332, 78, 78, 67, 496, 79, 13, 288, 1377, 648, 22443, 3378, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 6253, 3378, 1769, 3639, 898, 31, 1377, 648, 6989, 3378, 30, 3639, 10684, 67, 21224, 67, 2316, 12, 6236, 3378, 1769, 3639, 898, 31, 1377, 805, 30, 3639, 10684, 67, 11821, 21, 63, 8148, 65, 273, 10684, 2 ]
strBuf.append("digraph classdiagram { \n");
strBuf.append("digraph classdiagram { \n\n nodesep=1.50;ranksep=1.0;\n\n");
public static String dumpDot( Domain domain, Collection classList ) { StringBuffer strBuf = new StringBuffer( ); strBuf.append("digraph classdiagram { \n"); for ( Iterator it = classList.iterator(); it.hasNext(); ) { metamodel.Class umlclass = (metamodel.Class) it.next(); strBuf.append(umlclass.dumpDot()); } for( Iterator it = domain.getRelationships().values().iterator(); it.hasNext();) { metamodel.Association association = (metamodel.Association) it.next(); strBuf.append(association.getParticipants()[0].getName() + "->"); strBuf.append(association.getParticipants()[1].getName() + " "); strBuf.append("[label=\"\\"); strBuf.append(association.getName()); strBuf.append("\","); strBuf.append("headlabel=\""); strBuf.append(association.getPassivePerspective().getMultiplicity().toString()); strBuf.append("\","); strBuf.append("taillabel=\""); strBuf.append(association.getActivePerspective().getMultiplicity().toString()); strBuf.append("\", arrowhead=\"none\""); strBuf.append("]; \n"); } strBuf.append("\n"); strBuf.append( "}" ); return strBuf.toString(); }
10434 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10434/a2aa12a868ddbffab8d9e1b71bdb700d094fd9e8/ClassWriter.java/buggy/trunk/src/verifier/ClassWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 4657, 10412, 12, 6648, 2461, 16, 2200, 16035, 262, 288, 12900, 6674, 609, 5503, 273, 394, 6674, 12, 11272, 1171, 609, 5503, 18, 6923, 2932, 5606, 1483, 667, 12264, 1940, 288, 521, 82, 64, 82, 565, 2199, 881, 33, 21, 18, 3361, 31, 11500, 10814, 33, 21, 18, 20, 9747, 82, 64, 82, 8863, 8227, 364, 261, 4498, 518, 273, 16035, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5375, 5100, 13474, 18, 797, 9570, 80, 1106, 273, 261, 10578, 13474, 18, 797, 13, 518, 18, 4285, 5621, 11794, 609, 5503, 18, 6923, 12, 22192, 1106, 18, 8481, 10412, 10663, 2868, 289, 18701, 364, 12, 4498, 518, 273, 2461, 18, 588, 17185, 7675, 2372, 7675, 9838, 5621, 518, 18, 5332, 2134, 5621, 13, 288, 5375, 5100, 13474, 18, 7174, 6384, 273, 261, 10578, 13474, 18, 7174, 13, 518, 18, 4285, 5621, 5375, 609, 5503, 18, 6923, 12, 19358, 18, 588, 1988, 27620, 1435, 63, 20, 8009, 17994, 1435, 397, 315, 2122, 8863, 5375, 609, 5503, 18, 6923, 12, 19358, 18, 588, 1988, 27620, 1435, 63, 21, 8009, 17994, 1435, 397, 315, 315, 1769, 5375, 609, 5503, 18, 6923, 2932, 63, 1925, 5189, 1695, 8863, 5375, 609, 5503, 18, 6923, 12, 19358, 18, 17994, 10663, 5375, 609, 5503, 18, 6923, 2932, 22564, 8863, 5375, 609, 5503, 18, 6923, 2932, 1978, 1925, 5189, 8863, 5375, 609, 5503, 18, 6923, 12, 19358, 18, 588, 6433, 688, 14781, 16772, 7675, 588, 5002, 20458, 7675, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 514, 4657, 10412, 12, 6648, 2461, 16, 2200, 16035, 262, 288, 12900, 6674, 609, 5503, 273, 394, 6674, 12, 11272, 1171, 609, 5503, 18, 6923, 2932, 5606, 1483, 667, 12264, 1940, 288, 521, 82, 64, 82, 565, 2199, 881, 33, 21, 18, 3361, 31, 11500, 10814, 33, 21, 18, 20, 9747, 82, 64, 82, 8863, 8227, 364, 261, 4498, 518, 273, 16035, 18, 9838, 5621, 518, 18, 5332, 2134, 5621, 262, 288, 5375, 5100, 13474, 18, 797, 9570, 80, 1106, 273, 261, 10578, 13474, 18, 797, 13, 518, 18, 4285, 5621, 11794, 609, 5503, 18, 6923, 12, 22192, 1106, 18, 8481, 10412, 10663, 2868, 289, 18701, 364, 12, 4498, 518, 273, 2461, 18, 588, 17185, 2 ]
Context cx = Context.getCurrentContext();
static SubString interpretDollar(RegExpImpl res, char[] da, int dp, int bp, int[] skip) { char[] ca; int cp; char dc; int num, tmp; /* Allow a real backslash (literal "\\") to escape "$1" etc. */ if (da[dp] != '$') throw new RuntimeException(); if (dp > bp && da[dp-1] == '\\') return null; /* Interpret all Perl match-induced dollar variables. */ dc = da[dp+1]; if (NativeRegExp.isDigit(dc)) { Context cx = Context.getCurrentContext(); if ((cx.getLanguageVersion() != Context.VERSION_DEFAULT) && (cx.getLanguageVersion() <= Context.VERSION_1_4)) { if (dc == '0') return null; /* Check for overflow to avoid gobbling arbitrary decimal digits. */ num = 0; ca = da; cp = dp; while (++cp < ca.length && NativeRegExp.isDigit(dc = ca[cp])) { tmp = 10 * num + NativeRegExp.unDigit(dc); if (tmp < num) break; num = tmp; } } else { /* ECMA 3, 1-9 or 01-99 */ num = NativeRegExp.unDigit(dc); cp = dp + 2; if ((dp + 2) < da.length) { dc = da[dp + 2]; if (NativeRegExp.isDigit(dc)) { num = 10 * num + NativeRegExp.unDigit(dc); cp++; } } if (num == 0) return null; /* $0 or $00 is not valid */ } /* Adjust num from 1 $n-origin to 0 array-index-origin. */ num--; skip[0] = cp - dp; return res.getParenSubString(num); } skip[0] = 2; switch (dc) { case '$': return dollarStr; case '&': return res.lastMatch; case '+': return res.lastParen; case '`': Context cx = Context.getCurrentContext(); if (cx.getLanguageVersion() == Context.VERSION_1_2) { /* * JS1.2 imitated the Perl4 bug where left context at each step * in an iterative use of a global regexp started from last match, * not from the start of the target string. But Perl4 does start * $` at the beginning of the target string when it is used in a * substitution, so we emulate that special case here. */ res.leftContext.index = 0; res.leftContext.length = res.lastMatch.index; } return res.leftContext; case '\'': return res.rightContext; } return null; }
12376 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12376/0123e33bfd4e406130431ba8128f87c928ad6ac0/RegExpImpl.java/buggy/js/rhino/org/mozilla/javascript/regexp/RegExpImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 2592, 780, 10634, 40, 25442, 12, 13673, 2828, 400, 16, 1149, 8526, 5248, 16, 509, 9986, 16, 19694, 509, 9107, 16, 509, 8526, 2488, 13, 565, 288, 3639, 1149, 8526, 3474, 31, 3639, 509, 3283, 31, 3639, 1149, 6744, 31, 3639, 509, 818, 16, 1853, 31, 3639, 1748, 7852, 279, 2863, 23253, 261, 13107, 14520, 13, 358, 4114, 4662, 21, 6, 5527, 18, 1195, 3639, 309, 261, 2414, 63, 9295, 65, 480, 3365, 6134, 5411, 604, 394, 3235, 5621, 3639, 309, 261, 9295, 405, 9107, 597, 5248, 63, 9295, 17, 21, 65, 422, 5282, 13, 5411, 327, 446, 31, 3639, 1748, 5294, 15089, 777, 5722, 80, 845, 17, 728, 26372, 302, 25442, 3152, 18, 1195, 3639, 6744, 273, 5248, 63, 9295, 15, 21, 15533, 3639, 309, 261, 9220, 13673, 18, 291, 10907, 12, 7201, 3719, 288, 4766, 282, 309, 14015, 71, 92, 18, 588, 3779, 1444, 1435, 480, 1772, 18, 5757, 67, 5280, 13, 5397, 597, 261, 71, 92, 18, 588, 3779, 1444, 1435, 1648, 1772, 18, 5757, 67, 21, 67, 24, 3719, 288, 7734, 309, 261, 7201, 422, 296, 20, 6134, 10792, 327, 446, 31, 7734, 1748, 2073, 364, 9391, 358, 4543, 20062, 70, 2456, 11078, 6970, 6815, 18, 1195, 7734, 818, 273, 374, 31, 7734, 3474, 273, 5248, 31, 7734, 3283, 273, 9986, 31, 7734, 1323, 261, 9904, 4057, 411, 3474, 18, 2469, 597, 16717, 13673, 18, 291, 10907, 12, 7201, 273, 3474, 63, 4057, 22643, 288, 10792, 1853, 273, 1728, 380, 818, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 2592, 780, 10634, 40, 25442, 12, 13673, 2828, 400, 16, 1149, 8526, 5248, 16, 509, 9986, 16, 19694, 509, 9107, 16, 509, 8526, 2488, 13, 565, 288, 3639, 1149, 8526, 3474, 31, 3639, 509, 3283, 31, 3639, 1149, 6744, 31, 3639, 509, 818, 16, 1853, 31, 3639, 1748, 7852, 279, 2863, 23253, 261, 13107, 14520, 13, 358, 4114, 4662, 21, 6, 5527, 18, 1195, 3639, 309, 261, 2414, 63, 9295, 65, 480, 3365, 6134, 5411, 604, 394, 3235, 5621, 3639, 309, 261, 9295, 405, 9107, 597, 5248, 63, 9295, 17, 21, 65, 422, 5282, 13, 5411, 327, 446, 31, 3639, 1748, 5294, 15089, 777, 5722, 80, 845, 17, 728, 26372, 302, 25442, 3152, 18, 1195, 3639, 6744, 2 ]
String[][] section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] );
String[][] section_arr = imcref.getDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] );
public void doPost(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { ImcmsServices imcref = Imcms.getServices(); //lets see if its a super admin we got outherwise get rid of him fast UserDomainObject user = Utility.getLoggedOnUser(req); if (user.isSuperAdmin() == false) { log.debug("the user wasn't a administrator so lets get rid of him"); res.sendRedirect("StartDoc"); return; } StringBuffer htmlToSend = new StringBuffer(); //**** lets handle the add_section-case **** if (req.getParameter("add_section") != null) { String new_section_name = req.getParameter("new_section_name") == null ? "" : req.getParameter("new_section_name").trim(); String[][] section_arr = section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] ); //now we needs a list of the created ones in db Vector vec = new Vector(); String errormsg = ""; //lets start and see if we need to save anything to the db if (!new_section_name.equals("")) { boolean section_exists = false; for( int i=0; i < section_arr.length; i++){ if( new_section_name.equals( section_arr[i][1]) ){ section_exists = true; Properties langproperties = imcref.getLanguageProperties( user ); errormsg = langproperties.getProperty("error/servlet/AdminSection/section_exists"); break; } } //ok we have a new name lets save it to db, but only if it's not exists in db if(!section_exists){ imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "SectionAdd", new String[] {new_section_name} ); section_arr = section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] ); } } vec.add("#errormsg#"); vec.add( errormsg ); vec.add("#section_list#"); vec.add(createOptionList(section_arr, user, null)); //ok lets parse the page with right template htmlToSend.append(imcref.getAdminTemplate( ADD_TEMPLATE, user, vec )); }//end if(req.getParameter("add_section")!= null) //**** end add_section-case **** //**** lets handle the edit_section-case **** if (req.getParameter("edit_section") != null) { //ok first we need to see if we need to shange name on any String new_section = req.getParameter("new_section_name") == null ? "" : req.getParameter("new_section_name").trim(); String section_id = req.getParameter("section_list") == null ? "-1" : req.getParameter("section_list"); if ((!new_section.equals("")) && (!section_id.equals("-1"))) { //ok we have a new name lets save it to db, but only if it's not exists in db imcref.getExceptionUnhandlingDatabase().executeUpdateProcedure( "SectionChangeName", new String[] {section_id, new_section} ); } //now we needs a list of the created ones in db String[][] section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] ); Vector vec = new Vector(); vec.add("#section_list#"); vec.add(createOptionList(section_arr, user, null)); //ok lets parse the page with right template htmlToSend.append(imcref.getAdminTemplate( NAME_TEMPLATE, user, vec )); }//end if (req.getParameter("edit_section")!= null) //**** lend edit_section-case **** //**** lets handle the delete_section-case **** //This is a bit ugly so I think I need to explain it a bit! //Ok the delete procedure works like this //first time we need to get the delete-page //second time we need to see if there is any document connected to the one we intend to delete //if not we just delete it and then get the delete-page again //but if ther is any connections we need to ask the admin what to do (move or get rid of connections) //before we can delete it and get the delate page again if (req.getParameter("delete_section_confirm") != null) { //ok we have been at the confirm-page so lets rock String new_sections = req.getParameter("new_section_confirm"); String del_section = req.getParameter("delete_section"); if (del_section == null || new_sections == null) { log.debug("new_section_confirm or delete_section was null so return"); return; } if (new_sections.equals("-1")) { deleteSection( imcref, del_section ); } else { imcref.getExceptionUnhandlingDatabase().executeUpdateQuery( "update meta_section set section_id = ? where section_id = ?", new String[] {new_sections, del_section}); deleteSection( imcref, del_section ); } } if (req.getParameter("delete_section") != null) { boolean got_confirm_page = false; //keeps track of whitch page to send "delete" or "confirm delete" //ok first we need to see if any section was choosen String section_id = req.getParameter("section_list") == null ? "-1" : req.getParameter("section_list"); if (!section_id.equals("-1")) { //ok we have a request for delete lets see if there is any docs connected to that section_id String doc_nrs = imcref.getExceptionUnhandlingDatabase().executeStringProcedure( "SectionCount", new String[] {section_id} ); int doc_int = 0; if (doc_nrs != null) { try { doc_int = Integer.parseInt(doc_nrs); } catch (NumberFormatException nfe) { //if we end up here something is realy vired because it would never happens I think //so lets do nothing at all, Just be happy and let it rain! } } if (doc_int > 0) { //ok we have documents connected to that section id so lets get a page to handle that String[][] section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] ); Vector vec = new Vector(); vec.add("#section_list#"); vec.add(createOptionList(section_arr, user, section_id)); vec.add("#docs#"); vec.add(doc_nrs); vec.add("#delete_section#"); vec.add(section_id); htmlToSend.append(imcref.getAdminTemplate( DELETE_CONFIRM_TEMPLATE, user, vec )); got_confirm_page = true; } else { //ok we can delete it right a way an carry on with it deleteSection( imcref, section_id ); } } if (!got_confirm_page) { //now we needs a list of the created ones in db String[][] section_arr = imcref.getExceptionUnhandlingDatabase().execute2dArrayProcedure( "SectionGetAllCount", new String[0] ); Vector vec = new Vector(); vec.add("#section_list#"); vec.add(createOptionList(section_arr, user, null)); //ok lets parse the page with right template htmlToSend.append(imcref.getAdminTemplate( DELETE_TEMPLATE, user, vec )); } }//end if (req.getParameter("edit_section")!= null) //**** end delete_section-case **** //**** ok lets rapp it all up ***** //lets see if we got anything to send, if not lets send it to doGet-method instead if (htmlToSend.length() == 0) { doGet(req, res); return; } //ok now lets send the page to browser Utility.setDefaultHtmlContentType( res ); ServletOutputStream out = res.getOutputStream(); out.print(htmlToSend.toString()); out.flush(); out.close(); }//end doPost()
8781 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8781/d057ca863273084a5224bf799ac53247a0f2f321/AdminSection.java/clean/server/src/com/imcode/imcms/servlet/superadmin/AdminSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 368, 17307, 2621, 309, 2097, 279, 2240, 3981, 732, 2363, 596, 1614, 2460, 336, 10911, 434, 366, 381, 4797, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 3658, 1769, 3639, 309, 261, 1355, 18, 291, 8051, 4446, 1435, 422, 629, 13, 288, 5411, 613, 18, 4148, 2932, 5787, 729, 14487, 1404, 279, 22330, 1427, 14557, 336, 10911, 434, 366, 381, 8863, 5411, 400, 18, 4661, 5961, 2932, 1685, 1759, 8863, 5411, 327, 31, 3639, 289, 3639, 6674, 1729, 28878, 273, 394, 6674, 5621, 3639, 368, 1007, 14557, 1640, 326, 527, 67, 3464, 17, 3593, 380, 14465, 3639, 309, 261, 3658, 18, 588, 1662, 2932, 1289, 67, 3464, 7923, 480, 446, 13, 288, 5411, 514, 394, 67, 3464, 67, 529, 273, 1111, 18, 588, 1662, 2932, 2704, 67, 3464, 67, 529, 7923, 422, 446, 692, 1408, 294, 1111, 18, 588, 1662, 2932, 2704, 67, 3464, 67, 529, 20387, 5290, 5621, 5411, 514, 63, 6362, 65, 2442, 67, 5399, 273, 2442, 67, 5399, 273, 709, 71, 1734, 18, 588, 503, 984, 26822, 4254, 7675, 8837, 22, 72, 1076, 17213, 12, 315, 5285, 21413, 1380, 3113, 394, 514, 63, 20, 65, 11272, 5411, 368, 3338, 732, 4260, 279, 666, 434, 326, 2522, 5945, 316, 1319, 5411, 5589, 7062, 273, 394, 5589, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 741, 3349, 12, 2940, 18572, 1111, 16, 12446, 400, 13, 1216, 16517, 16, 1860, 288, 3639, 2221, 6851, 5676, 709, 71, 1734, 273, 2221, 6851, 18, 588, 5676, 5621, 3639, 368, 17307, 2621, 309, 2097, 279, 2240, 3981, 732, 2363, 596, 1614, 2460, 336, 10911, 434, 366, 381, 4797, 3639, 2177, 3748, 921, 729, 273, 13134, 18, 588, 19862, 1398, 1299, 12, 3658, 1769, 3639, 309, 261, 1355, 18, 291, 8051, 4446, 1435, 422, 629, 13, 288, 5411, 613, 18, 4148, 2932, 5787, 729, 14487, 1404, 279, 22330, 1427, 14557, 336, 10911, 434, 366, 381, 8863, 5411, 400, 18, 4661, 5961, 2932, 1685, 1759, 8863, 5411, 327, 31, 3639, 289, 3639, 6674, 1729, 28878, 273, 394, 2 ]
RubyObject dup = funcall(getRuby().intern("clone")); if (!dup.getClass().equals(getClass())) { throw new RubyTypeException(getRuby(), "duplicated object must be same type"); } if (!dup.isSpecialConst()) { dup.setupObject(m_type()); dup.infectObject(this); } return dup; }
RubyObject dup = funcall(getRuby().intern("clone")); if (!dup.getClass().equals(getClass())) { throw new RubyTypeException(getRuby(), "duplicated object must be same type"); } if (!dup.isSpecialConst()) { dup.setupObject(m_type()); dup.infectObject(this); } return dup; }
public RubyObject m_dup() { RubyObject dup = funcall(getRuby().intern("clone")); if (!dup.getClass().equals(getClass())) { throw new RubyTypeException(getRuby(), "duplicated object must be same type"); } if (!dup.isSpecialConst()) { dup.setupObject(m_type()); dup.infectObject(this); } return dup; }
50661 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50661/0a7181933af700ea8025a4197f3a5ebcc08333c3/RubyObject.java/buggy/org/jruby/RubyObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 26427, 1435, 288, 202, 202, 54, 10340, 921, 9417, 273, 1326, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 14056, 7923, 1769, 202, 202, 430, 16051, 26427, 18, 588, 797, 7675, 14963, 12, 588, 797, 1435, 3719, 288, 1082, 202, 12849, 394, 19817, 14144, 12, 588, 54, 10340, 9334, 315, 12262, 690, 733, 1297, 506, 1967, 618, 8863, 202, 202, 97, 202, 202, 430, 16051, 26427, 18, 291, 12193, 9661, 10756, 288, 1082, 202, 26427, 18, 8401, 921, 12, 81, 67, 723, 10663, 1082, 202, 26427, 18, 10625, 386, 921, 12, 2211, 1769, 202, 202, 97, 202, 202, 2463, 9417, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 19817, 921, 312, 67, 26427, 1435, 288, 202, 202, 54, 10340, 921, 9417, 273, 1326, 454, 12, 588, 54, 10340, 7675, 267, 798, 2932, 14056, 7923, 1769, 202, 202, 430, 16051, 26427, 18, 588, 797, 7675, 14963, 12, 588, 797, 1435, 3719, 288, 1082, 202, 12849, 394, 19817, 14144, 12, 588, 54, 10340, 9334, 315, 12262, 690, 733, 1297, 506, 1967, 618, 8863, 202, 202, 97, 202, 202, 430, 16051, 26427, 18, 291, 12193, 9661, 10756, 288, 1082, 202, 26427, 18, 8401, 921, 12, 81, 67, 723, 10663, 1082, 202, 26427, 18, 10625, 386, 921, 12, 2211, 1769, 202, 202, 97, 202, 202, 2463, 9417, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100 ]
return jjMoveStringLiteralDfa4_2(active0, 0x20000000L);
return jjMoveStringLiteralDfa4_2(active0, 0x4000000L);
private final int jjMoveStringLiteralDfa3_2(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_2(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(2, active0); return 3; } switch(curChar) { case 101: if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_2(3, 28, 5); break; case 115: return jjMoveStringLiteralDfa4_2(active0, 0x20000000L); default : break; } return jjStartNfa_2(2, active0);}
9291 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9291/89173502837b4d67a69cd30d0b93cf47ed84c8cc/ParserTokenManager.java/clean/src/java/org/apache/velocity/runtime/parser/ParserTokenManager.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 23, 67, 22, 12, 5748, 1592, 20, 16, 1525, 2695, 20, 15329, 282, 309, 261, 12443, 3535, 20, 12058, 1592, 20, 3719, 422, 374, 48, 13, 1377, 327, 10684, 1685, 50, 507, 67, 22, 12, 21, 16, 1592, 20, 1769, 565, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 10684, 4947, 28565, 40, 507, 67, 22, 12, 22, 16, 2695, 20, 1769, 1377, 327, 890, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13822, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 13, 480, 374, 48, 13, 5411, 327, 10684, 1685, 50, 507, 1190, 7629, 67, 22, 12, 23, 16, 9131, 16, 1381, 1769, 540, 898, 31, 1377, 648, 22821, 30, 540, 327, 10684, 7607, 28565, 40, 507, 24, 67, 22, 12, 3535, 20, 16, 374, 92, 24, 9449, 48, 1769, 1377, 805, 294, 540, 898, 31, 282, 289, 282, 327, 10684, 1685, 50, 507, 67, 22, 12, 22, 16, 2695, 20, 1769, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 3238, 727, 509, 10684, 7607, 28565, 40, 507, 23, 67, 22, 12, 5748, 1592, 20, 16, 1525, 2695, 20, 15329, 282, 309, 261, 12443, 3535, 20, 12058, 1592, 20, 3719, 422, 374, 48, 13, 1377, 327, 10684, 1685, 50, 507, 67, 22, 12, 21, 16, 1592, 20, 1769, 565, 775, 288, 662, 2156, 273, 810, 67, 3256, 18, 896, 2156, 5621, 289, 282, 1044, 12, 6290, 18, 1594, 18, 14106, 425, 13, 288, 1377, 10684, 4947, 28565, 40, 507, 67, 22, 12, 22, 16, 2695, 20, 1769, 1377, 327, 890, 31, 282, 289, 282, 1620, 12, 1397, 2156, 13, 282, 288, 1377, 648, 13822, 30, 540, 309, 14015, 3535, 20, 473, 374, 92, 21, 17877, 48, 13, 480, 374, 2 ]
throw new UnmarshalException("Unable to create RemoteRef instance", ex);
throw new UnmarshalException(Messages.getString("rmi.18"), ex);
private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException { String refName = null; try { refName = in.readUTF(); if (refName.length() == 0) { // read RemoteRef object ref = (RemoteRef) in.readObject(); return; } // well-known RemoteRef types // TODO: the following line is a temporary solution. Line after // that should be uncommented later. String refClName = "org.apache.harmony.rmi.remoteref." + refName; //String refClName = RemoteRef.packagePrefix + "." + refName; ref = ((RemoteRef) Class.forName(refClName).newInstance()); ref.readExternal(in); } catch (Exception ex) { throw new UnmarshalException("Unable to create RemoteRef instance", ex); } }
54769 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54769/b348e06c6dac9b88f66841b025d00af43b5afac0/RemoteObject.java/buggy/modules/rmi/src/main/java/java/rmi/server/RemoteObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 17362, 12, 921, 4348, 316, 13, 5411, 1216, 1860, 16, 10403, 288, 3639, 514, 1278, 461, 273, 446, 31, 3639, 775, 288, 5411, 1278, 461, 273, 316, 18, 896, 5159, 5621, 5411, 309, 261, 1734, 461, 18, 2469, 1435, 422, 374, 13, 288, 7734, 368, 855, 6304, 1957, 733, 7734, 1278, 273, 261, 5169, 1957, 13, 316, 18, 896, 921, 5621, 7734, 327, 31, 5411, 289, 5411, 368, 5492, 17, 2994, 6304, 1957, 1953, 5411, 368, 2660, 30, 326, 3751, 980, 353, 279, 6269, 6959, 18, 5377, 1839, 5411, 368, 4202, 716, 1410, 506, 12704, 475, 329, 5137, 18, 5411, 514, 1278, 2009, 461, 273, 315, 3341, 18, 19211, 18, 30250, 2586, 93, 18, 8864, 77, 18, 2764, 352, 822, 74, 1199, 397, 1278, 461, 31, 5411, 368, 780, 1278, 2009, 461, 273, 6304, 1957, 18, 5610, 2244, 397, 4585, 397, 1278, 461, 31, 5411, 1278, 273, 14015, 5169, 1957, 13, 1659, 18, 1884, 461, 12, 1734, 2009, 461, 2934, 2704, 1442, 10663, 5411, 1278, 18, 896, 6841, 12, 267, 1769, 3639, 289, 1044, 261, 503, 431, 13, 288, 5411, 604, 394, 3814, 503, 2932, 3370, 358, 752, 6304, 1957, 791, 3113, 10792, 431, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 17362, 12, 921, 4348, 316, 13, 5411, 1216, 1860, 16, 10403, 288, 3639, 514, 1278, 461, 273, 446, 31, 3639, 775, 288, 5411, 1278, 461, 273, 316, 18, 896, 5159, 5621, 5411, 309, 261, 1734, 461, 18, 2469, 1435, 422, 374, 13, 288, 7734, 368, 855, 6304, 1957, 733, 7734, 1278, 273, 261, 5169, 1957, 13, 316, 18, 896, 921, 5621, 7734, 327, 31, 5411, 289, 5411, 368, 5492, 17, 2994, 6304, 1957, 1953, 5411, 368, 2660, 30, 326, 3751, 980, 353, 279, 6269, 6959, 18, 5377, 1839, 5411, 368, 4202, 716, 1410, 506, 12704, 475, 329, 5137, 18, 5411, 514, 1278, 2009, 461, 273, 315, 3341, 18, 19211, 18, 30250, 2586, 93, 18, 8864, 77, 2 ]
}
}
private Token readStringToken( final boolean hadWhite, final char ch ) { this.parseString( ch ); final String s = this.makeString(); return new QuotedToken( hadWhite, s, ch ); }
9770 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9770/fff50583233caf8c6645fb50fa0bc7acf1a07ca2/TokenizerImpl.java/buggy/core/src/org/openspice/jspice/lexis/TokenizerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3155, 18646, 1345, 12, 727, 1250, 9323, 13407, 16, 727, 1149, 462, 262, 288, 3639, 333, 18, 2670, 780, 12, 462, 11272, 3639, 727, 514, 272, 273, 333, 18, 6540, 780, 5621, 202, 202, 2463, 394, 4783, 16474, 1345, 12, 9323, 13407, 16, 272, 16, 462, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3155, 18646, 1345, 12, 727, 1250, 9323, 13407, 16, 727, 1149, 462, 262, 288, 3639, 333, 18, 2670, 780, 12, 462, 11272, 3639, 727, 514, 272, 273, 333, 18, 6540, 780, 5621, 202, 202, 2463, 394, 4783, 16474, 1345, 12, 9323, 13407, 16, 272, 16, 462, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
List retval = new ArrayList(); if (selection instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) selection;
List retval = new ArrayList(); if (selection instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) selection;
public void run() { List retval = new ArrayList(); if (selection instanceof IStructuredSelection) { IStructuredSelection structuredSelection = (IStructuredSelection) selection; for (Iterator i = structuredSelection.iterator(); i .hasNext();) { Object next = i.next(); View view = (View) ((IAdaptable) next) .getAdapter(View.class); if (view != null) { EObject eObject = ViewUtil .resolveSemanticElement(view); if (eObject != null) { retval.add(eObject); } else { retval.add(view); } } } } setResult(retval); }
1758 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1758/a0ee4902fb59de0bad9ef4f4c9d49d96dc04e2ee/DiagramEditor.java/clean/org.eclipse.gmf.runtime/plugins/org.eclipse.gmf.runtime.diagram.ui/src/org/eclipse/gmf/runtime/diagram/ui/parts/DiagramEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9944, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 682, 5221, 273, 394, 2407, 5621, 6862, 1082, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 6862, 9506, 202, 45, 30733, 6233, 19788, 6233, 273, 261, 45, 30733, 6233, 13, 4421, 31, 6862, 9506, 202, 1884, 261, 3198, 277, 273, 19788, 6233, 18, 9838, 5621, 277, 6862, 6862, 202, 18, 5332, 2134, 5621, 13, 288, 6862, 6862, 202, 921, 1024, 273, 277, 18, 4285, 5621, 6862, 6862, 202, 1767, 1476, 273, 261, 1767, 13, 14015, 45, 13716, 429, 13, 1024, 13, 6862, 25083, 202, 18, 588, 4216, 12, 1767, 18, 1106, 1769, 6862, 6862, 202, 430, 261, 1945, 480, 446, 13, 288, 6862, 25083, 202, 8029, 425, 921, 273, 4441, 1304, 6862, 6862, 1082, 202, 18, 10828, 13185, 9941, 1046, 12, 1945, 1769, 6862, 25083, 202, 430, 261, 73, 921, 480, 446, 13, 288, 6862, 6862, 1082, 202, 18341, 18, 1289, 12, 73, 921, 1769, 6862, 25083, 202, 97, 469, 288, 6862, 6862, 1082, 202, 18341, 18, 1289, 12, 1945, 1769, 6862, 25083, 202, 97, 6862, 6862, 202, 97, 6862, 9506, 202, 97, 6862, 1082, 202, 97, 6862, 1082, 202, 542, 1253, 12, 18341, 1769, 25083, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 9944, 202, 482, 918, 1086, 1435, 288, 6862, 1082, 202, 682, 5221, 273, 394, 2407, 5621, 6862, 1082, 202, 430, 261, 10705, 1276, 467, 30733, 6233, 13, 288, 6862, 9506, 202, 45, 30733, 6233, 19788, 6233, 273, 261, 45, 30733, 6233, 13, 4421, 31, 6862, 9506, 202, 1884, 261, 3198, 277, 273, 19788, 6233, 18, 9838, 5621, 277, 6862, 6862, 202, 18, 5332, 2134, 5621, 13, 288, 6862, 6862, 202, 921, 1024, 273, 277, 18, 4285, 5621, 6862, 6862, 202, 1767, 1476, 273, 261, 1767, 13, 14015, 45, 13716, 429, 13, 1024, 13, 6862, 25083, 202, 18, 588, 4216, 12, 1767, 18, 1106, 1769, 6862, 6862, 202, 430, 261, 1945, 480, 446, 13, 288, 6862, 25083, 202, 8029, 425, 2 ]
protected IPluginModelBase[] addRequiredPlugins(Map pluginMap)
protected IPluginModelBase[] addRequiredPlugins(Map pluginMap, TestSearchResult result)
protected IPluginModelBase[] addRequiredPlugins(Map pluginMap) throws CoreException { if (!pluginMap.containsKey("org.eclipse.pde.junit.runtime")) { //$NON-NLS-1$ pluginMap.put( "org.eclipse.pde.junit.runtime", //$NON-NLS-1$ findPlugin("org.eclipse.pde.junit.runtime")); //$NON-NLS-1$ } if (!pluginMap.containsKey("org.eclipse.jdt.junit.runtime")) { //$NON-NLS-1$ pluginMap.put( "org.eclipse.jdt.junit.runtime", //$NON-NLS-1$ findPlugin("org.eclipse.jdt.junit.runtime")); //$NON-NLS-1$ } if (!pluginMap.containsKey("org.junit")) { //$NON-NLS-1$ pluginMap.put("org.junit", findPlugin("org.junit")); //$NON-NLS-1$ //$NON-NLS-2$ } return (IPluginModelBase[]) pluginMap.values().toArray( new IPluginModelBase[pluginMap.size()]); }
14404 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/14404/e273f3b2a3a4639046c8aa47c62577a4a1474251/JUnitLaunchConfiguration.java/buggy/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/launcher/JUnitLaunchConfiguration.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 3773, 1488, 2171, 8526, 527, 3705, 9461, 12, 863, 1909, 863, 13, 202, 202, 15069, 30015, 288, 202, 202, 430, 16051, 4094, 863, 18, 12298, 653, 2932, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4094, 863, 18, 458, 12, 9506, 202, 6, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 4720, 3773, 2932, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 16051, 4094, 863, 18, 12298, 653, 2932, 3341, 18, 20416, 18, 78, 7510, 18, 78, 4873, 18, 9448, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4094, 863, 18, 458, 12, 9506, 202, 6, 3341, 18, 20416, 18, 78, 7510, 18, 78, 4873, 18, 9448, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 4720, 3773, 2932, 3341, 18, 20416, 18, 78, 7510, 18, 78, 4873, 18, 9448, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 16051, 4094, 863, 18, 12298, 653, 2932, 3341, 18, 78, 4873, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4094, 863, 18, 458, 2932, 3341, 18, 78, 4873, 3113, 1104, 3773, 2932, 3341, 18, 78, 4873, 7923, 1769, 4329, 3993, 17, 5106, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 467, 3773, 1488, 2171, 8526, 527, 3705, 9461, 12, 863, 1909, 863, 13, 202, 202, 15069, 30015, 288, 202, 202, 430, 16051, 4094, 863, 18, 12298, 653, 2932, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 6, 3719, 288, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 4094, 863, 18, 458, 12, 9506, 202, 6, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 9506, 202, 4720, 3773, 2932, 3341, 18, 20416, 18, 84, 323, 18, 78, 4873, 18, 9448, 7923, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 97, 202, 202, 430, 16051, 4094, 863, 18, 12298, 653, 2932, 2 ]
if (getSite() != null && getSite().getPage() != null && !AbstractRepositoryTaskEditor.this.isDisposed()) if (parentEditor != null) { getSite().getPage().closeEditor(parentEditor, false); } else { getSite().getPage().closeEditor(AbstractRepositoryTaskEditor.this, false); } }
l.selectionChanged(event); }
public void run() { if (getSite() != null && getSite().getPage() != null && !AbstractRepositoryTaskEditor.this.isDisposed()) if (parentEditor != null) { getSite().getPage().closeEditor(parentEditor, false); } else { getSite().getPage().closeEditor(AbstractRepositoryTaskEditor.this, false); } }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/7e276a0fd44b35e55aca19278c22cade6d03adf3/AbstractRepositoryTaskEditor.java/clean/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/editors/AbstractRepositoryTaskEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 430, 261, 588, 4956, 1435, 480, 446, 597, 11021, 7675, 588, 1964, 1435, 480, 446, 597, 401, 7469, 3305, 2174, 6946, 18, 2211, 18, 291, 1669, 7423, 10756, 6862, 202, 430, 261, 2938, 6946, 480, 446, 13, 288, 25083, 202, 588, 4956, 7675, 588, 1964, 7675, 4412, 6946, 12, 2938, 6946, 16, 629, 1769, 6862, 202, 97, 469, 288, 25083, 202, 588, 4956, 7675, 588, 1964, 7675, 4412, 6946, 12, 7469, 3305, 2174, 6946, 18, 2211, 16, 629, 1769, 6862, 202, 97, 1082, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1875, 202, 482, 918, 1086, 1435, 288, 9506, 202, 430, 261, 588, 4956, 1435, 480, 446, 597, 11021, 7675, 588, 1964, 1435, 480, 446, 597, 401, 7469, 3305, 2174, 6946, 18, 2211, 18, 291, 1669, 7423, 10756, 6862, 202, 430, 261, 2938, 6946, 480, 446, 13, 288, 25083, 202, 588, 4956, 7675, 588, 1964, 7675, 4412, 6946, 12, 2938, 6946, 16, 629, 1769, 6862, 202, 97, 469, 288, 25083, 202, 588, 4956, 7675, 588, 1964, 7675, 4412, 6946, 12, 7469, 3305, 2174, 6946, 18, 2211, 16, 629, 1769, 6862, 202, 97, 1082, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
while ( !(prev.getParentNode() instanceof org.apache.xalan.templates.Stylesheet) )
if (!(prev instanceof org.apache.xalan.templates.Stylesheet))
public final XObject getVariableOrParam( XPathContext xctxt, org.apache.xml.utils.QName qname) throws javax.xml.transform.TransformerException { org.apache.xml.utils.PrefixResolver prefixResolver = xctxt.getNamespaceContext(); // Get the current ElemTemplateElement, which must be pushed in as the // prefix resolver, and then walk backwards in document order, searching // for an xsl:param element or xsl:variable element that matches our // qname. If we reach the top level, use the StylesheetRoot's composed // list of top level variables and parameters. if (prefixResolver instanceof org.apache.xalan.templates.ElemTemplateElement) { org.apache.xalan.templates.ElemVariable vvar; org.apache.xalan.templates.ElemTemplateElement prev = (org.apache.xalan.templates.ElemTemplateElement) prefixResolver; while ( !(prev.getParentNode() instanceof org.apache.xalan.templates.Stylesheet) ) { org.apache.xalan.templates.ElemTemplateElement savedprev = prev; while (null != (prev = prev.getPreviousSiblingElem())) { if (prev instanceof org.apache.xalan.templates.ElemVariable) { vvar = (org.apache.xalan.templates.ElemVariable) prev; if (vvar.getName().equals(qname)) return getLocalVariable(xctxt, vvar.getIndex()); } } prev = savedprev.getParentElem(); } vvar = prev.getStylesheetRoot().getVariableOrParamComposed(qname); if (null != vvar) return getGlobalVariable(xctxt, vvar.getIndex()); } throw new javax.xml.transform.TransformerException(XSLMessages.createXPATHMessage(XPATHErrorResources.ER_VAR_NOT_RESOLVABLE, new Object[]{qname.toString()})); //"Variable not resolvable: " + qname); }
2723 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2723/8967f362489d7c11fab7a79468fabaf2c0f18c3b/VariableStack.java/buggy/src/org/apache/xpath/VariableStack.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 1139, 921, 13522, 1162, 786, 12, 1850, 10172, 1042, 25465, 16, 2358, 18, 19211, 18, 2902, 18, 5471, 18, 13688, 12621, 13, 5411, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 2358, 18, 19211, 18, 2902, 18, 5471, 18, 2244, 4301, 1633, 4301, 273, 1377, 25465, 18, 588, 3402, 1042, 5621, 565, 368, 968, 326, 783, 10223, 2283, 1046, 16, 1492, 1297, 506, 18543, 316, 487, 326, 377, 368, 1633, 5039, 16, 471, 1508, 5442, 12727, 316, 1668, 1353, 16, 15300, 377, 368, 364, 392, 20791, 30, 891, 930, 578, 20791, 30, 6105, 930, 716, 1885, 3134, 377, 368, 12621, 18, 225, 971, 732, 9287, 326, 1760, 1801, 16, 999, 326, 29483, 2963, 2375, 1807, 18673, 565, 368, 666, 434, 1760, 1801, 3152, 471, 1472, 18, 565, 309, 261, 3239, 4301, 1276, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 2283, 1046, 13, 565, 288, 5411, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 3092, 331, 1401, 31, 1377, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 2283, 1046, 2807, 273, 3639, 261, 3341, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 2283, 1046, 13, 1633, 4301, 31, 1377, 309, 16051, 12, 10001, 1276, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 24656, 3719, 1377, 288, 3639, 2358, 18, 19211, 18, 92, 4316, 18, 8502, 18, 7498, 2283, 1046, 5198, 10001, 273, 2807, 31, 3639, 1323, 261, 2011, 480, 261, 10001, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 727, 1139, 921, 13522, 1162, 786, 12, 1850, 10172, 1042, 25465, 16, 2358, 18, 19211, 18, 2902, 18, 5471, 18, 13688, 12621, 13, 5411, 1216, 6863, 18, 2902, 18, 6547, 18, 8319, 503, 225, 288, 565, 2358, 18, 19211, 18, 2902, 18, 5471, 18, 2244, 4301, 1633, 4301, 273, 1377, 25465, 18, 588, 3402, 1042, 5621, 565, 368, 968, 326, 783, 10223, 2283, 1046, 16, 1492, 1297, 506, 18543, 316, 487, 326, 377, 368, 1633, 5039, 16, 471, 1508, 5442, 12727, 316, 1668, 1353, 16, 15300, 377, 368, 364, 392, 20791, 30, 891, 930, 578, 20791, 30, 6105, 930, 716, 1885, 3134, 377, 368, 12621, 18, 225, 971, 732, 9287, 326, 1760, 1801, 16, 999, 326, 29483, 2 ]
if( _win32res != null )
if( _win32res != null ) {
protected String getWin32ResParameter() { if( _win32res != null ) return "/win32res:" + _win32res.toString(); else return null; }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/8ce1de2178a0422105fa437c327b49fb5637ff28/CSharp.java/clean/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 13876, 267, 1578, 607, 1662, 1435, 565, 288, 3639, 309, 12, 389, 8082, 1578, 455, 480, 446, 262, 288, 5411, 327, 2206, 8082, 1578, 455, 2773, 397, 389, 8082, 1578, 455, 18, 10492, 5621, 3639, 469, 5411, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 13876, 267, 1578, 607, 1662, 1435, 565, 288, 3639, 309, 12, 389, 8082, 1578, 455, 480, 446, 262, 288, 5411, 327, 2206, 8082, 1578, 455, 2773, 397, 389, 8082, 1578, 455, 18, 10492, 5621, 3639, 469, 5411, 327, 446, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return clazz.getName().endsWith(DefaultGrailsServiceClass.SERVICE) && !Closure.class.isAssignableFrom(clazz);
return isService(clazz.getName()) && !Closure.class.isAssignableFrom(clazz);
public static boolean isService(Class clazz) { return clazz.getName().endsWith(DefaultGrailsServiceClass.SERVICE) && !Closure.class.isAssignableFrom(clazz); }
6460 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6460/9319b2487e82433202c4b7e86c557193a7ad2ae3/GrailsClassUtils.java/clean/src/commons/org/codehaus/groovy/grails/commons/GrailsClassUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 353, 1179, 12, 797, 4003, 13, 288, 202, 202, 2463, 4003, 18, 17994, 7675, 5839, 1190, 12, 1868, 14571, 14573, 1179, 797, 18, 12426, 13, 597, 401, 10573, 18, 1106, 18, 291, 7961, 1265, 12, 830, 3638, 1769, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1250, 353, 1179, 12, 797, 4003, 13, 288, 202, 202, 2463, 4003, 18, 17994, 7675, 5839, 1190, 12, 1868, 14571, 14573, 1179, 797, 18, 12426, 13, 597, 401, 10573, 18, 1106, 18, 291, 7961, 1265, 12, 830, 3638, 1769, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
} else {
} else {
private Object getImageValue() throws TdsException, java.io.IOException { byte[] result; byte hasValue = comm.getByte(); if (hasValue == 0) { result = null; } else { // XXX Have no idea what these 24 bytes are // 2000-06-06 RMK They are the TEXTPTR (16 bytes) and the TIMESTAMP. comm.skip(24); int len = comm.getTdsInt(); // RMK 2000-06-11 // The logic immediately below does not agree with test t0031, // so I'm commenting it out. On the other hand, it's a bit // puzzling that a column defined as TEXT NOT NULL needs the // hasValue byte read just above, but apparently it does. //if (len == 0) //{ // result = null; //} //else if (len >= 0) { result = comm.getBytes(len, true); } else { throw new TdsConfused("String with length<0"); } } return result; }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/082f6b97f424e9550bf490d66efbe1c288b8df9b/Tds.java/clean/trunk/jtds/src/main/net/sourceforge/jtds/jdbc/Tds.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 10567, 620, 1435, 1216, 399, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 1160, 8526, 563, 31, 3639, 1160, 24932, 273, 1543, 18, 588, 3216, 5621, 3639, 309, 261, 5332, 620, 422, 374, 13, 288, 5411, 563, 273, 446, 31, 3639, 289, 3639, 469, 288, 5411, 368, 11329, 21940, 1158, 21463, 4121, 4259, 4248, 1731, 854, 5411, 368, 16291, 17, 7677, 17, 7677, 534, 49, 47, 16448, 854, 326, 9204, 1856, 54, 261, 2313, 1731, 13, 471, 326, 22883, 18, 5411, 1543, 18, 7457, 12, 3247, 1769, 5411, 509, 562, 273, 1543, 18, 588, 56, 2377, 1702, 5621, 5411, 368, 534, 49, 47, 16291, 17, 7677, 17, 2499, 5411, 368, 1021, 4058, 7636, 5712, 1552, 486, 1737, 992, 598, 1842, 268, 713, 6938, 16, 5411, 368, 1427, 467, 17784, 2879, 310, 518, 596, 18, 225, 2755, 326, 1308, 948, 16, 518, 1807, 279, 2831, 5411, 368, 293, 9510, 2456, 716, 279, 1057, 2553, 487, 9204, 4269, 3206, 4260, 326, 5411, 368, 24932, 1160, 855, 2537, 5721, 16, 1496, 29614, 715, 518, 1552, 18, 5411, 368, 430, 261, 1897, 422, 374, 13, 5411, 368, 95, 5411, 368, 282, 563, 273, 446, 31, 5411, 19363, 5411, 368, 12107, 5411, 309, 261, 1897, 1545, 374, 13, 288, 7734, 563, 273, 1543, 18, 588, 2160, 12, 1897, 16, 638, 1769, 5411, 289, 5411, 469, 288, 7734, 604, 394, 399, 2377, 3976, 3668, 2932, 780, 598, 769, 32, 20, 8863, 5411, 289, 3639, 289, 3639, 327, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 10567, 620, 1435, 1216, 399, 2377, 503, 16, 2252, 18, 1594, 18, 14106, 565, 288, 3639, 1160, 8526, 563, 31, 3639, 1160, 24932, 273, 1543, 18, 588, 3216, 5621, 3639, 309, 261, 5332, 620, 422, 374, 13, 288, 5411, 563, 273, 446, 31, 3639, 289, 3639, 469, 288, 5411, 368, 11329, 21940, 1158, 21463, 4121, 4259, 4248, 1731, 854, 5411, 368, 16291, 17, 7677, 17, 7677, 534, 49, 47, 16448, 854, 326, 9204, 1856, 54, 261, 2313, 1731, 13, 471, 326, 22883, 18, 5411, 1543, 18, 7457, 12, 3247, 1769, 5411, 509, 562, 273, 1543, 18, 588, 56, 2377, 1702, 5621, 5411, 368, 534, 49, 47, 16291, 17, 7677, 17, 2499, 5411, 368, 1021, 4058, 7636, 2 ]
null, /* prefix */
public JMethodDeclaration makeNewWork(int functionType, /* either INITWORK or WORK */ JVariableDefinition[] weightFields, JVariableDefinition[] partialFields, JVariableDefinition inputBufferField, JVariableDefinition tempBufferField, JVariableDefinition[] outputBufferFields, int filterSize, int x, int N) { // parameter check if ((functionType != INITWORK) && (functionType != WORK)) { throw new IllegalArgumentException("function type must be either WORK or INITWORK"); } /* the body of the new work function */ JBlock body = new JBlock(); /* first, copy the data from the input tape into the input buffer, element by element */ for (int i=0; i<(N+x-1); i++) { SIRPeekExpression currentPeekExpr = new SIRPeekExpression(new JIntLiteral(i), CStdType.Float); /* note that currentAssignExpr is buff[i] = peek(i) */ body.addStatement(makeArrayAssignment(inputBufferField, i, currentPeekExpr)); } /* add statements to set the rest of the input buffer (eg pad with zeros). */ for (int i=(N+x-1); i<(N+2*(x-1)); i++) { body.addStatement(makeArrayAssignment(inputBufferField, i, 0.0f)); } // now, convert the input buffer to frequency (we only have to do this for each set of inputs once) body.addStatement(makeTimeToFrequencyConversion(inputBufferField, filterSize)); // now, this is where things get complicated by the fact that we could have // multiple FIRs going on in a single filter, with their outputs multiplexed // together. int numFIRs = weightFields.length; // make a callout to the complex multiplication routine for each set of // filter weights that we have. The function prototype is: // static void do_halfcomplex_multiply(float *Y, float *X, float *H, int size); for (int i=0; i<numFIRs; i++) { JExpression[] externalArgs = new JExpression[4]; externalArgs[0] = new JFieldAccessExpression(null, new JThisExpression(null), tempBufferField.getIdent()); externalArgs[1] = new JFieldAccessExpression(null, new JThisExpression(null), inputBufferField.getIdent()); externalArgs[2] = new JFieldAccessExpression(null, new JThisExpression(null), weightFields[i].getIdent()); externalArgs[3] = new JIntLiteral(filterSize); JExpression externalCall = new JMethodCallExpression(null, /* token reference */ null, /* prefix */ MULTIPLY_EXTERNAL, /* ident */ externalArgs); /* args */ JavaStyleComment[] externalComment = makeComment("callout to " + MULTIPLY_EXTERNAL + " to calculate Y[k] = X[k].*H[k](" + i + ")."); body.addStatement(new JExpressionStatement(null,externalCall,externalComment)); /* comments */ // make a callout to the inverse transform routine to convert from Y[k] // to y[n] for each of the FIR filters represented in this linear form // prototype: void convert_from_freq(float* input_buff, float* output_buff, int size) externalArgs = new JExpression[3]; externalArgs[0] = new JFieldAccessExpression(null, new JThisExpression(null), tempBufferField.getIdent()); externalArgs[1] = new JFieldAccessExpression(null, new JThisExpression(null), outputBufferFields[i].getIdent()); externalArgs[2] = new JIntLiteral(filterSize); externalCall = new JMethodCallExpression(null, /* token reference */ null, /* prefix */ FROM_FREQ_EXTERNAL, /* ident */ externalArgs); /* args */ externalComment = makeComment("callout to " + FROM_FREQ_EXTERNAL + " to calculate y[n] = IFFT(Y[k]) (" + i + ")"); body.addStatement(new JExpressionStatement(null,externalCall,externalComment)); } /* if we are in the normal work function, push out the first x-1 values from the local buffer added to the partial results for each * of the output buffers, interleaved.*/ if (functionType == WORK) { for (int currentOutput=0; currentOutput<(x-1); currentOutput++) { // for each of the output buffers for (int currentFIR=0; currentFIR<numFIRs; currentFIR++) { body.addStatement(makeArrayAddAndPushStatement(partialFields[currentFIR], outputBufferFields[currentFIR], currentOutput)); } } } //now, put in code that will push the appropriate N values of inputBuffer[x-1 to N+(x-1)] //back on the tape for (int currentOutput=(x-1); currentOutput<(N+x-1); currentOutput++) { for (int currentFIR = 0; currentFIR < numFIRs; currentFIR++) { body.addStatement(makeArrayPushStatement(outputBufferFields[currentFIR], currentOutput)); } } /* now, copy the last x-1 values in the input buffer into the partial results buffer. */ for (int currentOutput=0; currentOutput < x-1; currentOutput++) { for (int currentFIR = 0; currentFIR < numFIRs; currentFIR++) { body.addStatement(makePartialCopyExpression(partialFields[currentFIR], currentOutput, outputBufferFields[currentFIR], (N+x-1)+currentOutput)); } } /* stick in the appropriate number (N+x-1) of pop calls */ for (int i=0; i<(N+x-1); i++) { body.addStatement(makePopStatement()); } /* figure out what the name of the function should be (work, or initWork) **/ String ident = (functionType == WORK) ? "work" : "initWork"; /* wrap up all the mess that we just made into a new JMethodDeclaration and return it to the caller */ return new JMethodDeclaration(null, /* token reference */ ACC_PUBLIC, /* modifiers */ CStdType.Void, /* return type */ ident, /* identifier */ JFormalParameter.EMPTY,/* paramters */ CClassType.EMPTY, /* exceptions */ body, /* body */ null, /* java doc */ null); /* java style comment */ }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/d5419451add73b15467db965a98b294483352d7f/LEETFrequencyReplacer.java/clean/streams/src/at/dms/kjc/sir/linear/frequency/LEETFrequencyReplacer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 1305, 6094, 1221, 1908, 2421, 12, 474, 445, 559, 16, 1748, 3344, 12584, 10566, 578, 17062, 1195, 25083, 225, 804, 3092, 1852, 8526, 3119, 2314, 16, 25083, 225, 804, 3092, 1852, 8526, 4702, 2314, 16, 25083, 225, 804, 3092, 1852, 810, 1892, 974, 16, 25083, 225, 804, 3092, 1852, 1906, 1892, 974, 16, 25083, 225, 804, 3092, 1852, 8526, 876, 1892, 2314, 16, 25083, 225, 509, 1034, 1225, 16, 509, 619, 16, 509, 423, 13, 288, 202, 759, 1569, 866, 202, 430, 14015, 915, 559, 480, 12584, 10566, 13, 597, 261, 915, 559, 480, 17062, 3719, 288, 202, 565, 604, 394, 2754, 2932, 915, 618, 1297, 506, 3344, 17062, 578, 12584, 10566, 8863, 202, 97, 202, 20308, 326, 1417, 434, 326, 394, 1440, 445, 1195, 202, 46, 1768, 1417, 273, 394, 804, 1768, 5621, 202, 20308, 1122, 16, 1610, 326, 501, 628, 326, 810, 268, 1273, 1368, 326, 810, 1613, 16, 930, 635, 930, 1195, 202, 1884, 261, 474, 277, 33, 20, 31, 277, 32, 12, 50, 15, 92, 17, 21, 1769, 277, 27245, 288, 202, 565, 5705, 54, 30950, 2300, 783, 30950, 4742, 282, 273, 394, 5705, 54, 30950, 2300, 12, 2704, 804, 1702, 6177, 12, 77, 3631, 385, 10436, 559, 18, 4723, 1769, 202, 565, 1748, 4721, 716, 783, 4910, 4742, 353, 6139, 63, 77, 65, 273, 8032, 12, 77, 13, 1195, 202, 565, 1417, 18, 1289, 3406, 12, 6540, 1076, 7729, 12, 2630, 1892, 974, 16, 277, 16, 783, 30950, 4742, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 804, 1305, 6094, 1221, 1908, 2421, 12, 474, 445, 559, 16, 1748, 3344, 12584, 10566, 578, 17062, 1195, 25083, 225, 804, 3092, 1852, 8526, 3119, 2314, 16, 25083, 225, 804, 3092, 1852, 8526, 4702, 2314, 16, 25083, 225, 804, 3092, 1852, 810, 1892, 974, 16, 25083, 225, 804, 3092, 1852, 1906, 1892, 974, 16, 25083, 225, 804, 3092, 1852, 8526, 876, 1892, 2314, 16, 25083, 225, 509, 1034, 1225, 16, 509, 619, 16, 509, 423, 13, 288, 202, 759, 1569, 866, 202, 430, 14015, 915, 559, 480, 12584, 10566, 13, 597, 261, 915, 559, 480, 17062, 3719, 288, 202, 565, 604, 394, 2754, 2932, 915, 618, 1297, 506, 3344, 17062, 578, 12584, 10566, 8863, 202, 97, 202, 2 ]
ResultSet r;
public java.sql.ResultSet getBestRowIdentifier(String catalog, String schema, String table, int scope, boolean nullable) throws SQLException { // for now, this returns an empty result set. Field f[] = new Field[8]; ResultSet r; // ResultSet for the SQL query that we need to do Vector v = new Vector(); // The new ResultSet tuple stuff f[0] = new Field(connection, "SCOPE", iInt2Oid, 2); f[1] = new Field(connection, "COLUMN_NAME", iVarcharOid, NAME_SIZE); f[2] = new Field(connection, "DATA_TYPE", iInt2Oid, 2); f[3] = new Field(connection, "TYPE_NAME", iVarcharOid, NAME_SIZE); f[4] = new Field(connection, "COLUMN_SIZE", iInt4Oid, 4); f[5] = new Field(connection, "BUFFER_LENGTH", iInt4Oid, 4); f[6] = new Field(connection, "DECIMAL_DIGITS", iInt2Oid, 2); f[7] = new Field(connection, "PSEUDO_COLUMN", iInt2Oid, 2); return connection.getResultSet(null, f, v, "OK", 1); }
47288 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47288/7c553901d7ab010ad1cb5bf44f9ca2fdae83909a/AbstractJdbc1DatabaseMetaData.java/clean/src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 28782, 1999, 3004, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 509, 2146, 16, 1250, 8413, 13, 1216, 6483, 202, 95, 202, 202, 759, 364, 2037, 16, 333, 1135, 392, 1008, 563, 444, 18, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 19444, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 22, 65, 273, 394, 2286, 12, 4071, 16, 315, 4883, 67, 2399, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 202, 202, 74, 63, 23, 65, 273, 394, 2286, 12, 4071, 16, 315, 2399, 67, 1985, 3113, 277, 58, 22483, 19105, 16, 6048, 67, 4574, 1769, 202, 202, 74, 63, 24, 65, 273, 394, 2286, 12, 4071, 16, 315, 11009, 67, 4574, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 202, 202, 74, 63, 25, 65, 273, 394, 2286, 12, 4071, 16, 315, 11302, 67, 7096, 3113, 277, 1702, 24, 19105, 16, 1059, 1769, 202, 202, 74, 63, 26, 65, 273, 394, 2286, 12, 4071, 16, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2252, 18, 4669, 18, 13198, 28782, 1999, 3004, 12, 780, 6222, 16, 514, 1963, 16, 514, 1014, 16, 509, 2146, 16, 1250, 8413, 13, 1216, 6483, 202, 95, 202, 202, 759, 364, 2037, 16, 333, 1135, 392, 1008, 563, 444, 18, 202, 202, 974, 284, 8526, 273, 394, 2286, 63, 28, 15533, 202, 202, 13198, 436, 31, 202, 759, 10842, 364, 326, 3063, 843, 716, 732, 1608, 358, 741, 202, 202, 5018, 331, 273, 394, 5589, 5621, 202, 202, 759, 1021, 394, 10842, 3193, 10769, 202, 202, 74, 63, 20, 65, 273, 394, 2286, 12, 4071, 16, 315, 19444, 3113, 277, 1702, 22, 19105, 16, 576, 1769, 202, 202, 74, 63, 21, 65, 273, 394, 2286, 2 ]
private void createNameEntry(Composite client, FormToolkit toolkit, IActionBars actionBars) {
private void createNameEntry(Composite client, FormToolkit toolkit, IActionBars actionBars) {
private void createNameEntry(Composite client, FormToolkit toolkit, IActionBars actionBars) { fNameEntry = new FormEntry(client, toolkit, "Name:", null, false); fNameEntry.setFormEntryListener(new FormEntryAdapter(this, actionBars) { public void textValueChanged(FormEntry entry) { try { getPluginBase().setName(entry.getValue()); } catch (CoreException e) { PDEPlugin.logException(e); } } }); fNameEntry.setEditable(isEditable()); }
8783 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8783/d31a9651542b0f36656cd04a3038389b779eb239/GeneralInfoSection.java/clean/ui/org.eclipse.pde.ui/src_Forms/org/eclipse/pde/internal/ui/neweditor/plugin/GeneralInfoSection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 461, 1622, 12, 9400, 1004, 16, 2748, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 461, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 315, 461, 2773, 16, 446, 16, 629, 1769, 202, 202, 74, 461, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 1301, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 588, 3773, 2171, 7675, 542, 461, 12, 4099, 18, 24805, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 52, 1639, 3773, 18, 1330, 503, 12, 73, 1769, 9506, 202, 97, 1082, 202, 97, 202, 202, 22938, 202, 202, 74, 461, 1622, 18, 542, 15470, 12, 291, 15470, 10663, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 752, 461, 1622, 12, 9400, 1004, 16, 2748, 6364, 8691, 5226, 8691, 16, 467, 1803, 5190, 87, 1301, 5190, 87, 13, 288, 202, 202, 74, 461, 1622, 273, 394, 2748, 1622, 12, 2625, 16, 5226, 8691, 16, 315, 461, 2773, 16, 446, 16, 629, 1769, 202, 202, 74, 461, 1622, 18, 542, 1204, 1622, 2223, 12, 2704, 2748, 1622, 4216, 12, 2211, 16, 1301, 5190, 87, 13, 288, 1082, 202, 482, 918, 977, 620, 5033, 12, 1204, 1622, 1241, 13, 288, 9506, 202, 698, 288, 6862, 202, 588, 3773, 2171, 7675, 542, 461, 12, 4099, 18, 24805, 10663, 9506, 202, 97, 1044, 261, 25341, 425, 13, 288, 6862, 202, 52, 1639, 3773, 18, 1330, 503, 2 ]
private static void out(Object obj) { //System.out.println(obj); //Uncomment this line to see what the test is doing. }
5929 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5929/b7ea3c44a33c40afd8adf6701dc9324ad3f50db0/PersistenceTest.java/clean/src/test/org/prevayler/test/PersistenceTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 596, 12, 921, 1081, 13, 288, 202, 202, 759, 3163, 18, 659, 18, 8222, 12, 2603, 1769, 282, 368, 984, 3469, 333, 980, 358, 2621, 4121, 326, 1842, 353, 9957, 18, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 760, 918, 596, 12, 921, 1081, 13, 288, 202, 202, 759, 3163, 18, 659, 18, 8222, 12, 2603, 1769, 282, 368, 984, 3469, 333, 980, 358, 2621, 4121, 326, 1842, 353, 9957, 18, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (_replacedObjects.objectForKey("_nsButton4") == null) { _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN); _nsButton4.setMargin(new Insets(0, 2, 0, 2));
if (_replacedObjects.objectForKey("_nsButton6") == null) { _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN); _nsButton6.setMargin(new Insets(0, 2, 0, 2));
protected void _init() { super._init(); _setFontForComponent(_eoFormCell24, "Lucida Grande", 13, Font.PLAIN); _eoFormCell24.setTitle("Temple code"); _eoFormCell24.setTitleWidth(135); _eoFormCell24.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell24.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell23, "Lucida Grande", 13, Font.PLAIN); _eoFormCell23.setTitle("Seal to parents date"); _eoFormCell23.setTitleWidth(135); _eoFormCell23.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell23.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell22, "Lucida Grande", 13, Font.PLAIN); _eoFormCell22.setTitle("Temple code"); _eoFormCell22.setTitleWidth(135); _eoFormCell22.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell22.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell21, "Lucida Grande", 13, Font.PLAIN); _eoFormCell21.setTitle("Endowment date"); _eoFormCell21.setTitleWidth(135); _eoFormCell21.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell21.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell20, "Lucida Grande", 13, Font.PLAIN); _eoFormCell20.setTitle("Temple code"); _eoFormCell20.setTitleWidth(135); _eoFormCell20.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell20.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell19, "Lucida Grande", 13, Font.PLAIN); _eoFormCell19.setTitle("Baptism date"); _eoFormCell19.setTitleWidth(135); _eoFormCell19.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell19.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell18, "Lucida Grande", 13, Font.PLAIN); _eoFormCell18.setTitle("Burial place"); _eoFormCell18.setTitleWidth(135); _eoFormCell18.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell18.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell17, "Lucida Grande", 13, Font.PLAIN); _eoFormCell17.setTitle("Burial date"); _eoFormCell17.setTitleWidth(135); _eoFormCell17.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell17.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell16, "Lucida Grande", 13, Font.PLAIN); _eoFormCell16.setTitle("Death place"); _eoFormCell16.setTitleWidth(135); _eoFormCell16.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell16.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell15, "Lucida Grande", 13, Font.PLAIN); _eoFormCell15.setTitle("Death date"); _eoFormCell15.setTitleWidth(135); _eoFormCell15.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell15.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell14, "Lucida Grande", 13, Font.PLAIN); _eoFormCell14.setTitle("Birth place"); _eoFormCell14.setTitleWidth(135); _eoFormCell14.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell14.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell13, "Lucida Grande", 13, Font.PLAIN); _eoFormCell13.setTitle("Birthdate"); _eoFormCell13.setTitleWidth(135); _eoFormCell13.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell13.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell12, "Lucida Grande", 13, Font.PLAIN); _eoFormCell12.setTitle("Given names"); _eoFormCell12.setTitleWidth(135); _eoFormCell12.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell12.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell11, "Lucida Grande", 13, Font.PLAIN); _eoFormCell11.setTitle("Surname"); _eoFormCell11.setTitleWidth(135); _eoFormCell11.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell11.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell10, "Lucida Grande", 13, Font.PLAIN); _eoFormCell10.setTitle("Gender"); _eoFormCell10.setTitleWidth(135); _eoFormCell10.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell10.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell10.setSize(0, 0); _eoFormCell10.setLocation(-1, 0); _nsForm5.add(_eoFormCell10); _eoFormCell11.setSize(0, 0); _eoFormCell11.setLocation(-1, 0); _nsForm5.add(_eoFormCell11); _eoFormCell12.setSize(0, 0); _eoFormCell12.setLocation(-1, 0); _nsForm5.add(_eoFormCell12); _eoFormCell13.setSize(0, 0); _eoFormCell13.setLocation(-1, 0); _nsForm5.add(_eoFormCell13); _eoFormCell14.setSize(0, 0); _eoFormCell14.setLocation(-1, 0); _nsForm5.add(_eoFormCell14); _eoFormCell15.setSize(0, 0); _eoFormCell15.setLocation(-1, 0); _nsForm5.add(_eoFormCell15); _eoFormCell16.setSize(0, 0); _eoFormCell16.setLocation(-1, 0); _nsForm5.add(_eoFormCell16); _eoFormCell17.setSize(0, 0); _eoFormCell17.setLocation(-1, 0); _nsForm5.add(_eoFormCell17); _eoFormCell18.setSize(0, 0); _eoFormCell18.setLocation(-1, 0); _nsForm5.add(_eoFormCell18); _eoFormCell19.setSize(0, 0); _eoFormCell19.setLocation(-1, 0); _nsForm5.add(_eoFormCell19); _eoFormCell20.setSize(0, 0); _eoFormCell20.setLocation(-1, 0); _nsForm5.add(_eoFormCell20); _eoFormCell21.setSize(0, 0); _eoFormCell21.setLocation(-1, 0); _nsForm5.add(_eoFormCell21); _eoFormCell22.setSize(0, 0); _eoFormCell22.setLocation(-1, 0); _nsForm5.add(_eoFormCell22); _eoFormCell23.setSize(0, 0); _eoFormCell23.setLocation(-1, 0); _nsForm5.add(_eoFormCell23); _eoFormCell24.setSize(0, 0); _eoFormCell24.setLocation(-1, 0); _nsForm5.add(_eoFormCell24); _setFontForComponent(_nsForm5, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_nsButton26, "Lucida Grande", 13, Font.PLAIN); _nsButton26.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsButton25, "Lucida Grande", 13, Font.PLAIN); _nsButton25.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView10.getLayout() instanceof EOViewLayout)) { _nsView10.setLayout(new EOViewLayout()); } _nsButton25.setSize(77, 26); _nsButton25.setLocation(446, 448); ((EOViewLayout)_nsView10.getLayout()).setAutosizingMask(_nsButton25, EOViewLayout.MinYMargin); _nsView10.add(_nsButton25); _nsButton26.setSize(77, 26); _nsButton26.setLocation(363, 448); ((EOViewLayout)_nsView10.getLayout()).setAutosizingMask(_nsButton26, EOViewLayout.MinYMargin); _nsView10.add(_nsButton26); _nsForm5.setSize(527, 442); _nsForm5.setLocation(-7, 2); ((EOViewLayout)_nsView10.getLayout()).setAutosizingMask(_nsForm5, EOViewLayout.MinYMargin); _nsView10.add(_nsForm5); _nsView10.setSize(516, 484); _eoFrame6.setTitle("IndividualEdit2"); _eoFrame6.setLocation(523, 91); _eoFrame6.setSize(516, 484); _setFontForComponent(_nsButton24, "Lucida Grande", 13, Font.PLAIN); _nsButton24.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsTextField44, "Lucida Grande", 13, Font.PLAIN); _nsTextField44.setEditable(true); _nsTextField44.setOpaque(true); _nsTextField44.setText(""); _nsTextField44.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField44.setSelectable(true); _nsTextField44.setEnabled(true); _setFontForComponent(_nsTextField43, "Lucida Grande", 13, Font.PLAIN); _nsTextField43.setEditable(false); _nsTextField43.setOpaque(false); _nsTextField43.setText("Choose GEDCOM file to import:"); _nsTextField43.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField43.setSelectable(false); _nsTextField43.setEnabled(true); _nsTextField43.setBorder(null); _setFontForComponent(_nsButton23, "Lucida Grande", 13, Font.PLAIN); _nsButton23.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsButton22, "Lucida Grande", 13, Font.PLAIN); _nsButton22.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_jRadioButton4, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton3, "Lucida Grande", 13, Font.PLAIN); _jRadioButton3.setSize(312, 18); _jRadioButton3.setLocation(0, 0); _nsMatrix2.add(_jRadioButton3); _jRadioButton4.setSize(312, 18); _jRadioButton4.setLocation(0, 20); _nsMatrix2.add(_jRadioButton4); _setFontForComponent(_nsMatrix2, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_nsTextField42, "Lucida Grande", 13, Font.PLAIN); _nsTextField42.setEditable(false); _nsTextField42.setOpaque(false); _nsTextField42.setText("Import GEDCOM File into:"); _nsTextField42.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField42.setSelectable(false); _nsTextField42.setEnabled(true); _nsTextField42.setBorder(null); if (!(_nsView9.getLayout() instanceof EOViewLayout)) { _nsView9.setLayout(new EOViewLayout()); } _nsTextField42.setSize(446, 17); _nsTextField42.setLocation(11, 14); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsTextField42, EOViewLayout.MinYMargin); _nsView9.add(_nsTextField42); _nsMatrix2.setSize(312, 38); _nsMatrix2.setLocation(23, 37); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsMatrix2, EOViewLayout.MinYMargin); _nsView9.add(_nsMatrix2); _nsButton22.setSize(71, 26); _nsButton22.setLocation(386, 312); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsButton22, EOViewLayout.MinYMargin); _nsView9.add(_nsButton22); _nsButton23.setSize(71, 26); _nsButton23.setLocation(308, 312); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsButton23, EOViewLayout.MinYMargin); _nsView9.add(_nsButton23); _nsTextField43.setSize(446, 17); _nsTextField43.setLocation(11, 105); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsTextField43, EOViewLayout.MinYMargin); _nsView9.add(_nsTextField43); _nsTextField44.setSize(354, 22); _nsTextField44.setLocation(26, 130); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsTextField44, EOViewLayout.MinYMargin); _nsView9.add(_nsTextField44); _nsButton24.setSize(71, 26); _nsButton24.setLocation(386, 130); ((EOViewLayout)_nsView9.getLayout()).setAutosizingMask(_nsButton24, EOViewLayout.MinYMargin); _nsView9.add(_nsButton24); _nsView9.setSize(466, 348); _eoFrame5.setTitle("Import"); _eoFrame5.setLocation(363, 190); _eoFrame5.setSize(466, 348); _setFontForComponent(_nsButton21, "Lucida Grande", 13, Font.PLAIN); _nsButton21.setMargin(new Insets(0, 2, 0, 2)); _nsButton21.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_reportsController0, "save", _nsButton21), "")); _setFontForComponent(_nsButton20, "Lucida Grande", 13, Font.PLAIN); _nsButton20.setMargin(new Insets(0, 2, 0, 2)); _nsButton20.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_reportsController0, "cancel", _nsButton20), "")); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _connect(_eoFrame0, _reportsController0, "delegate"); } if (_replacedObjects.objectForKey("_reportsController0") == null) { _connect(_reportsController0, _eoFrame0, "window"); } if (_replacedObjects.objectForKey("_reportsController0") == null) { _connect(_reportsController0, _nsMatrix0, "reportsRadio"); } _setFontForComponent(_nsTextField41, "Lucida Grande", 13, Font.PLAIN); _nsTextField41.setEditable(false); _nsTextField41.setOpaque(false); _nsTextField41.setText("Prefix"); _nsTextField41.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField41.setSelectable(false); _nsTextField41.setEnabled(true); _nsTextField41.setBorder(null); _setFontForComponent(_nsTextField40, "Lucida Grande", 13, Font.PLAIN); _nsTextField40.setEditable(false); _nsTextField40.setOpaque(false); _nsTextField40.setText("RIN: "); _nsTextField40.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField40.setSelectable(false); _nsTextField40.setEnabled(true); _nsTextField40.setBorder(null); _setFontForComponent(_nsTextField39, "Lucida Grande", 13, Font.PLAIN); _nsTextField39.setEditable(false); _nsTextField39.setOpaque(false); _nsTextField39.setText("AFN:"); _nsTextField39.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField39.setSelectable(false); _nsTextField39.setEnabled(true); _nsTextField39.setBorder(null); _setFontForComponent(_nsTextField38, "Lucida Grande", 13, Font.PLAIN); _nsTextField38.setEditable(false); _nsTextField38.setOpaque(false); _nsTextField38.setText("Person Name"); _nsTextField38.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField38.setSelectable(false); _nsTextField38.setEnabled(true); _nsTextField38.setBorder(null); _setFontForComponent(_nsTextField37, "Lucida Grande", 13, Font.PLAIN); _nsTextField37.setEditable(false); _nsTextField37.setOpaque(false); _nsTextField37.setText("Notes for "); _nsTextField37.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField37.setSelectable(false); _nsTextField37.setEnabled(true); _nsTextField37.setBorder(null); if (_replacedObjects.objectForKey("_nsTextView1") == null) { _nsTextView1.setEditable(true); _nsTextView1.setOpaque(true); _nsTextView1.setText(""); } if (!(_nsView8.getLayout() instanceof EOViewLayout)) { _nsView8.setLayout(new EOViewLayout()); } _nsTextView1.setSize(440, 293); _nsTextView1.setLocation(13, 41); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextView1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView8.add(_nsTextView1); _nsTextField37.setSize(67, 17); _nsTextField37.setLocation(11, 16); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextField37, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView8.add(_nsTextField37); _nsTextField38.setSize(377, 17); _nsTextField38.setLocation(80, 16); ((EOViewLayout)_nsView8.getLayout()).setAutosizingMask(_nsTextField38, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView8.add(_nsTextField38); if (_replacedObjects.objectForKey("_eoFrame4") == null) { _nsView8.setSize(466, 348); _eoFrame4.setTitle("Window"); _eoFrame4.setLocation(343, 210); _eoFrame4.setSize(466, 348); } _nsButton19.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_eoFrame4, "makeKeyAndOrderFront", _nsButton19), "")); _setFontForComponent(_nsButton19, "Lucida Grande", 10, Font.PLAIN); _nsButton19.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsBox16.getLayout() instanceof EOViewLayout)) { _nsBox16.setLayout(new EOViewLayout()); } _nsBox17.setSize(487, 1); _nsBox17.setLocation(2, 2); ((EOViewLayout)_nsBox16.getLayout()).setAutosizingMask(_nsBox17, EOViewLayout.MinYMargin); _nsBox16.add(_nsBox17); _nsBox16.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField36, "Lucida Grande", 13, Font.PLAIN); _nsTextField36.setEditable(false); _nsTextField36.setOpaque(false); _nsTextField36.setText("Sealing to Parents"); _nsTextField36.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField36.setSelectable(false); _nsTextField36.setEnabled(true); _nsTextField36.setBorder(null); _setFontForComponent(_nsTextField35, "Lucida Grande", 10, Font.PLAIN); _nsTextField35.setEditable(false); _nsTextField35.setOpaque(false); _nsTextField35.setText("Date:"); _nsTextField35.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField35.setSelectable(false); _nsTextField35.setEnabled(true); _nsTextField35.setBorder(null); _setFontForComponent(_nsTextField34, "Lucida Grande", 10, Font.PLAIN); _nsTextField34.setEditable(false); _nsTextField34.setOpaque(false); _nsTextField34.setText("Temple:"); _nsTextField34.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField34.setSelectable(false); _nsTextField34.setEnabled(true); _nsTextField34.setBorder(null); _setFontForComponent(_nsTextField33, "Lucida Grande", 10, Font.PLAIN); _nsTextField33.setEditable(false); _nsTextField33.setOpaque(false); _nsTextField33.setText("Temple:"); _nsTextField33.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField33.setSelectable(false); _nsTextField33.setEnabled(true); _nsTextField33.setBorder(null); _setFontForComponent(_nsTextField32, "Lucida Grande", 13, Font.PLAIN); _nsTextField32.setEditable(false); _nsTextField32.setOpaque(false); _nsTextField32.setText("Endowment"); _nsTextField32.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField32.setSelectable(false); _nsTextField32.setEnabled(true); _nsTextField32.setBorder(null); _setFontForComponent(_nsTextField31, "Lucida Grande", 10, Font.PLAIN); _nsTextField31.setEditable(false); _nsTextField31.setOpaque(false); _nsTextField31.setText("Date:"); _nsTextField31.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField31.setSelectable(false); _nsTextField31.setEnabled(true); _nsTextField31.setBorder(null); _setFontForComponent(_nsTextField30, "Lucida Grande", 10, Font.PLAIN); _nsTextField30.setEditable(false); _nsTextField30.setOpaque(false); _nsTextField30.setText("Temple:"); _nsTextField30.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField30.setSelectable(false); _nsTextField30.setEnabled(true); _nsTextField30.setBorder(null); _setFontForComponent(_nsTextField29, "Lucida Grande", 10, Font.PLAIN); _nsTextField29.setEditable(false); _nsTextField29.setOpaque(false); _nsTextField29.setText("Date:"); _nsTextField29.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField29.setSelectable(false); _nsTextField29.setEnabled(true); _nsTextField29.setBorder(null); if (!(_nsBox15.getLayout() instanceof EOViewLayout)) { _nsBox15.setLayout(new EOViewLayout()); } _nsForm3.setSize(338, 52); _nsForm3.setLocation(-3, -1); ((EOViewLayout)_nsBox15.getLayout()).setAutosizingMask(_nsForm3, EOViewLayout.MinYMargin); _nsBox15.add(_nsForm3); if (!(_nsBox14.getLayout() instanceof EOViewLayout)) { _nsBox14.setLayout(new EOViewLayout()); } _nsBox15.setSize(378, 55); _nsBox15.setLocation(3, 18); ((EOViewLayout)_nsBox14.getLayout()).setAutosizingMask(_nsBox15, EOViewLayout.MinYMargin); _nsBox14.add(_nsBox15); _nsBox14.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Burial", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox13.getLayout() instanceof EOViewLayout)) { _nsBox13.setLayout(new EOViewLayout()); } _nsForm2.setSize(338, 52); _nsForm2.setLocation(-3, -1); ((EOViewLayout)_nsBox13.getLayout()).setAutosizingMask(_nsForm2, EOViewLayout.MinYMargin); _nsBox13.add(_nsForm2); if (!(_nsBox12.getLayout() instanceof EOViewLayout)) { _nsBox12.setLayout(new EOViewLayout()); } _nsBox13.setSize(378, 55); _nsBox13.setLocation(3, 18); ((EOViewLayout)_nsBox12.getLayout()).setAutosizingMask(_nsBox13, EOViewLayout.MinYMargin); _nsBox12.add(_nsBox13); _nsBox12.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Death", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox11.getLayout() instanceof EOViewLayout)) { _nsBox11.setLayout(new EOViewLayout()); } _nsForm1.setSize(338, 52); _nsForm1.setLocation(-3, -1); ((EOViewLayout)_nsBox11.getLayout()).setAutosizingMask(_nsForm1, EOViewLayout.MinYMargin); _nsBox11.add(_nsForm1); if (!(_nsBox10.getLayout() instanceof EOViewLayout)) { _nsBox10.setLayout(new EOViewLayout()); } _nsBox11.setSize(378, 55); _nsBox11.setLocation(3, 18); ((EOViewLayout)_nsBox10.getLayout()).setAutosizingMask(_nsBox11, EOViewLayout.MinYMargin); _nsBox10.add(_nsBox11); _nsBox10.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Christening", true, "Lucida Grande", 13, Font.PLAIN)); if (!(_nsBox9.getLayout() instanceof EOViewLayout)) { _nsBox9.setLayout(new EOViewLayout()); } _nsForm0.setSize(338, 52); _nsForm0.setLocation(-3, 1); ((EOViewLayout)_nsBox9.getLayout()).setAutosizingMask(_nsForm0, EOViewLayout.MinYMargin); _nsBox9.add(_nsForm0); if (!(_nsBox8.getLayout() instanceof EOViewLayout)) { _nsBox8.setLayout(new EOViewLayout()); } _nsBox9.setSize(378, 55); _nsBox9.setLocation(3, 18); ((EOViewLayout)_nsBox8.getLayout()).setAutosizingMask(_nsBox9, EOViewLayout.MinYMargin); _nsBox8.add(_nsBox9); _nsBox8.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Birth", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField28, "Lucida Grande", 13, Font.PLAIN); _nsTextField28.setEditable(false); _nsTextField28.setOpaque(false); _nsTextField28.setText("Suffix"); _nsTextField28.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField28.setSelectable(false); _nsTextField28.setEnabled(true); _nsTextField28.setBorder(null); _setFontForComponent(_nsTextField27, "Lucida Grande", 13, Font.PLAIN); _nsTextField27.setEditable(false); _nsTextField27.setOpaque(false); _nsTextField27.setText("Baptism"); _nsTextField27.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField27.setSelectable(false); _nsTextField27.setEnabled(true); _nsTextField27.setBorder(null); _setFontForComponent(_nsTextField26, "Lucida Grande", 13, Font.PLAIN); _nsTextField26.setEditable(false); _nsTextField26.setOpaque(false); _nsTextField26.setText("Given names"); _nsTextField26.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField26.setSelectable(false); _nsTextField26.setEnabled(true); _nsTextField26.setBorder(null); _setFontForComponent(_nsTextField25, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField25.setEditable(false); _nsTextField25.setOpaque(false); _nsTextField25.setText("Surname"); _nsTextField25.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField25.setSelectable(false); _nsTextField25.setEnabled(true); _nsTextField25.setBorder(null); _setFontForComponent(_nsTextField24, "Lucida Grande", 13, Font.PLAIN); _nsTextField24.setEditable(false); _nsTextField24.setOpaque(false); _nsTextField24.setText("Gender"); _nsTextField24.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField24.setSelectable(false); _nsTextField24.setEnabled(true); _nsTextField24.setBorder(null); _setFontForComponent(_nsButton18, "Lucida Grande", 13, Font.PLAIN); _nsButton18.setMargin(new Insets(0, 2, 0, 2)); _nsButton18.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_individualEditController0, "cancel", _nsButton18), "")); if (_replacedObjects.objectForKey("_eoFrame2") == null) { _connect(_eoFrame2, _individualEditController0, "delegate"); } _setFontForComponent(_nsTextField23, "Lucida Grande", 13, Font.PLAIN); _nsTextField23.setEditable(false); _nsTextField23.setOpaque(false); _nsTextField23.setText("Unknown"); _nsTextField23.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField23.setSelectable(false); _nsTextField23.setEnabled(true); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField23, "rin"); } _setFontForComponent(_nsTextField22, "Lucida Grande", 13, Font.PLAIN); _nsTextField22.setEditable(true); _nsTextField22.setOpaque(true); _nsTextField22.setText(""); _nsTextField22.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField22.setSelectable(true); _nsTextField22.setEnabled(true); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField22, "afn"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsImageView1, "photo"); } _connect(_nsButton10, _nsComboBox0, "nextFocusableComponent"); _connect(_nsComboBox0, _surnameList0, "dataSource"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField12, "givenNames"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _popup0, "gender"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox1, "prefix"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox2, "suffix"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm0, "birthForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm1, "christeningForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm2, "deathForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsForm3, "burialForm"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField13, "baptismDate"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox3, "baptismTemple"); } _connect(_nsComboBox3, _nsTextField21, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField21, "endowmentDate"); } _setFontForComponent(_nsTextField21, "Lucida Grande", 13, Font.PLAIN); _nsTextField21.setEditable(true); _nsTextField21.setOpaque(true); _nsTextField21.setText(""); _nsTextField21.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField21.setSelectable(true); _nsTextField21.setEnabled(true); _connect(_nsTextField21, _nsComboBox5, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox5, "endowmentTemple"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsTextField20, "sealingToParentDate"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox6, "sealingToParentTemple"); } _connect(_nsComboBox6, _templeList0, "dataSource"); _connect(_nsButton17, _nsButton10, "nextFocusableComponent"); _setFontForComponent(_nsButton17, "Lucida Grande", 13, Font.PLAIN); _nsButton17.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsComboBox6, _nsButton17, "nextFocusableComponent"); _connect(_nsTextField20, _nsComboBox6, "nextFocusableComponent"); _setFontForComponent(_nsTextField20, "Lucida Grande", 13, Font.PLAIN); _nsTextField20.setEditable(true); _nsTextField20.setOpaque(true); _nsTextField20.setText(""); _nsTextField20.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField20.setSelectable(true); _nsTextField20.setEnabled(true); _connect(_nsComboBox5, _nsTextField20, "nextFocusableComponent"); _connect(_nsComboBox5, _templeList0, "dataSource"); _nsTableView5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editChild", _nsTableView5), "")); _connect(_nsTableView5, _familyEditController0, "delegate"); if (_replacedObjects.objectForKey("_eoFrame3") == null) { _connect(_eoFrame3, _familyEditController0, "delegate"); } _setFontForComponent(_nsButton16, "Lucida Grande", 13, Font.PLAIN); _nsButton16.setMargin(new Insets(0, 2, 0, 2)); _nsButton15.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "addChild", _nsButton15), "")); _setFontForComponent(_nsButton15, "Lucida Grande", 13, Font.PLAIN); _nsButton15.setMargin(new Insets(0, 2, 0, 2)); _setFontForComponent(_nsTextField19, "Lucida Grande", 13, Font.PLAIN); _nsTextField19.setEditable(false); _nsTextField19.setOpaque(false); _nsTextField19.setText("Sealing of Wife to Husband"); _nsTextField19.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField19.setSelectable(false); _nsTextField19.setEnabled(true); _nsTextField19.setBorder(null); _setFontForComponent(_nsTextField18, "Lucida Grande", 10, Font.PLAIN); _nsTextField18.setEditable(false); _nsTextField18.setOpaque(false); _nsTextField18.setText("Temple:"); _nsTextField18.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField18.setSelectable(false); _nsTextField18.setEnabled(true); _nsTextField18.setBorder(null); _setFontForComponent(_nsTextField17, "Lucida Grande", 10, Font.PLAIN); _nsTextField17.setEditable(false); _nsTextField17.setOpaque(false); _nsTextField17.setText("Date:"); _nsTextField17.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField17.setSelectable(false); _nsTextField17.setEnabled(true); _nsTextField17.setBorder(null); if (!(_nsBox7.getLayout() instanceof EOViewLayout)) { _nsBox7.setLayout(new EOViewLayout()); } _nsForm4.setSize(389, 52); _nsForm4.setLocation(-3, 4); ((EOViewLayout)_nsBox7.getLayout()).setAutosizingMask(_nsForm4, EOViewLayout.MinYMargin); _nsBox7.add(_nsForm4); _nsButton27.setSize(78, 17); _nsButton27.setLocation(394, 8); ((EOViewLayout)_nsBox7.getLayout()).setAutosizingMask(_nsButton27, EOViewLayout.MinYMargin); _nsBox7.add(_nsButton27); if (!(_nsBox6.getLayout() instanceof EOViewLayout)) { _nsBox6.setLayout(new EOViewLayout()); } _nsBox7.setSize(474, 62); _nsBox7.setLocation(3, 18); ((EOViewLayout)_nsBox6.getLayout()).setAutosizingMask(_nsBox7, EOViewLayout.MinYMargin); _nsBox6.add(_nsBox7); _nsBox6.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Marriage", true, "Lucida Grande", 13, Font.PLAIN)); _setFontForComponent(_nsTextField16, "Lucida Grande", 13, Font.PLAIN); _nsTextField16.setEditable(false); _nsTextField16.setOpaque(false); _nsTextField16.setText("Wife"); _nsTextField16.setHorizontalAlignment(javax.swing.JTextField.RIGHT); _nsTextField16.setSelectable(false); _nsTextField16.setEnabled(true); _nsTextField16.setBorder(null); _setFontForComponent(_nsTextField15, "Lucida Grande", 13, Font.PLAIN); _nsTextField15.setEditable(false); _nsTextField15.setOpaque(false); _nsTextField15.setText("Husband"); _nsTextField15.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField15.setSelectable(false); _nsTextField15.setEnabled(true); _nsTextField15.setBorder(null); _nsButton14.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "cancel", _nsButton14), "")); _setFontForComponent(_nsButton14, "Lucida Grande", 13, Font.PLAIN); _nsButton14.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView7.getLayout() instanceof EOViewLayout)) { _nsView7.setLayout(new EOViewLayout()); } _nsButton11.setSize(106, 26); _nsButton11.setLocation(402, 474); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton11, EOViewLayout.MinYMargin); _nsView7.add(_nsButton11); _nsButton14.setSize(77, 26); _nsButton14.setLocation(318, 474); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton14, EOViewLayout.MinYMargin); _nsView7.add(_nsButton14); _nsBox4.setSize(519, 245); _nsBox4.setLocation(4, 229); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin); _nsView7.add(_nsBox4); _nsButton13.setSize(422, 31); _nsButton13.setLocation(78, 6); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton13, EOViewLayout.MinYMargin); _nsView7.add(_nsButton13); _nsTextField15.setSize(60, 17); _nsTextField15.setLocation(16, 11); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField15, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField15); _nsButton12.setSize(422, 31); _nsButton12.setLocation(78, 39); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton12, EOViewLayout.MinYMargin); _nsView7.add(_nsButton12); _nsTextField16.setSize(60, 17); _nsTextField16.setLocation(16, 44); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField16, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField16); _nsBox6.setSize(480, 83); _nsBox6.setLocation(18, 73); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsBox6, EOViewLayout.MinYMargin); _nsView7.add(_nsBox6); _nsTextField17.setSize(30, 13); _nsTextField17.setLocation(20, 191); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField17, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField17); _nsComboBox4.setSize(273, 26); _nsComboBox4.setLocation(235, 184); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsComboBox4, EOViewLayout.MinYMargin); _nsView7.add(_nsComboBox4); _nsTextField18.setSize(44, 13); _nsTextField18.setLocation(188, 193); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField18, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField18); _nsTextField19.setSize(174, 17); _nsTextField19.setLocation(11, 165); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField19, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField19); _nsTextField14.setSize(126, 22); _nsTextField14.setLocation(54, 186); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsTextField14, EOViewLayout.MinYMargin); _nsView7.add(_nsTextField14); _nsButton15.setSize(77, 27); _nsButton15.setLocation(16, 464); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton15, EOViewLayout.MinYMargin); _nsView7.add(_nsButton15); _nsButton16.setSize(101, 27); _nsButton16.setLocation(98, 464); ((EOViewLayout)_nsView7.getLayout()).setAutosizingMask(_nsButton16, EOViewLayout.MinYMargin); _nsView7.add(_nsButton16); if (_replacedObjects.objectForKey("_eoFrame3") == null) { _nsView7.setSize(517, 510); _eoFrame3.setTitle("FamilyEdit"); _eoFrame3.setLocation(212, 153); _eoFrame3.setSize(517, 510); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _eoFrame3, "window"); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsComboBox4, "sealingTemple"); } _connect(_nsTableView5, _nsButton13, "nextFocusableComponent"); _connect(_nsTableView5, _nsButton13, "nextFocusableComponent"); if (!(_nsBox5.getLayout() instanceof EOViewLayout)) { _nsBox5.setLayout(new EOViewLayout()); } _nsTableView5.setSize(487, 211); _nsTableView5.setLocation(14, 2); ((EOViewLayout)_nsBox5.getLayout()).setAutosizingMask(_nsTableView5, EOViewLayout.MinYMargin); _nsBox5.add(_nsTableView5); if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); } _nsBox5.setSize(519, 227); _nsBox5.setLocation(0, 18); ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin); _nsBox4.add(_nsBox5); _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Children", false, "Lucida Grande", 13, Font.PLAIN)); _connect(_nsBox4, _nsButton13, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton13, "husbandButton"); } _nsButton13.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editHusband", _nsButton13), "")); _setFontForComponent(_nsButton13, "Lucida Grande", 10, Font.PLAIN); _nsButton13.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton13, _nsButton12, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton12, "wifeButton"); } _nsButton12.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "editWife", _nsButton12), "")); _setFontForComponent(_nsButton12, "Lucida Grande", 10, Font.PLAIN); _nsButton12.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton12, _nsButton11, "nextFocusableComponent"); _nsButton11.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "save", _nsButton11), "")); _setFontForComponent(_nsButton11, "Lucida Grande", 13, Font.PLAIN); _nsButton11.setMargin(new Insets(0, 2, 0, 2)); _connect(_nsButton11, _nsForm4, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsForm4, "marriageForm"); } _setFontForComponent(_eoFormCell9, "Lucida Grande", 13, Font.PLAIN); _eoFormCell9.setTitle("Place"); _eoFormCell9.setTitleWidth(42); _eoFormCell9.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell9.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell8, "Lucida Grande", 13, Font.PLAIN); _eoFormCell8.setTitle("Date"); _eoFormCell8.setTitleWidth(42); _eoFormCell8.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell8.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell8.setSize(0, 0); _eoFormCell8.setLocation(-1, 0); _nsForm4.add(_eoFormCell8); _eoFormCell9.setSize(0, 0); _eoFormCell9.setLocation(-1, 0); _nsForm4.add(_eoFormCell9); _setFontForComponent(_nsForm4, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm4, _nsButton27, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsButton27, "divorcedSwitch"); } _nsButton27.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_familyEditController0, "toggleDivorced", _nsButton27), "")); _setFontForComponent(_nsButton27, "Lucida Grande", 13, Font.PLAIN); _connect(_nsButton27, _nsTextField14, "nextFocusableComponent"); _connect(_nsTextField14, _nsComboBox4, "nextFocusableComponent"); _setFontForComponent(_nsTextField14, "Lucida Grande", 13, Font.PLAIN); _nsTextField14.setEditable(true); _nsTextField14.setOpaque(true); _nsTextField14.setText(""); _nsTextField14.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField14.setSelectable(true); _nsTextField14.setEnabled(true); if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsTextField14, "sealingDate"); } if (_replacedObjects.objectForKey("_familyEditController0") == null) { _connect(_familyEditController0, _nsTableView5, "children"); } _connect(_nsTableView5, _familyEditController0, "dataSource"); _eoTableColumn18.setMinWidth(4); _eoTableColumn18.setMaxWidth(1000); _eoTableColumn18.setPreferredWidth(137); _eoTableColumn18.setWidth(137); _eoTableColumn18.setResizable(true); _eoTableColumn18.setHeaderValue(""); if ((_eoTableColumn18.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn18.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn17.setMinWidth(10); _eoTableColumn17.setMaxWidth(1000); _eoTableColumn17.setPreferredWidth(138); _eoTableColumn17.setWidth(138); _eoTableColumn17.setResizable(true); _eoTableColumn17.setHeaderValue(""); if ((_eoTableColumn17.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn17.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn16.setMinWidth(40); _eoTableColumn16.setMaxWidth(1000); _eoTableColumn16.setPreferredWidth(143); _eoTableColumn16.setWidth(143); _eoTableColumn16.setResizable(true); _eoTableColumn16.setHeaderValue(""); if ((_eoTableColumn16.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn16.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn15.setMinWidth(40); _eoTableColumn15.setMaxWidth(1000); _eoTableColumn15.setPreferredWidth(40); _eoTableColumn15.setWidth(40); _eoTableColumn15.setResizable(true); _eoTableColumn15.setHeaderValue(""); if ((_eoTableColumn15.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn15.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _nsTableView5.table().addColumn(_eoTableColumn15); _nsTableView5.table().addColumn(_eoTableColumn16); _nsTableView5.table().addColumn(_eoTableColumn17); _nsTableView5.table().addColumn(_eoTableColumn18); _setFontForComponent(_nsTableView5.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView5.table().setRowHeight(20); _connect(_nsComboBox4, _nsTableView5, "nextFocusableComponent"); _connect(_nsComboBox4, _templeList0, "dataSource"); _connect(_nsComboBox3, _templeList0, "dataSource"); _connect(_nsTextField13, _nsComboBox3, "nextFocusableComponent"); _setFontForComponent(_nsTextField13, "Lucida Grande", 13, Font.PLAIN); _nsTextField13.setEditable(true); _nsTextField13.setOpaque(true); _nsTextField13.setText(""); _nsTextField13.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField13.setSelectable(true); _nsTextField13.setEnabled(true); _connect(_nsForm3, _nsTextField13, "nextFocusableComponent"); _setFontForComponent(_eoFormCell7, "Lucida Grande", 13, Font.PLAIN); _eoFormCell7.setTitle("Place"); _eoFormCell7.setTitleWidth(42); _eoFormCell7.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell7.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell6, "Lucida Grande", 13, Font.PLAIN); _eoFormCell6.setTitle("Date"); _eoFormCell6.setTitleWidth(42); _eoFormCell6.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell6.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell6.setSize(0, 0); _eoFormCell6.setLocation(-1, 0); _nsForm3.add(_eoFormCell6); _eoFormCell7.setSize(0, 0); _eoFormCell7.setLocation(-1, 0); _nsForm3.add(_eoFormCell7); _setFontForComponent(_nsForm3, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm2, _nsForm3, "nextFocusableComponent"); _setFontForComponent(_eoFormCell5, "Lucida Grande", 13, Font.PLAIN); _eoFormCell5.setTitle("Place"); _eoFormCell5.setTitleWidth(42); _eoFormCell5.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell5.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell4, "Lucida Grande", 13, Font.PLAIN); _eoFormCell4.setTitle("Date"); _eoFormCell4.setTitleWidth(42); _eoFormCell4.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell4.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell4.setSize(0, 0); _eoFormCell4.setLocation(-1, 0); _nsForm2.add(_eoFormCell4); _eoFormCell5.setSize(0, 0); _eoFormCell5.setLocation(-1, 0); _nsForm2.add(_eoFormCell5); _setFontForComponent(_nsForm2, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm1, _nsForm2, "nextFocusableComponent"); _setFontForComponent(_eoFormCell3, "Lucida Grande", 13, Font.PLAIN); _eoFormCell3.setTitle("Place"); _eoFormCell3.setTitleWidth(42); _eoFormCell3.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell3.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell2, "Lucida Grande", 13, Font.PLAIN); _eoFormCell2.setTitle("Date"); _eoFormCell2.setTitleWidth(42); _eoFormCell2.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell2.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell2.setSize(0, 0); _eoFormCell2.setLocation(-1, 0); _nsForm1.add(_eoFormCell2); _eoFormCell3.setSize(0, 0); _eoFormCell3.setLocation(-1, 0); _nsForm1.add(_eoFormCell3); _setFontForComponent(_nsForm1, "Lucida Grande", 13, Font.PLAIN); _connect(_nsForm0, _nsForm1, "nextFocusableComponent"); _setFontForComponent(_eoFormCell1, "Lucida Grande", 13, Font.PLAIN); _eoFormCell1.setTitle("Place"); _eoFormCell1.setTitleWidth(42); _eoFormCell1.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell1.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _setFontForComponent(_eoFormCell0, "Lucida Grande", 13, Font.PLAIN); _eoFormCell0.setTitle("Date"); _eoFormCell0.setTitleWidth(42); _eoFormCell0.fieldComponent().setPreferredSize(new Dimension(2, 22)); _eoFormCell0.titleComponent().setHorizontalAlignment(javax.swing.JTextField.RIGHT); _eoFormCell0.setSize(0, 0); _eoFormCell0.setLocation(-1, 0); _nsForm0.add(_eoFormCell0); _eoFormCell1.setSize(0, 0); _eoFormCell1.setLocation(-1, 0); _nsForm0.add(_eoFormCell1); _setFontForComponent(_nsForm0, "Lucida Grande", 13, Font.PLAIN); _connect(_nsComboBox2, _nsForm0, "nextFocusableComponent"); _connect(_nsComboBox1, _nsComboBox2, "nextFocusableComponent"); _connect(_popup0, _nsComboBox1, "nextFocusableComponent"); _setFontForComponent(_popup0, "Lucida Grande", 13, Font.PLAIN); _connect(_nsTextField12, _popup0, "nextFocusableComponent"); _setFontForComponent(_nsTextField12, "Lucida Grande", 13, Font.PLAIN); _nsTextField12.setEditable(true); _nsTextField12.setOpaque(true); _nsTextField12.setText(""); _nsTextField12.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField12.setSelectable(true); _nsTextField12.setEnabled(true); _connect(_nsComboBox0, _nsTextField12, "nextFocusableComponent"); if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _nsComboBox0, "surname"); } if (_replacedObjects.objectForKey("_individualEditController0") == null) { _connect(_individualEditController0, _eoFrame2, "window"); } _nsButton10.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_individualEditController0, "save", _nsButton10), "")); _setFontForComponent(_nsButton10, "Lucida Grande", 13, Font.PLAIN); _nsButton10.setMargin(new Insets(0, 2, 0, 2)); if (!(_nsView6.getLayout() instanceof EOViewLayout)) { _nsView6.setLayout(new EOViewLayout()); } _nsButton10.setSize(77, 26); _nsButton10.setLocation(431, 548); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsButton10, EOViewLayout.MinYMargin); _nsView6.add(_nsButton10); _nsButton18.setSize(77, 26); _nsButton18.setLocation(348, 548); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsButton18, EOViewLayout.MinYMargin); _nsView6.add(_nsButton18); _popup0.setSize(95, 26); _popup0.setLocation(410, -6); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_popup0, EOViewLayout.MinYMargin); _nsView6.add(_popup0); _nsComboBox3.setSize(273, 26); _nsComboBox3.setLocation(235, 418); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox3, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox3); _nsTextField24.setSize(50, 17); _nsTextField24.setLocation(351, -3); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField24, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField24); _nsTextField25.setSize(63, 17); _nsTextField25.setLocation(30, 2); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField25, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField25); _nsTextField26.setSize(85, 17); _nsTextField26.setLocation(11, 27); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField26, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField26); _nsTextField27.setSize(55, 17); _nsTextField27.setLocation(11, 399); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField27, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField27); _nsImageView1.setSize(96, 93); _nsImageView1.setLocation(411, 97); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsImageView1, EOViewLayout.MinYMargin); _nsView6.add(_nsImageView1); _nsButton17.setSize(121, 26); _nsButton17.setLocation(400, 193); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsButton17, EOViewLayout.MinYMargin); _nsView6.add(_nsButton17); _nsTextField12.setSize(213, 22); _nsTextField12.setLocation(109, 24); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField12, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField12); _nsTextField28.setSize(43, 17); _nsTextField28.setLocation(186, 57); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField28, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField28); _nsComboBox2.setSize(125, 26); _nsComboBox2.setLocation(234, 52); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox2, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox2); _nsComboBox0.setSize(216, 26); _nsComboBox0.setLocation(109, -6); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox0, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox0); _nsBox8.setSize(384, 76); _nsBox8.setLocation(13, 87); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsBox8, EOViewLayout.MinYMargin); _nsView6.add(_nsBox8); _nsBox10.setSize(384, 76); _nsBox10.setLocation(13, 163); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsBox10, EOViewLayout.MinYMargin); _nsView6.add(_nsBox10); _nsBox12.setSize(384, 76); _nsBox12.setLocation(13, 239); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsBox12, EOViewLayout.MinYMargin); _nsView6.add(_nsBox12); _nsBox14.setSize(384, 76); _nsBox14.setLocation(13, 314); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsBox14, EOViewLayout.MinYMargin); _nsView6.add(_nsBox14); _nsTextField13.setSize(126, 22); _nsTextField13.setLocation(54, 420); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField13, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField13); _nsTextField29.setSize(30, 13); _nsTextField29.setLocation(20, 425); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField29, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField29); _nsTextField30.setSize(44, 13); _nsTextField30.setLocation(188, 427); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField30, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField30); _nsTextField31.setSize(30, 13); _nsTextField31.setLocation(20, 474); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField31, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField31); _nsTextField32.setSize(78, 17); _nsTextField32.setLocation(11, 448); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField32, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField32); _nsTextField33.setSize(44, 13); _nsTextField33.setLocation(188, 476); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField33, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField33); _nsTextField21.setSize(126, 22); _nsTextField21.setLocation(54, 469); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField21, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField21); _nsComboBox5.setSize(273, 26); _nsComboBox5.setLocation(235, 467); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox5, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox5); _nsTextField20.setSize(126, 22); _nsTextField20.setLocation(54, 518); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField20, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField20); _nsComboBox6.setSize(273, 26); _nsComboBox6.setLocation(235, 516); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox6, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox6); _nsTextField34.setSize(44, 13); _nsTextField34.setLocation(188, 525); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField34, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField34); _nsTextField35.setSize(30, 13); _nsTextField35.setLocation(20, 523); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField35, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField35); _nsTextField36.setSize(117, 17); _nsTextField36.setLocation(11, 497); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField36, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField36); _nsBox16.setSize(491, 5); _nsBox16.setLocation(13, 79); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsBox16, EOViewLayout.MinYMargin); _nsView6.add(_nsBox16); _nsButton19.setSize(58, 55); _nsButton19.setLocation(430, 339); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsButton19, EOViewLayout.MinYMargin); _nsView6.add(_nsButton19); _nsTextField22.setSize(96, 22); _nsTextField22.setLocation(409, 303); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField22, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField22); _nsTextField39.setSize(34, 17); _nsTextField39.setLocation(409, 284); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField39, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField39); _nsTextField40.setSize(34, 17); _nsTextField40.setLocation(406, 55); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField40, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField40); _nsTextField23.setSize(67, 22); _nsTextField23.setLocation(436, 53); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField23, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField23); _nsComboBox1.setSize(125, 26); _nsComboBox1.setLocation(59, 52); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsComboBox1, EOViewLayout.MinYMargin); _nsView6.add(_nsComboBox1); _nsTextField41.setSize(43, 17); _nsTextField41.setLocation(11, 57); ((EOViewLayout)_nsView6.getLayout()).setAutosizingMask(_nsTextField41, EOViewLayout.MinYMargin); _nsView6.add(_nsTextField41); if (_replacedObjects.objectForKey("_eoFrame2") == null) { _nsView6.setSize(517, 599); _eoFrame2.setTitle("IndividualEdit"); _eoFrame2.setLocation(357, 119); _eoFrame2.setSize(517, 599); } if (_replacedObjects.objectForKey("_nsTableView4") == null) { _connect(_nsTableView4, _individualList0, "delegate"); } if (_replacedObjects.objectForKey("_nsTableView4") == null) { _connect(_nsTableView4, _individualList0, "dataSource"); } _eoTableColumn14.setMinWidth(64); _eoTableColumn14.setMaxWidth(1000); _eoTableColumn14.setPreferredWidth(193); _eoTableColumn14.setWidth(193); _eoTableColumn14.setResizable(true); _eoTableColumn14.setHeaderValue("Birth place"); _eoTableColumn13.setMinWidth(10); _eoTableColumn13.setMaxWidth(1000); _eoTableColumn13.setPreferredWidth(125); _eoTableColumn13.setWidth(125); _eoTableColumn13.setResizable(true); _eoTableColumn13.setHeaderValue("Birth date"); _eoTableColumn12.setMinWidth(40); _eoTableColumn12.setMaxWidth(1000); _eoTableColumn12.setPreferredWidth(253); _eoTableColumn12.setWidth(253); _eoTableColumn12.setResizable(true); _eoTableColumn12.setHeaderValue("Name"); _eoTableColumn11.setMinWidth(40); _eoTableColumn11.setMaxWidth(1000); _eoTableColumn11.setPreferredWidth(40); _eoTableColumn11.setWidth(40); _eoTableColumn11.setResizable(true); _eoTableColumn11.setHeaderValue("ID"); if (_replacedObjects.objectForKey("_nsTableView4") == null) { _nsTableView4.table().addColumn(_eoTableColumn11); _nsTableView4.table().addColumn(_eoTableColumn12); _nsTableView4.table().addColumn(_eoTableColumn13); _nsTableView4.table().addColumn(_eoTableColumn14); _setFontForComponent(_nsTableView4.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView4.table().setRowHeight(20); } if (!(_nsView3.getLayout() instanceof EOViewLayout)) { _nsView3.setLayout(new EOViewLayout()); } _nsTableView4.setSize(640, 448); _nsTableView4.setLocation(20, 20); ((EOViewLayout)_nsView3.getLayout()).setAutosizingMask(_nsTableView4, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView3.add(_nsTableView4); if (_replacedObjects.objectForKey("_nsTableView3") == null) { _connect(_nsTableView3, _familyList0, "delegate"); } if (_replacedObjects.objectForKey("_nsTableView3") == null) { _connect(_nsTableView3, _familyList0, "dataSource"); } _eoTableColumn10.setMinWidth(53); _eoTableColumn10.setMaxWidth(1000); _eoTableColumn10.setPreferredWidth(76); _eoTableColumn10.setWidth(76); _eoTableColumn10.setResizable(true); _eoTableColumn10.setHeaderValue("Children"); if ((_eoTableColumn10.getCellRenderer() instanceof DefaultTableCellRenderer) || (_eoTableColumn10.getCellRenderer() == null)) { DefaultTableCellRenderer renderer = new DefaultTableCellRenderer(); renderer.setHorizontalAlignment(javax.swing.JTextField.CENTER); _eoTableColumn10.setCellRenderer(renderer); } _eoTableColumn9.setMinWidth(10); _eoTableColumn9.setMaxWidth(1000); _eoTableColumn9.setPreferredWidth(133); _eoTableColumn9.setWidth(133); _eoTableColumn9.setResizable(true); _eoTableColumn9.setHeaderValue("Marriage Date"); _eoTableColumn8.setMinWidth(10); _eoTableColumn8.setMaxWidth(1000); _eoTableColumn8.setPreferredWidth(180); _eoTableColumn8.setWidth(180); _eoTableColumn8.setResizable(true); _eoTableColumn8.setHeaderValue("Wife"); _eoTableColumn7.setMinWidth(40); _eoTableColumn7.setMaxWidth(1000); _eoTableColumn7.setPreferredWidth(179); _eoTableColumn7.setWidth(179); _eoTableColumn7.setResizable(true); _eoTableColumn7.setHeaderValue("Husband"); _eoTableColumn6.setMinWidth(40); _eoTableColumn6.setMaxWidth(1000); _eoTableColumn6.setPreferredWidth(40); _eoTableColumn6.setWidth(40); _eoTableColumn6.setResizable(true); _eoTableColumn6.setHeaderValue("ID"); if (_replacedObjects.objectForKey("_nsTableView3") == null) { _nsTableView3.table().addColumn(_eoTableColumn6); _nsTableView3.table().addColumn(_eoTableColumn7); _nsTableView3.table().addColumn(_eoTableColumn8); _nsTableView3.table().addColumn(_eoTableColumn9); _nsTableView3.table().addColumn(_eoTableColumn10); _setFontForComponent(_nsTableView3.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView3.table().setRowHeight(20); } if (!(_nsView2.getLayout() instanceof EOViewLayout)) { _nsView2.setLayout(new EOViewLayout()); } _nsTableView3.setSize(640, 448); _nsTableView3.setLocation(20, 20); ((EOViewLayout)_nsView2.getLayout()).setAutosizingMask(_nsTableView3, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView2.add(_nsTableView3); _jCheckBox0.setSize(77, 17); _jCheckBox0.setLocation(0, 0); _nsMatrix1.add(_jCheckBox0); _jCheckBox1.setSize(77, 17); _jCheckBox1.setLocation(81, 0); _nsMatrix1.add(_jCheckBox1); _setFontForComponent(_nsTextField11, "Lucida Grande", 13, Font.PLAIN); _nsTextField11.setEditable(false); _nsTextField11.setOpaque(false); _nsTextField11.setText("Notes:"); _nsTextField11.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField11.setSelectable(false); _nsTextField11.setEnabled(true); _nsTextField11.setBorder(null); _setFontForComponent(_nsTextField10, "Lucida Grande", 13, Font.PLAIN); _nsTextField10.setEditable(false); _nsTextField10.setOpaque(false); _nsTextField10.setText("Events:"); _nsTextField10.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField10.setSelectable(false); _nsTextField10.setEnabled(true); _nsTextField10.setBorder(null); if (_replacedObjects.objectForKey("_jCheckBox1") == null) { _setFontForComponent(_jCheckBox1, "Lucida Grande", 13, Font.PLAIN); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _jCheckBox1, "privacy"); } if (_replacedObjects.objectForKey("_jCheckBox0") == null) { _setFontForComponent(_jCheckBox0, "Lucida Grande", 13, Font.PLAIN); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _jCheckBox0, "locked"); } if (_replacedObjects.objectForKey("_nsTextField9") == null) { _setFontForComponent(_nsTextField9, "Lucida Grande", 13, Font.PLAIN); _nsTextField9.setEditable(false); _nsTextField9.setOpaque(false); _nsTextField9.setText("System Font Text"); _nsTextField9.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField9.setSelectable(false); _nsTextField9.setEnabled(true); _nsTextField9.setBorder(null); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextField9, "infoText"); } if (_replacedObjects.objectForKey("_nsTextView0") == null) { _nsTextView0.setEditable(false); _nsTextView0.setOpaque(true); _nsTextView0.setText(""); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextView0, "noteText"); } if (_replacedObjects.objectForKey("_nsTextField8") == null) { _setFontForComponent(_nsTextField8, "Lucida Grande", 13, Font.PLAIN); _nsTextField8.setEditable(false); _nsTextField8.setOpaque(false); _nsTextField8.setText("System Font Text"); _nsTextField8.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField8.setSelectable(false); _nsTextField8.setEnabled(true); _nsTextField8.setBorder(null); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTextField8, "detailsText"); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsImageView0, "photo"); } if (_replacedObjects.objectForKey("_individualDetailController0") == null) { _connect(_individualDetailController0, _nsTableView2, "eventTable"); } if (_replacedObjects.objectForKey("_nsTableView2") == null) { _connect(_nsTableView2, _individualDetailController0, "dataSource"); } _eoTableColumn5.setMinWidth(4); _eoTableColumn5.setMaxWidth(1000); _eoTableColumn5.setPreferredWidth(388); _eoTableColumn5.setWidth(388); _eoTableColumn5.setResizable(true); _eoTableColumn5.setHeaderValue("Place"); if ((_eoTableColumn5.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn5.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn4.setMinWidth(8); _eoTableColumn4.setMaxWidth(1000); _eoTableColumn4.setPreferredWidth(131); _eoTableColumn4.setWidth(131); _eoTableColumn4.setResizable(true); _eoTableColumn4.setHeaderValue("Date"); if ((_eoTableColumn4.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn4.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn3.setMinWidth(40); _eoTableColumn3.setMaxWidth(1000); _eoTableColumn3.setPreferredWidth(95); _eoTableColumn3.setWidth(95); _eoTableColumn3.setResizable(true); _eoTableColumn3.setHeaderValue("Type"); if ((_eoTableColumn3.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn3.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView2") == null) { _nsTableView2.table().addColumn(_eoTableColumn3); _nsTableView2.table().addColumn(_eoTableColumn4); _nsTableView2.table().addColumn(_eoTableColumn5); _setFontForComponent(_nsTableView2.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView2.table().setRowHeight(20); } if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); } _nsTableView2.setSize(640, 189); _nsTableView2.setLocation(20, 279); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTableView2, EOViewLayout.MinYMargin); _nsView1.add(_nsTableView2); _nsImageView0.setSize(161, 176); _nsImageView0.setLocation(502, 83); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin); _nsView1.add(_nsImageView0); _nsTextView0.setSize(456, 88); _nsTextView0.setLocation(20, 168); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextView0, EOViewLayout.MinYMargin); _nsView1.add(_nsTextView0); _nsTextField9.setSize(462, 131); _nsTextField9.setLocation(18, 20); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField9, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField9); _nsTextField10.setSize(49, 17); _nsTextField10.setLocation(18, 261); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField10, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField10); _nsTextField11.setSize(45, 17); _nsTextField11.setLocation(18, 150); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField11, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField11); _nsMatrix1.setSize(159, 18); _nsMatrix1.setLocation(503, 62); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsMatrix1, EOViewLayout.MinYMargin); _nsView1.add(_nsMatrix1); _nsTextField8.setSize(160, 41); _nsTextField8.setLocation(503, 20); ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField8, EOViewLayout.MinYMargin); _nsView1.add(_nsTextField8); if (_replacedObjects.objectForKey("_nsButton9") == null) { _setFontForComponent(_nsButton9, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsButton9.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField7, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField7.setEditable(false); _nsTextField7.setOpaque(false); _nsTextField7.setText("Grandmother\n"); _nsTextField7.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField7.setSelectable(false); _nsTextField7.setEnabled(true); _nsTextField7.setBorder(null); if (_replacedObjects.objectForKey("_nsButton8") == null) { _setFontForComponent(_nsButton8, "Lucida Grande", 13, Font.PLAIN); _nsButton8.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField6.setEditable(false); _nsTextField6.setOpaque(false); _nsTextField6.setText("Grandfather\n"); _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField6.setSelectable(false); _nsTextField6.setEnabled(true); _nsTextField6.setBorder(null); if (_replacedObjects.objectForKey("_nsButton7") == null) { _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN); _nsButton7.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField5.setEditable(false); _nsTextField5.setOpaque(false); _nsTextField5.setText("Grandmother\n"); _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField5.setSelectable(false); _nsTextField5.setEnabled(true); _nsTextField5.setBorder(null); if (_replacedObjects.objectForKey("_nsButton6") == null) { _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN); _nsButton6.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField4, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField4.setEditable(false); _nsTextField4.setOpaque(false); _nsTextField4.setText("Mother\n"); _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField4.setSelectable(false); _nsTextField4.setEnabled(true); _nsTextField4.setBorder(null); if (_replacedObjects.objectForKey("_nsButton5") == null) { _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN); _nsButton5.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField3, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField3.setEditable(false); _nsTextField3.setOpaque(false); _nsTextField3.setText("Spouse\n"); _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField3.setSelectable(false); _nsTextField3.setEnabled(true); _nsTextField3.setBorder(null); if (_replacedObjects.objectForKey("_nsButton4") == null) { _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN); _nsButton4.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField2, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField2.setEditable(false); _nsTextField2.setOpaque(false); _nsTextField2.setText("Individual\n"); _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField2.setSelectable(false); _nsTextField2.setEnabled(true); _nsTextField2.setBorder(null); if (_replacedObjects.objectForKey("_nsButton3") == null) { _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN); _nsButton3.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField1.setEditable(false); _nsTextField1.setOpaque(false); _nsTextField1.setText("Father\n"); _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField1.setSelectable(false); _nsTextField1.setEnabled(true); _nsTextField1.setBorder(null); if (_replacedObjects.objectForKey("_nsButton2") == null) { _setFontForComponent(_nsButton2, "Lucida Grande", 13, Font.PLAIN); _nsButton2.setMargin(new Insets(0, 2, 0, 2)); } _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsTextField0.setEditable(false); _nsTextField0.setOpaque(false); _nsTextField0.setText("Grandfather\n"); _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT); _nsTextField0.setSelectable(false); _nsTextField0.setEnabled(true); _nsTextField0.setBorder(null); if (_replacedObjects.objectForKey("_nsButton1") == null) { _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN); _nsButton1.setMargin(new Insets(0, 2, 0, 2)); } if (_replacedObjects.objectForKey("_nsButton0") == null) { _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN + Font.BOLD); _nsButton0.setMargin(new Insets(0, 2, 0, 2)); } _eoTableColumn2.setMinWidth(40); _eoTableColumn2.setMaxWidth(1000); _eoTableColumn2.setPreferredWidth(160); _eoTableColumn2.setWidth(160); _eoTableColumn2.setResizable(true); _eoTableColumn2.setHeaderValue(""); if ((_eoTableColumn2.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn2.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView1") == null) { _nsTableView1.table().addColumn(_eoTableColumn2); _setFontForComponent(_nsTableView1.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView1.table().setRowHeight(20); } if (!(_nsBox3.getLayout() instanceof EOViewLayout)) { _nsBox3.setLayout(new EOViewLayout()); } _nsTableView1.setSize(180, 175); _nsTableView1.setLocation(14, 6); ((EOViewLayout)_nsBox3.getLayout()).setAutosizingMask(_nsTableView1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsBox3.add(_nsTableView1); if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); } _nsBox3.setSize(212, 195); _nsBox3.setLocation(0, 18); ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin); _nsBox2.add(_nsBox3); _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Individual's Spouses", false, "Lucida Grande", 13, Font.PLAIN + Font.BOLD)); _eoTableColumn1.setMinWidth(8); _eoTableColumn1.setMaxWidth(1000); _eoTableColumn1.setPreferredWidth(123); _eoTableColumn1.setWidth(123); _eoTableColumn1.setResizable(false); _eoTableColumn1.setHeaderValue(""); if ((_eoTableColumn1.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn1.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } _eoTableColumn0.setMinWidth(40); _eoTableColumn0.setMaxWidth(1000); _eoTableColumn0.setPreferredWidth(40); _eoTableColumn0.setWidth(40); _eoTableColumn0.setResizable(false); _eoTableColumn0.setHeaderValue(""); if ((_eoTableColumn0.getCellRenderer() instanceof DefaultTableCellRenderer) || (_eoTableColumn0.getCellRenderer() == null)) { DefaultTableCellRenderer renderer = new DefaultTableCellRenderer(); renderer.setHorizontalAlignment(javax.swing.JTextField.CENTER); _eoTableColumn0.setCellRenderer(renderer); } if ((_eoTableColumn0.getHeaderRenderer() != null)) { ((DefaultTableCellRenderer)(_eoTableColumn0.getHeaderRenderer())).setHorizontalAlignment(javax.swing.JTextField.LEFT); } if (_replacedObjects.objectForKey("_nsTableView0") == null) { _nsTableView0.table().addColumn(_eoTableColumn0); _nsTableView0.table().addColumn(_eoTableColumn1); _setFontForComponent(_nsTableView0.table().getTableHeader(), "Lucida Grande", 11, Font.PLAIN); _nsTableView0.table().setRowHeight(20); } if (!(_nsBox1.getLayout() instanceof EOViewLayout)) { _nsBox1.setLayout(new EOViewLayout()); } _nsTableView0.setSize(186, 175); _nsTableView0.setLocation(14, 6); ((EOViewLayout)_nsBox1.getLayout()).setAutosizingMask(_nsTableView0, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsBox1.add(_nsTableView0); if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); } _nsBox1.setSize(218, 195); _nsBox1.setLocation(0, 18); ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin); _nsBox0.add(_nsBox1); _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("Children", false, "Lucida Grande", 13, Font.PLAIN + Font.BOLD)); if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); } _nsBox0.setSize(218, 213); _nsBox0.setLocation(17, 271); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsBox0); _nsBox2.setSize(212, 213); _nsBox2.setLocation(237, 271); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsBox2); _nsButton0.setSize(143, 28); _nsButton0.setLocation(299, 129); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton0); _nsButton1.setSize(204, 105); _nsButton1.setLocation(458, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable); _nsView0.add(_nsButton1); _nsTextField0.setSize(114, 32); _nsTextField0.setLocation(458, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField0); _nsButton2.setSize(204, 105); _nsButton2.setLocation(238, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton2); _nsTextField1.setSize(114, 32); _nsTextField1.setLocation(238, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField1); _nsButton3.setSize(204, 105); _nsButton3.setLocation(18, 19); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable); _nsView0.add(_nsButton3); _nsTextField2.setSize(114, 32); _nsTextField2.setLocation(18, 1); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin); _nsView0.add(_nsTextField2); _nsButton4.setSize(204, 105); _nsButton4.setLocation(18, 163); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton4); _nsTextField3.setSize(114, 32); _nsTextField3.setLocation(18, 145); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField3); _nsButton5.setSize(204, 105); _nsButton5.setLocation(238, 163); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton5); _nsTextField4.setSize(114, 32); _nsTextField4.setLocation(238, 145); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField4); _nsButton6.setSize(204, 105); _nsButton6.setLocation(458, 140); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton6); _nsTextField5.setSize(114, 32); _nsTextField5.setLocation(458, 122); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField5); _nsButton7.setSize(204, 105); _nsButton7.setLocation(458, 262); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton7); _nsTextField6.setSize(114, 32); _nsTextField6.setLocation(458, 244); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField6); _nsButton8.setSize(204, 105); _nsButton8.setLocation(458, 383); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton8, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton8); _nsTextField7.setSize(114, 32); _nsTextField7.setLocation(458, 365); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField7, EOViewLayout.MinXMargin | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.MinYMargin); _nsView0.add(_nsTextField7); _nsButton9.setSize(143, 28); _nsButton9.setLocation(79, 129); ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton9, EOViewLayout.MinXMargin | EOViewLayout.WidthSizable | EOViewLayout.MaxXMargin | EOViewLayout.MaxYMargin | EOViewLayout.HeightSizable | EOViewLayout.MinYMargin); _nsView0.add(_nsButton9); _nsTabView0.addTab("Family", _nsView0); _nsTabView0.addTab("Individual", _nsView1); _nsTabView0.addTab("Family List", _nsView2); _nsTabView0.addTab("Individual List", _nsView3); _nsTabView0.setSelectedIndex(2); if (!(_nsView5.getLayout() instanceof EOViewLayout)) { _nsView5.setLayout(new EOViewLayout()); } _nsTabView0.setSize(690, 528); _nsTabView0.setLocation(8, 7); ((EOViewLayout)_nsView5.getLayout()).setAutosizingMask(_nsTabView0, EOViewLayout.WidthSizable | EOViewLayout.HeightSizable); _nsView5.add(_nsTabView0); if (_replacedObjects.objectForKey("_eoFrame1") == null) { _nsView5.setSize(706, 542); _eoFrame1.setTitle("MacPAF"); _eoFrame1.setLocation(153, 314); _eoFrame1.setSize(706, 542); } _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN); _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN); if (_replacedObjects.objectForKey("_nsMatrix0") == null) { _jRadioButton0.setSize(147, 18); _jRadioButton0.setLocation(0, 0); _nsMatrix0.add(_jRadioButton0); _jRadioButton1.setSize(147, 18); _jRadioButton1.setLocation(0, 20); _nsMatrix0.add(_jRadioButton1); _jRadioButton2.setSize(147, 18); _jRadioButton2.setLocation(0, 40); _nsMatrix0.add(_jRadioButton2); _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN); } if (!(_nsView4.getLayout() instanceof EOViewLayout)) { _nsView4.setLayout(new EOViewLayout()); } _nsMatrix0.setSize(147, 58); _nsMatrix0.setLocation(47, 64); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin); _nsView4.add(_nsMatrix0); _nsButton21.setSize(77, 26); _nsButton21.setLocation(190, 160); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton21, EOViewLayout.MinYMargin); _nsView4.add(_nsButton21); _nsButton20.setSize(77, 26); _nsButton20.setLocation(106, 160); ((EOViewLayout)_nsView4.getLayout()).setAutosizingMask(_nsButton20, EOViewLayout.MinYMargin); _nsView4.add(_nsButton20); if (_replacedObjects.objectForKey("_eoFrame0") == null) { _nsView4.setSize(276, 196); _eoFrame0.setTitle("Print Reports"); _eoFrame0.setLocation(280, 390); _eoFrame0.setSize(276, 196); } }
6190 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6190/8eddaccf733983953b58b7aac94fb132390d0f92/_MyDocument_EOArchive_English.java/clean/MacPAF/English.lproj/MyDocument.nib/_MyDocument_EOArchive_English.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 389, 542, 5711, 1290, 1841, 24899, 4361, 1204, 4020, 3247, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 4361, 1204, 4020, 3247, 18, 542, 4247, 2932, 1837, 1802, 981, 8863, 3639, 389, 4361, 1204, 4020, 3247, 18, 542, 4247, 2384, 12, 26612, 1769, 3639, 389, 4361, 1204, 4020, 3247, 18, 1518, 1841, 7675, 542, 16028, 1225, 12, 2704, 13037, 12, 22, 16, 11201, 10019, 3639, 389, 4361, 1204, 4020, 3247, 18, 2649, 1841, 7675, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 11847, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 4361, 1204, 4020, 4366, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 4361, 1204, 4020, 4366, 18, 542, 4247, 2932, 1761, 287, 358, 6298, 1509, 8863, 3639, 389, 4361, 1204, 4020, 4366, 18, 542, 4247, 2384, 12, 26612, 1769, 3639, 389, 4361, 1204, 4020, 4366, 18, 1518, 1841, 7675, 542, 16028, 1225, 12, 2704, 13037, 12, 22, 16, 11201, 10019, 3639, 389, 4361, 1204, 4020, 4366, 18, 2649, 1841, 7675, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 11847, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 4361, 1204, 4020, 3787, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 4361, 1204, 4020, 3787, 18, 542, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 389, 2738, 1435, 288, 3639, 2240, 6315, 2738, 5621, 3639, 389, 542, 5711, 1290, 1841, 24899, 4361, 1204, 4020, 3247, 16, 315, 48, 5286, 350, 69, 611, 2450, 323, 3113, 5958, 16, 10063, 18, 26549, 1769, 3639, 389, 4361, 1204, 4020, 3247, 18, 542, 4247, 2932, 1837, 1802, 981, 8863, 3639, 389, 4361, 1204, 4020, 3247, 18, 542, 4247, 2384, 12, 26612, 1769, 3639, 389, 4361, 1204, 4020, 3247, 18, 1518, 1841, 7675, 542, 16028, 1225, 12, 2704, 13037, 12, 22, 16, 11201, 10019, 3639, 389, 4361, 1204, 4020, 3247, 18, 2649, 1841, 7675, 542, 14457, 11535, 12, 28384, 18, 5328, 310, 18, 46, 16157, 18, 11847, 1769, 3639, 389, 542, 5711, 1290, 1841, 24899, 4361, 2 ]
|| (cmd.getFinalElevation() > 0 && !vtolLoaded)) {
|| (!canUnloadHere)) {
private synchronized void updateLoadButtons() { final Entity ce = ce(); boolean legalGear = ((gear == MovementDisplay.GEAR_LAND) || (gear == MovementDisplay.GEAR_TURN) || (gear == MovementDisplay.GEAR_BACKUP)); boolean vtolLoaded = false; for (Enumeration e = loadedUnits.elements(); e.hasMoreElements(); ) { Entity en = (Entity)e.nextElement(); if (en.getMovementMode() == IEntityMovementMode.VTOL) { vtolLoaded = true; break; } } // Disable the "Unload" button if we're in the wrong // gear or if the entity is not transporting units. if ( !legalGear || loadedUnits.size() == 0 || cen == Entity.NONE || (cmd.getFinalElevation() > 0 && !vtolLoaded)) { setUnloadEnabled( false ); } else { setUnloadEnabled( true ); } // If the current entity has moved, disable "Load" button. if ( cmd.length() > 0 || cen == Entity.NONE ) { setLoadEnabled( false ); } else { // Check the other entities in the current hex for friendly units. Entity other = null; Enumeration entities = client.game.getEntities(ce.getPosition()); boolean isGood = false; while (entities.hasMoreElements()) { // Is the other unit friendly and not the current entity? other = (Entity)entities.nextElement(); if (ce.getOwner() == other.getOwner() && !ce.equals(other)) { // Yup. If the current entity has at least 1 MP, if it can // transport the other unit, and if the other hasn't moved // then enable the "Load" button. if ( ce.getWalkMP() > 0 && ce.canLoad(other) && other.isSelectableThisTurn()) { setLoadEnabled(true); isGood = true; } // We can stop looking. break; } else { // Nope. Discard it. other = null; } } // Check the next entity in this position. if (!isGood) { setLoadEnabled(false); } } // End ce-hasn't-moved } // private void updateLoadButtons
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/980431f907fd38d2b9c4e2d97088042547a64481/MovementDisplay.java/clean/megamek/src/megamek/client/ui/AWT/MovementDisplay.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 1089, 2563, 14388, 1435, 288, 3639, 727, 3887, 5898, 273, 5898, 5621, 7734, 1250, 19286, 43, 2091, 273, 14015, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 48, 4307, 13, 27573, 747, 261, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 56, 8521, 13, 27573, 747, 261, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 8720, 3079, 10019, 3639, 1250, 331, 3490, 8835, 273, 629, 31, 3639, 364, 261, 21847, 425, 273, 4203, 7537, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 3887, 570, 273, 261, 1943, 13, 73, 18, 4285, 1046, 5621, 5411, 309, 261, 275, 18, 588, 49, 26140, 2309, 1435, 422, 29202, 49, 26140, 2309, 18, 58, 56, 1741, 13, 288, 7734, 331, 3490, 8835, 273, 638, 31, 7734, 898, 31, 5411, 289, 3639, 289, 3639, 368, 10639, 326, 315, 984, 945, 6, 3568, 309, 732, 4565, 316, 326, 7194, 3639, 368, 30142, 578, 309, 326, 1522, 353, 486, 4736, 310, 4971, 18, 3639, 309, 261, 401, 2013, 43, 2091, 7734, 747, 4203, 7537, 18, 1467, 1435, 422, 374, 1171, 747, 276, 275, 422, 3887, 18, 9826, 7734, 747, 261, 4172, 18, 588, 7951, 17274, 7112, 1435, 405, 374, 10792, 597, 401, 90, 3490, 8835, 3719, 288, 5411, 444, 984, 945, 1526, 12, 629, 11272, 3639, 289, 469, 288, 5411, 444, 984, 945, 1526, 12, 638, 11272, 3639, 289, 3639, 368, 971, 326, 783, 1522, 711, 10456, 16, 4056, 315, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 3852, 918, 1089, 2563, 14388, 1435, 288, 3639, 727, 3887, 5898, 273, 5898, 5621, 7734, 1250, 19286, 43, 2091, 273, 14015, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 48, 4307, 13, 27573, 747, 261, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 56, 8521, 13, 27573, 747, 261, 908, 297, 422, 490, 26140, 4236, 18, 7113, 985, 67, 8720, 3079, 10019, 3639, 1250, 331, 3490, 8835, 273, 629, 31, 3639, 364, 261, 21847, 425, 273, 4203, 7537, 18, 6274, 5621, 425, 18, 5332, 7417, 3471, 5621, 262, 288, 5411, 3887, 570, 273, 261, 1943, 13, 73, 18, 4285, 1046, 5621, 5411, 309, 261, 275, 18, 588, 49, 26140, 2309, 1435, 422, 29202, 2 ]
{ return false; }
{ return false; }
public boolean nullsAreSortedAtStart() throws SQLException { return false; }
45454 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45454/6a061da272f04e1463864065f87f1f3fd61d6162/DatabaseMetaData.java/clean/src/interfaces/jdbc/postgresql/DatabaseMetaData.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 27778, 4704, 11739, 861, 1685, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 1250, 27778, 4704, 11739, 861, 1685, 1435, 1216, 6483, 202, 95, 202, 202, 2463, 629, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void addBcc( EmailAddress address ) { bccList.addElement( address );
public void addBcc(EmailAddress address) { bccList.addElement(address);
public void addBcc( EmailAddress address ) { bccList.addElement( address ); }
17033 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17033/c7b5b643b25b20f5c96097b2c54e2e26a054f212/EmailTask.java/clean/src/main/org/apache/tools/ant/taskdefs/email/EmailTask.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 38, 952, 12, 8166, 1887, 1758, 262, 565, 288, 3639, 16915, 682, 18, 1289, 1046, 12, 1758, 11272, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 38, 952, 12, 8166, 1887, 1758, 262, 565, 288, 3639, 16915, 682, 18, 1289, 1046, 12, 1758, 11272, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
nextOne = client.game.getNextEntityFromList(entity);
nextOne = getNextEntity(true);
public void actionPerformed(java.awt.event.ActionEvent actionEvent) { if (actionEvent.getSource() == butOffBoardDistance) { Slider sl = new Slider (clientgui.frame, Messages.getString("CustomMechDialog.offboardDistanceTitle"), Messages.getString("CustomMechDialog.offboardDistanceQuestion"), entity.getOffBoardDistance(), 17, 170); if (!sl.showDialog()) return; distance = sl.getValue(); butOffBoardDistance.setLabel(Integer.toString(distance)); // butOffBoardDistance = new Button (Integer.toString(sl.getValue())); // butOffBoardDistance.addActionListener(this); return; } if (actionEvent.getSource() != butCancel) { // get values String name = fldName.getText(); int gunnery; int piloting; int offBoardDistance; boolean autoEject = chAutoEject.getState(); try { gunnery = Integer.parseInt(fldGunnery.getText()); piloting = Integer.parseInt(fldPiloting.getText()); } catch (NumberFormatException e) { new AlertDialog(clientgui.frame, Messages.getString("CustomMechDialog.NumberFormatError"), Messages.getString("CustomMechDialog.EnterValidSkills")).show(); //$NON-NLS-1$ //$NON-NLS-2$ return; } // keep these reasonable, please if (gunnery < 0 || gunnery > 7 || piloting < 0 || piloting > 7) { new AlertDialog(clientgui.frame, Messages.getString("CustomMechDialog.NumberFormatError"), Messages.getString("CustomMechDialog.EnterSkillsBetween0_7")).show(); //$NON-NLS-1$ //$NON-NLS-2$ return; } if (chOffBoard.getState()){ try { offBoardDistance = distance; } catch (NumberFormatException e) { new AlertDialog(clientgui.frame, Messages.getString("CustomMechDialog.NumberFormatError"), Messages.getString("CustomMechDialog.EnterValidSkills")).show(); //$NON-NLS-1$ //$NON-NLS-2$ return; } if (offBoardDistance < 17) { new AlertDialog(clientgui.frame, Messages.getString("CustomMechDialog.NumberFormatError"), Messages.getString("CustomMechDialog.OffboardDistance")).show(); //$NON-NLS-1$ //$NON-NLS-2$ return; } entity.setOffBoard( offBoardDistance, choOffBoardDirection.getSelectedIndex() ); } else { entity.setOffBoard( 0, Entity.NONE ); } // change entity entity.setCrew(new Pilot(name, gunnery, piloting)); if (entity instanceof Mech) { Mech mech = (Mech)entity; mech.setAutoEject(!autoEject); } if(entity.hasC3() && choC3.getSelectedIndex() > -1) { Entity chosen = client.getEntity ( entityCorrespondance[choC3.getSelectedIndex()] ); int entC3nodeCount = client.game.getC3SubNetworkMembers( entity ).size(); int choC3nodeCount = client.game.getC3NetworkMembers( chosen ).size(); if ( entC3nodeCount + choC3nodeCount <= Entity.MAX_C3_NODES ) { entity.setC3Master( chosen ); } else { String message = Messages.getString("CustomMechDialog.NetworkTooBig.message", new Object[]{ //$NON-NLS-1$ entity.getShortName(), chosen.getShortName(), new Integer(entC3nodeCount), new Integer(choC3nodeCount), new Integer(Entity.MAX_C3_NODES)}); clientgui.doAlertDialog( Messages.getString("CustomMechDialog.NetworkTooBig.title"), //$NON-NLS-1$ message); refreshC3(); } } else if(entity.hasC3i() && choC3.getSelectedIndex() > -1) { entity.setC3NetId(client.getEntity(entityCorrespondance[choC3.getSelectedIndex()])); } // Update the entity's targetting system type. if (!(entity.hasTargComp()) && (clientgui.getClient().game.getOptions().booleanOption("allow_level_3_targsys"))) { int targSysIndex = MiscType.T_TARGSYS_STANDARD; if (choTargSys.getSelectedItem() != null) targSysIndex = MiscType.getTargetSysType(choTargSys.getSelectedItem()); if (targSysIndex >= 0) entity.setTargSysType(targSysIndex); else { System.err.println("Illegal targetting system index: "+targSysIndex); entity.setTargSysType(MiscType.T_TARGSYS_STANDARD); } } // If the player wants to swap unit numbers, update both // entities and send an update packet for the other entity. if ( !entityUnitNum.isEmpty() && choUnitNum.getSelectedIndex() > 0 ) { Entity other = (Entity) this.entityUnitNum.elementAt ( choUnitNum.getSelectedIndex() ); char temp = this.entity.getUnitNumber(); this.entity.setUnitNumber( other.getUnitNumber() ); other.setUnitNumber( temp ); client.sendUpdateEntity( other ); } // Set the entity's deployment round. entity.setDeployRound(choDeployment.getSelectedIndex()); // update munitions selections for (Enumeration e = m_vMunitions.elements(); e.hasMoreElements(); ) { ((MunitionChoicePanel)e.nextElement()).applyChoice(); } // update MG rapid fire settings for (Enumeration e = m_vMGs.elements(); e.hasMoreElements(); ) { ((RapidfireMGPanel)e.nextElement()).applyChoice(); } setOptions(); okay = true; } this.setVisible(false); Entity nextOne = null; if (actionEvent.getSource() == butPrev) { nextOne = client.game.getPreviousEntityFromList(entity); } else if (actionEvent.getSource() == butNext) { nextOne = client.game.getNextEntityFromList(entity); } if (nextOne!=null) { clientgui.chatlounge.refreshEntities(); clientgui.chatlounge.customizeMech(nextOne); } }
3464 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3464/b69f001d6b3513f3dde853f97b0ab2a51d036e3c/CustomMechDialog.java/clean/megamek/src/megamek/client/ui/AWT/CustomMechDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 1301, 1133, 13, 288, 3639, 309, 261, 1128, 1133, 18, 588, 1830, 1435, 422, 1496, 7210, 22233, 7200, 13, 288, 5411, 9708, 3585, 2020, 273, 394, 9708, 3585, 261, 2625, 20292, 18, 3789, 16, 4838, 18, 588, 780, 2932, 3802, 4667, 343, 6353, 18, 3674, 3752, 7200, 4247, 6, 3631, 4838, 18, 588, 780, 2932, 3802, 4667, 343, 6353, 18, 3674, 3752, 7200, 11665, 6, 3631, 4766, 565, 1522, 18, 588, 7210, 22233, 7200, 9334, 8043, 16, 404, 7301, 1769, 5411, 309, 16051, 2069, 18, 4500, 6353, 10756, 327, 31, 5411, 3888, 273, 2020, 18, 24805, 5621, 5411, 1496, 7210, 22233, 7200, 18, 542, 2224, 12, 4522, 18, 10492, 12, 8969, 10019, 5411, 368, 1496, 7210, 22233, 7200, 273, 394, 12569, 261, 4522, 18, 10492, 12, 2069, 18, 24805, 1435, 10019, 5411, 368, 1496, 7210, 22233, 7200, 18, 1289, 1803, 2223, 12, 2211, 1769, 5411, 327, 31, 3639, 289, 3639, 309, 261, 1128, 1133, 18, 588, 1830, 1435, 480, 1496, 6691, 13, 288, 5411, 368, 336, 924, 5411, 514, 508, 273, 9880, 461, 18, 588, 1528, 5621, 5411, 509, 31475, 82, 627, 31, 5411, 509, 24970, 17128, 31, 5411, 509, 3397, 22233, 7200, 31, 5411, 1250, 3656, 41, 937, 273, 462, 4965, 41, 937, 18, 588, 1119, 5621, 5411, 775, 288, 7734, 31475, 82, 627, 273, 2144, 18, 2670, 1702, 12, 19794, 43, 318, 82, 627, 18, 588, 1528, 10663, 7734, 24970, 17128, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 26100, 12, 6290, 18, 2219, 88, 18, 2575, 18, 1803, 1133, 1301, 1133, 13, 288, 3639, 309, 261, 1128, 1133, 18, 588, 1830, 1435, 422, 1496, 7210, 22233, 7200, 13, 288, 5411, 9708, 3585, 2020, 273, 394, 9708, 3585, 261, 2625, 20292, 18, 3789, 16, 4838, 18, 588, 780, 2932, 3802, 4667, 343, 6353, 18, 3674, 3752, 7200, 4247, 6, 3631, 4838, 18, 588, 780, 2932, 3802, 4667, 343, 6353, 18, 3674, 3752, 7200, 11665, 6, 3631, 4766, 565, 1522, 18, 588, 7210, 22233, 7200, 9334, 8043, 16, 404, 7301, 1769, 5411, 309, 16051, 2069, 18, 4500, 6353, 10756, 327, 31, 5411, 3888, 273, 2020, 18, 24805, 5621, 5411, 1496, 7210, 22233, 7200, 18, 542, 2224, 2 ]
ITableEventHandler eh = ( ITableEventHandler ) getInstance( ( TableHandle ) tableDesign .getHandle( ) );
ITableEventHandler eh = getEventHandler( tableDesign, context );
public static void handleOnRender( TableContent content, ExecutionContext context ) { try { ReportItemDesign tableDesign = ( ReportItemDesign ) content .getGenerateBy( ); ITableInstance table = new TableInstance( content, context ); if ( handleJS( table, tableDesign.getOnRender( ), context ) .didRun( ) ) return; ITableEventHandler eh = ( ITableEventHandler ) getInstance( ( TableHandle ) tableDesign .getHandle( ) ); if ( eh != null ) eh.onRender( table, context.getReportContext( ) ); } catch ( Exception e ) { log.log( Level.WARNING, e.getMessage( ), e ); } }
5230 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5230/c0422a1db84842d1e332663c3d4c7e2a8109aca8/TableScriptExecutor.java/clean/engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/script/internal/TableScriptExecutor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1640, 1398, 3420, 12, 3555, 1350, 913, 16, 1082, 202, 3210, 1042, 819, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 4820, 1180, 15478, 1014, 15478, 273, 261, 8706, 1180, 15478, 262, 913, 6862, 202, 18, 588, 4625, 858, 12, 11272, 1082, 202, 1285, 429, 1442, 1014, 273, 394, 3555, 1442, 12, 913, 16, 819, 11272, 1082, 202, 430, 261, 1640, 6479, 12, 1014, 16, 1014, 15478, 18, 588, 1398, 3420, 12, 262, 16, 819, 262, 6862, 202, 18, 14044, 1997, 12, 262, 262, 9506, 202, 2463, 31, 1082, 202, 1285, 429, 16402, 20124, 273, 261, 467, 1388, 16402, 262, 3694, 12, 261, 3555, 3259, 262, 1014, 15478, 6862, 202, 18, 588, 3259, 12, 262, 11272, 1082, 202, 430, 261, 20124, 480, 446, 262, 9506, 202, 73, 76, 18, 265, 3420, 12, 1014, 16, 819, 18, 588, 4820, 1042, 12, 262, 11272, 202, 202, 97, 1044, 261, 1185, 425, 262, 202, 202, 95, 1082, 202, 1330, 18, 1330, 12, 4557, 18, 9511, 16, 425, 18, 24906, 12, 262, 16, 425, 11272, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 918, 1640, 1398, 3420, 12, 3555, 1350, 913, 16, 1082, 202, 3210, 1042, 819, 262, 202, 95, 202, 202, 698, 202, 202, 95, 1082, 202, 4820, 1180, 15478, 1014, 15478, 273, 261, 8706, 1180, 15478, 262, 913, 6862, 202, 18, 588, 4625, 858, 12, 11272, 1082, 202, 1285, 429, 1442, 1014, 273, 394, 3555, 1442, 12, 913, 16, 819, 11272, 1082, 202, 430, 261, 1640, 6479, 12, 1014, 16, 1014, 15478, 18, 588, 1398, 3420, 12, 262, 16, 819, 262, 6862, 202, 18, 14044, 1997, 12, 262, 262, 9506, 202, 2463, 31, 1082, 202, 1285, 429, 16402, 20124, 273, 261, 467, 1388, 16402, 262, 3694, 12, 261, 3555, 3259, 262, 1014, 15478, 6862, 202, 18, 2 ]
public String getID(){
public String getID() {
public String getID(){ return "StaticMethodReferencedViaSubclass"; }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/03b3e78c314f288686ee78bf6accd2340015ae0e/StaticCallOnSubclassInspection.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/bugs/StaticCallOnSubclassInspection.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 14744, 1435, 288, 3639, 327, 315, 5788, 1305, 22344, 21246, 1676, 1106, 14432, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 14744, 1435, 288, 3639, 327, 315, 5788, 1305, 22344, 21246, 1676, 1106, 14432, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return new OPT_DoubleConstantOperand(val, slot);
return new OPT_DoubleConstantOperand(val, off);
public static OPT_ConstantOperand getStaticFieldValue(VM_Field field) throws NoSuchFieldException { if (VM.VerifyAssertions) VM._assert(field.isStatic()); VM_TypeReference fieldType = field.getType(); int slot = field.getOffsetAsInt() >>> LOG_BYTES_IN_INT; if (fieldType == VM_TypeReference.Address) { Object obj = getObjectStaticFieldValue(field); Address val = (VM.runningVM) ? VM_Magic.objectAsAddress(obj) : (Address) obj; return new OPT_AddressConstantOperand(val); } else if (fieldType == VM_TypeReference.Word) { Object obj = getObjectStaticFieldValue(field); Word val = (VM.runningVM) ? VM_Magic.objectAsAddress(obj).toWord() : (Word) obj; return new OPT_AddressConstantOperand(val.toAddress()); } else if (fieldType == VM_TypeReference.Offset) { Object obj = getObjectStaticFieldValue(field); Word val = (VM.runningVM) ? VM_Magic.objectAsAddress(obj).toWord() : ((Offset) obj).toWord(); return new OPT_AddressConstantOperand(val.toAddress()); } else if (fieldType == VM_TypeReference.Extent) { Object obj = getObjectStaticFieldValue(field); Word val = (VM.runningVM) ? VM_Magic.objectAsAddress(obj).toWord() : ((Extent) obj).toWord(); return new OPT_AddressConstantOperand(val.toAddress()); } else if (fieldType.isIntLikeType()) { int val = getIntStaticFieldValue(field); return new OPT_IntConstantOperand(val); } else if (fieldType.isLongType()) { long val = getLongStaticFieldValue(field); return new OPT_LongConstantOperand(val, slot); } else if (fieldType.isFloatType()) { float val = getFloatStaticFieldValue(field); return new OPT_FloatConstantOperand(val, slot); } else if (fieldType.isDoubleType()) { double val = getDoubleStaticFieldValue(field); return new OPT_DoubleConstantOperand(val, slot); } else if (fieldType == VM_TypeReference.JavaLangString) { String val = (String)getObjectStaticFieldValue(field); return new OPT_StringConstantOperand(val, slot); } else { // TODO: Add array and scalar reference constant operands throw new OPT_OptimizingCompilerException("Unsupported type " + fieldType); } }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/512b7ae853c6979c3f6acf302871ef9527123d44/OPT_StaticFieldReader.java/buggy/rvm/src/vm/compilers/optimizing/vmInterface/classLoader/OPT_StaticFieldReader.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6902, 10265, 23414, 13559, 12, 7397, 67, 974, 652, 13, 377, 1216, 5823, 28846, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 1518, 18, 291, 5788, 10663, 565, 8251, 67, 7534, 9596, 273, 652, 18, 588, 559, 5621, 565, 509, 4694, 273, 652, 18, 588, 2335, 31720, 1435, 4080, 2018, 67, 13718, 67, 706, 67, 3217, 31, 565, 309, 261, 1518, 559, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 1033, 1081, 273, 6455, 5788, 13559, 12, 1518, 1769, 1377, 5267, 1244, 273, 261, 7397, 18, 8704, 7397, 13, 692, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 2603, 13, 294, 261, 1887, 13, 1081, 31, 1377, 327, 394, 16456, 67, 1887, 6902, 10265, 12, 1125, 1769, 565, 289, 469, 309, 261, 1518, 559, 422, 8251, 67, 7534, 18, 3944, 13, 288, 1377, 1033, 1081, 273, 6455, 5788, 13559, 12, 1518, 1769, 1377, 9926, 1244, 273, 261, 7397, 18, 8704, 7397, 13, 692, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 2603, 2934, 869, 3944, 1435, 294, 261, 3944, 13, 1081, 31, 1377, 327, 394, 16456, 67, 1887, 6902, 10265, 12, 1125, 18, 869, 1887, 10663, 565, 289, 469, 309, 261, 1518, 559, 422, 8251, 67, 7534, 18, 2335, 13, 288, 1377, 1033, 1081, 273, 6455, 5788, 13559, 12, 1518, 1769, 1377, 9926, 1244, 273, 261, 7397, 18, 8704, 7397, 13, 692, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 2603, 2934, 869, 3944, 1435, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 760, 16456, 67, 6902, 10265, 23414, 13559, 12, 7397, 67, 974, 652, 13, 377, 1216, 5823, 28846, 288, 565, 309, 261, 7397, 18, 8097, 8213, 1115, 13, 8251, 6315, 11231, 12, 1518, 18, 291, 5788, 10663, 565, 8251, 67, 7534, 9596, 273, 652, 18, 588, 559, 5621, 565, 509, 4694, 273, 652, 18, 588, 2335, 31720, 1435, 4080, 2018, 67, 13718, 67, 706, 67, 3217, 31, 565, 309, 261, 1518, 559, 422, 8251, 67, 7534, 18, 1887, 13, 288, 1377, 1033, 1081, 273, 6455, 5788, 13559, 12, 1518, 1769, 1377, 5267, 1244, 273, 261, 7397, 18, 8704, 7397, 13, 692, 8251, 67, 19289, 18, 1612, 1463, 1887, 12, 2603, 13, 294, 261, 1887, 13, 1081, 31, 1377, 2 ]
AST tmp1222_AST_in = (AST)_t;
AST tmp1221_AST_in = (AST)_t;
public final void onstate(AST _t) throws RecognitionException { AST onstate_AST_in = (_t == ASTNULL) ? null : (AST)_t; AST __t1665 = _t; AST tmp1212_AST_in = (AST)_t; match(_t,ON); _t = _t.getFirstChild(); { boolean synPredMatched1668 = false; if (_t==null) _t=ASTNULL; if (((_tokenSet_18.member(_t.getType())))) { AST __t1668 = _t; synPredMatched1668 = true; inputState.guessing++; try { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ASSIGN: { AST tmp1213_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getNextSibling(); break; } case CREATE: { AST tmp1214_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp1215_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case FIND: { AST tmp1216_AST_in = (AST)_t; match(_t,FIND); _t = _t.getNextSibling(); break; } case WRITE: { AST tmp1217_AST_in = (AST)_t; match(_t,WRITE); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } } catch (RecognitionException pe) { synPredMatched1668 = false; } _t = __t1668;inputState.guessing--; } if ( synPredMatched1668 ) { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: case DELETE_KW: case FIND: { { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case CREATE: { AST tmp1218_AST_in = (AST)_t; match(_t,CREATE); _t = _t.getNextSibling(); break; } case DELETE_KW: { AST tmp1219_AST_in = (AST)_t; match(_t,DELETE_KW); _t = _t.getNextSibling(); break; } case FIND: { AST tmp1220_AST_in = (AST)_t; match(_t,FIND); _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } } AST tmp1221_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1222_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case WRITE: { AST tmp1223_AST_in = (AST)_t; match(_t,WRITE); _t = _t.getNextSibling(); AST tmp1224_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); AST tmp1225_AST_in = (AST)_t; match(_t,RECORD_NAME); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEW: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case NEW: { { AST tmp1226_AST_in = (AST)_t; match(_t,NEW); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1227_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1228_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { { AST tmp1229_AST_in = (AST)_t; match(_t,OLD); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case BUFFER: { AST tmp1230_AST_in = (AST)_t; match(_t,BUFFER); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1231_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case COLUMNLABEL: case LABEL: { label_constant(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } case ASSIGN: { AST tmp1232_AST_in = (AST)_t; match(_t,ASSIGN); _t = _t.getNextSibling(); AST tmp1233_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); field(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case TABLE: { AST __t1682 = _t; AST tmp1234_AST_in = (AST)_t; match(_t,TABLE); _t = _t.getFirstChild(); AST tmp1235_AST_in = (AST)_t; match(_t,LABEL); _t = _t.getNextSibling(); constant(_t); _t = _retTree; _t = __t1682; _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case OLD: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OLD: { AST tmp1236_AST_in = (AST)_t; match(_t,OLD); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case VALUE: { AST tmp1237_AST_in = (AST)_t; match(_t,VALUE); _t = _t.getNextSibling(); break; } case ID: { break; } default: { throw new NoViableAltException(_t); } } } AST tmp1238_AST_in = (AST)_t; match(_t,ID); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_tokenSet_19.member(_t.getType()))) { defineparam_var(_t); _t = _retTree; } else if ((_tokenSet_20.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case OVERRIDE: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case OVERRIDE: { AST tmp1239_AST_in = (AST)_t; match(_t,OVERRIDE); _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case REVERT: { AST tmp1240_AST_in = (AST)_t; match(_t,REVERT); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } case PERSISTENT: { AST tmp1241_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); runstate(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { blockorstate(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } } else { boolean synPredMatched1689 = false; if (_t==null) _t=ASTNULL; if ((((_t.getType() >= LEXDATE && _t.getType() <= SYMMETRICENCRYPTIONALGORITHM)))) { AST __t1689 = _t; synPredMatched1689 = true; inputState.guessing++; try { { AST tmp1242_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); AST tmp1243_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; } } catch (RecognitionException pe) { synPredMatched1689 = false; } _t = __t1689;inputState.guessing--; } if ( synPredMatched1689 ) { AST tmp1244_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); AST tmp1245_AST_in = (AST)_t; if ( _t==null ) throw new MismatchedTokenException(); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; } else if ((_t.getType()==Event_list)) { eventlist(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ANYWHERE: { AST tmp1246_AST_in = (AST)_t; match(_t,ANYWHERE); _t = _t.getNextSibling(); break; } case OF: { AST tmp1247_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); widgetlist(_t); _t = _retTree; { _loop1692: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==OR)) { AST tmp1248_AST_in = (AST)_t; match(_t,OR); _t = _t.getNextSibling(); eventlist(_t); _t = _retTree; AST tmp1249_AST_in = (AST)_t; match(_t,OF); _t = _t.getNextSibling(); widgetlist(_t); _t = _retTree; } else { break _loop1692; } } while (true); } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case ANYWHERE: { AST tmp1250_AST_in = (AST)_t; match(_t,ANYWHERE); _t = _t.getNextSibling(); break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PERSISTENT: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVERT: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { break; } default: { throw new NoViableAltException(_t); } } } break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case REVERT: { AST tmp1251_AST_in = (AST)_t; match(_t,REVERT); _t = _t.getNextSibling(); state_end(_t); _t = _retTree; break; } case PERSISTENT: { AST tmp1252_AST_in = (AST)_t; match(_t,PERSISTENT); _t = _t.getNextSibling(); AST tmp1253_AST_in = (AST)_t; match(_t,RUN); _t = _t.getNextSibling(); filenameorvalue(_t); _t = _retTree; { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case IN_KW: { AST __t1696 = _t; AST tmp1254_AST_in = (AST)_t; match(_t,IN_KW); _t = _t.getFirstChild(); expression(_t); _t = _retTree; _t = __t1696; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: case Parameter_list: { break; } default: { throw new NoViableAltException(_t); } } } { if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case Parameter_list: { AST __t1698 = _t; AST tmp1255_AST_in = (AST)_t; match(_t,Parameter_list); _t = _t.getFirstChild(); AST tmp1256_AST_in = (AST)_t; match(_t,LEFTPAREN); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==INPUT)) { AST tmp1257_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } expression(_t); _t = _retTree; { _loop1702: do { if (_t==null) _t=ASTNULL; if ((_t.getType()==COMMA)) { AST tmp1258_AST_in = (AST)_t; match(_t,COMMA); _t = _t.getNextSibling(); { if (_t==null) _t=ASTNULL; if ((_t.getType()==INPUT)) { AST tmp1259_AST_in = (AST)_t; match(_t,INPUT); _t = _t.getNextSibling(); } else if ((_tokenSet_3.member(_t.getType()))) { } else { throw new NoViableAltException(_t); } } expression(_t); _t = _retTree; } else { break _loop1702; } } while (true); } AST tmp1260_AST_in = (AST)_t; match(_t,RIGHTPAREN); _t = _t.getNextSibling(); _t = __t1698; _t = _t.getNextSibling(); break; } case EOF: case PERIOD: { break; } default: { throw new NoViableAltException(_t); } } } state_end(_t); _t = _retTree; break; } case PERIOD: case PROPARSEDIRECTIVE: case AATRACE: case ACCUMULATE: case ALTER: case ANALYZE: case APPLY: case ASSIGN: case BELL: case BTOS: case BUFFERCOMPARE: case BUFFERCOPY: case CALL: case CASE: case CHOOSE: case CLEAR: case CLOSE: case COLOR: case COMPILE: case CONNECT: case CREATE: case DDE: case DECLARE: case DEFINE: case DELETE_KW: case DICTIONARY: case DISABLE: case DISCONNECT: case DISPLAY: case DO: case DOS: case DOWN: case DROP: case EMPTY: case ENABLE: case EXPORT: case FETCH: case FIND: case FOR: case FORMAT: case FUNCTION: case GET: case GETKEYVALUE: case GRANT: case HIDE: case IF: case IMPORT: case INPUT: case INPUTOUTPUT: case INSERT: case LEAVE: case LOAD: case MESSAGE: case MPE: case NEXT: case NEXTPROMPT: case ON: case OPEN: case OS2: case OS400: case OSAPPEND: case OSCOMMAND: case OSCOPY: case OSCREATEDIR: case OSDELETE: case OSRENAME: case OUTPUT: case PAGE: case PAUSE: case PROCEDURE: case PROCESS: case PROMPTFOR: case PUBLISH: case PUT: case PUTKEYVALUE: case QUIT: case RAWTRANSFER: case READKEY: case RELEASE: case REPEAT: case REPOSITION: case RETURN: case REVOKE: case RUN: case SAVE: case SCROLL: case SEEK: case SELECT: case SET: case SHOWSTATS: case STATUS: case STOP: case SUBSCRIBE: case SYSTEMDIALOG: case SYSTEMHELP: case TRANSACTIONMODE: case TRIGGER: case UNDERLINE: case UNDO: case UNIX: case UNLOAD: case UNSUBSCRIBE: case UP: case UPDATE: case USE: case VALIDATE: case VIEW: case VMS: case WAITFOR: case Expr_statement: case BLOCK_LABEL: case COPYLOB: case DOT_COMMENT: case CLASS: case CONSTRUCTOR: case INTERFACE: case METHOD: case DESTRUCTOR: case ANNOTATION: { blockorstate(_t); _t = _retTree; break; } default: { throw new NoViableAltException(_t); } } } } else { throw new NoViableAltException(_t); } } } _t = __t1665; _t = _t.getNextSibling(); _retTree = _t; }
13952 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/13952/daa15e07422d3491bbbb4d0060450c81983332a4/TreeParser03.java/clean/trunk/org.prorefactor.core/src/org/prorefactor/treeparser03/TreeParser03.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 603, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 603, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2313, 9222, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 2138, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 673, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 2313, 9470, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 202, 430, 261, 12443, 67, 2316, 694, 67, 2643, 18, 5990, 24899, 88, 18, 588, 559, 1435, 3719, 3719, 288, 1082, 202, 9053, 1001, 88, 2313, 9470, 273, 389, 88, 31, 1082, 202, 11982, 10391, 15400, 2313, 9470, 273, 638, 31, 1082, 202, 2630, 1119, 18, 20885, 310, 9904, 31, 1082, 202, 698, 288, 9506, 202, 95, 9506, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 9506, 202, 9610, 261, 389, 88, 18, 588, 559, 10756, 288, 9506, 202, 3593, 25116, 30, 9506, 202, 95, 6862, 202, 9053, 1853, 2138, 3437, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 6862, 202, 1916, 24899, 88, 16, 23289, 1769, 6862, 202, 67, 88, 273, 389, 88, 18, 588, 2134, 10291, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 918, 603, 2019, 12, 9053, 389, 88, 13, 1216, 9539, 288, 9506, 202, 9053, 603, 2019, 67, 9053, 67, 267, 273, 261, 67, 88, 422, 9183, 8560, 13, 692, 446, 294, 261, 9053, 13, 67, 88, 31, 9506, 202, 9053, 1001, 88, 2313, 9222, 273, 389, 88, 31, 202, 202, 9053, 1853, 2138, 2138, 67, 9053, 67, 267, 273, 261, 9053, 13, 67, 88, 31, 202, 202, 1916, 24899, 88, 16, 673, 1769, 202, 202, 67, 88, 273, 389, 88, 18, 588, 3759, 1763, 5621, 202, 202, 95, 202, 202, 6494, 6194, 10391, 15400, 2313, 9470, 273, 629, 31, 202, 202, 430, 261, 67, 88, 631, 2011, 13, 389, 88, 33, 9053, 8560, 31, 202, 2 ]
setRefreshChildren( false );
protected synchronized List computeStackFrames( boolean refreshChildren ) throws DebugException { if ( isSuspended() ) { if ( isTerminated() ) { fStackFrames = Collections.EMPTY_LIST; } else if ( refreshChildren ) { if ( fStackFrames.isEmpty() ) { fStackFrames = createAllStackFrames(); setRefreshChildren( false ); return fStackFrames; } ICDIStackFrame[] frames = getCDIStackFrames(); // compute new or removed stack frames int offset = 0, length = frames.length; if ( length > fStackFrames.size() ) { // compute new frames offset = length - fStackFrames.size(); for ( int i = offset - 1; i >= 0; i-- ) { fStackFrames.add( 0, new CStackFrame( this, frames[i] ) ); } length = fStackFrames.size() - offset; } else if ( length < fStackFrames.size() ) { // compute removed children int removed = fStackFrames.size() - length; for ( int i = 0; i < removed; i++ ) { ((CStackFrame)fStackFrames.get( 0 )).dispose(); fStackFrames.remove( 0 ); } } else { if ( frames.length == 0 ) { fStackFrames = Collections.EMPTY_LIST; } else { // same number of frames - if top frames are in different // method, replace all frames ICDIStackFrame newTop = frames[0]; ICDIStackFrame oldTop = ((CStackFrame)fStackFrames.get( 0 ) ).getLastCDIStackFrame(); if ( !CStackFrame.equalFrame( newTop, oldTop ) ) { disposeStackFrames(); fStackFrames = new ArrayList( frames.length ); for ( int i = 0; i < frames.length; ++i ) { fStackFrames.add( new CStackFrame( this, frames[i] ) ); } offset = fStackFrames.size(); } } } // update preserved frames if ( offset < fStackFrames.size() ) { updateStackFrames( frames, offset, fStackFrames, length ); } } setRefreshChildren( false ); } return fStackFrames; }
6192 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/6192/b44541d2d13c417f197e711e9655bdcd2b3a628b/CThread.java/buggy/debug/org.eclipse.cdt.debug.core/src/org/eclipse/cdt/debug/internal/core/model/CThread.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3852, 987, 3671, 2624, 15162, 12, 1250, 4460, 4212, 262, 1216, 4015, 503, 202, 95, 202, 202, 430, 261, 11604, 22942, 1435, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 21888, 1435, 262, 1082, 202, 95, 9506, 202, 74, 2624, 15162, 273, 5737, 18, 13625, 67, 7085, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 4460, 4212, 262, 1082, 202, 95, 9506, 202, 430, 261, 284, 2624, 15162, 18, 291, 1921, 1435, 262, 9506, 202, 95, 6862, 202, 74, 2624, 15162, 273, 752, 1595, 2624, 15162, 5621, 6862, 202, 542, 8323, 4212, 12, 629, 11272, 6862, 202, 2463, 284, 2624, 15162, 31, 9506, 202, 97, 9506, 202, 2871, 2565, 2624, 3219, 8526, 7793, 273, 1927, 2565, 2624, 15162, 5621, 9506, 202, 759, 3671, 394, 578, 3723, 2110, 7793, 9506, 202, 474, 1384, 273, 374, 16, 769, 273, 7793, 18, 2469, 31, 9506, 202, 430, 261, 769, 405, 284, 2624, 15162, 18, 1467, 1435, 262, 9506, 202, 95, 6862, 202, 759, 3671, 394, 7793, 6862, 202, 3348, 273, 769, 300, 284, 2624, 15162, 18, 1467, 5621, 6862, 202, 1884, 261, 509, 277, 273, 1384, 300, 404, 31, 277, 1545, 374, 31, 277, 413, 262, 6862, 202, 95, 25083, 202, 74, 2624, 15162, 18, 1289, 12, 374, 16, 394, 385, 2624, 3219, 12, 333, 16, 7793, 63, 77, 65, 262, 11272, 6862, 202, 97, 6862, 202, 2469, 273, 284, 2624, 15162, 18, 1467, 1435, 300, 1384, 31, 9506, 202, 97, 9506, 202, 12107, 309, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1117, 3852, 987, 3671, 2624, 15162, 12, 1250, 4460, 4212, 262, 1216, 4015, 503, 202, 95, 202, 202, 430, 261, 11604, 22942, 1435, 262, 202, 202, 95, 1082, 202, 430, 261, 353, 21888, 1435, 262, 1082, 202, 95, 9506, 202, 74, 2624, 15162, 273, 5737, 18, 13625, 67, 7085, 31, 1082, 202, 97, 1082, 202, 12107, 309, 261, 4460, 4212, 262, 1082, 202, 95, 9506, 202, 430, 261, 284, 2624, 15162, 18, 291, 1921, 1435, 262, 9506, 202, 95, 6862, 202, 74, 2624, 15162, 273, 752, 1595, 2624, 15162, 5621, 6862, 202, 542, 8323, 4212, 12, 629, 11272, 6862, 202, 2463, 284, 2624, 15162, 31, 9506, 202, 97, 9506, 202, 2871, 2565, 2624, 3219, 8526, 7793, 273, 2 ]
if (ctx.isDynamic()) { BaseScriptingEnvironment se = new BaseScriptingEnvironment(ctx); se.loadScripts(); se.dispatchSVGLoadEvent(); }
protected void transcode(Document document, String uri, TranscoderOutput output) throws TranscoderException { if (!(document instanceof SVGOMDocument)) { throw new TranscoderException( Messages.formatMessage("notsvg", null)); } BridgeContext ctx = new BridgeContext(userAgent); SVGOMDocument svgDoc = (SVGOMDocument)document; SVGSVGElement root = svgDoc.getRootElement(); // build the GVT tree GVTBuilder builder = new GVTBuilder(); // flag that indicates if the document is dynamic boolean isDynamic = (hints.containsKey(KEY_EXECUTE_ONLOAD) && ((Boolean)hints.get(KEY_EXECUTE_ONLOAD)).booleanValue() && BaseScriptingEnvironment.isDynamicDocument(svgDoc)); ctx.setDynamic(isDynamic); GraphicsNode gvtRoot; try { gvtRoot = builder.build(ctx, svgDoc); // dispatch an 'onload' event if needed if (ctx.isDynamic()) { BaseScriptingEnvironment se = new BaseScriptingEnvironment(ctx); se.loadScripts(); se.dispatchSVGLoadEvent(); } } catch (BridgeException ex) { throw new TranscoderException(ex); } // get the 'width' and 'height' attributes of the SVG document float docWidth = (float)ctx.getDocumentSize().getWidth(); float docHeight = (float)ctx.getDocumentSize().getHeight(); ctx = null; builder = null; setImageSize(docWidth, docHeight); // compute the preserveAspectRatio matrix AffineTransform Px; String ref = new ParsedURL(uri).getRef(); try { Px = ViewBox.getViewTransform(ref, root, width, height); } catch (BridgeException ex) { throw new TranscoderException(ex); } if (Px.isIdentity() && (width != docWidth || height != docHeight)) { // The document has no viewBox, we need to resize it by hand. // we want to keep the document size ratio float d = Math.max(docWidth, docHeight); float dd = Math.max(width, height); float scale = dd/d; Px = AffineTransform.getScaleInstance(scale, scale); } // take the AOI into account if any if (hints.containsKey(KEY_AOI)) { Rectangle2D aoi = (Rectangle2D)hints.get(KEY_AOI); // transform the AOI into the image's coordinate system aoi = Px.createTransformedShape(aoi).getBounds2D(); AffineTransform Mx = new AffineTransform(); double sx = width / aoi.getWidth(); double sy = height / aoi.getHeight(); Mx.scale(sx, sy); double tx = -aoi.getX(); double ty = -aoi.getY(); Mx.translate(tx, ty); // take the AOI transformation matrix into account // we apply first the preserveAspectRatio matrix Px.preConcatenate(Mx); curAOI = aoi; } else { curAOI = new Rectangle2D.Float(0, 0, width, height); } curTxf = Px; this.root = gvtRoot; }
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/7db088995bfe77864136bffac81521ff436aa73e/SVGAbstractTranscoder.java/buggy/sources/org/apache/batik/transcoder/SVGAbstractTranscoder.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 906, 710, 12, 2519, 1668, 16, 11794, 514, 2003, 16, 11794, 2604, 3396, 1447, 876, 13, 5411, 1216, 2604, 3396, 503, 288, 3639, 309, 16051, 12, 5457, 1276, 11281, 1872, 2519, 3719, 288, 5411, 604, 394, 2604, 3396, 503, 12, 7734, 4838, 18, 2139, 1079, 2932, 902, 11451, 3113, 446, 10019, 3639, 289, 3639, 24219, 1042, 1103, 273, 394, 24219, 1042, 12, 30840, 1769, 3639, 11281, 1872, 2519, 9804, 1759, 273, 261, 26531, 1872, 2519, 13, 5457, 31, 3639, 11281, 26531, 1046, 1365, 273, 9804, 1759, 18, 588, 2375, 1046, 5621, 3639, 368, 1361, 326, 611, 58, 56, 2151, 3639, 611, 58, 56, 1263, 2089, 273, 394, 611, 58, 56, 1263, 5621, 3639, 368, 2982, 716, 8527, 309, 326, 1668, 353, 5976, 3639, 1250, 353, 9791, 273, 2398, 261, 24598, 18, 12298, 653, 12, 3297, 67, 15271, 9099, 67, 673, 7783, 13, 597, 2398, 14015, 5507, 13, 24598, 18, 588, 12, 3297, 67, 15271, 9099, 67, 673, 7783, 13, 2934, 6494, 620, 1435, 597, 2398, 3360, 3651, 310, 5494, 18, 291, 9791, 2519, 12, 11451, 1759, 10019, 3639, 1103, 18, 542, 9791, 12, 291, 9791, 1769, 3639, 16830, 907, 11404, 88, 2375, 31, 3639, 775, 288, 5411, 11404, 88, 2375, 273, 2089, 18, 3510, 12, 5900, 16, 9804, 1759, 1769, 5411, 368, 3435, 392, 296, 265, 945, 11, 871, 309, 3577, 5411, 309, 261, 5900, 18, 291, 9791, 10756, 288, 7734, 3360, 3651, 310, 5494, 695, 273, 394, 3360, 3651, 310, 5494, 12, 5900, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 906, 710, 12, 2519, 1668, 16, 11794, 514, 2003, 16, 11794, 2604, 3396, 1447, 876, 13, 5411, 1216, 2604, 3396, 503, 288, 3639, 309, 16051, 12, 5457, 1276, 11281, 1872, 2519, 3719, 288, 5411, 604, 394, 2604, 3396, 503, 12, 7734, 4838, 18, 2139, 1079, 2932, 902, 11451, 3113, 446, 10019, 3639, 289, 3639, 24219, 1042, 1103, 273, 394, 24219, 1042, 12, 30840, 1769, 3639, 11281, 1872, 2519, 9804, 1759, 273, 261, 26531, 1872, 2519, 13, 5457, 31, 3639, 11281, 26531, 1046, 1365, 273, 9804, 1759, 18, 588, 2375, 1046, 5621, 3639, 368, 1361, 326, 611, 58, 56, 2151, 3639, 611, 58, 56, 1263, 2089, 273, 394, 611, 58, 56, 1263, 5621, 3639, 368, 2982, 716, 2 ]
tbTasks.getTableHeader().addMouseListener(new MouseAdapter() { Point pressedPoint; public void mousePressed(MouseEvent e) { pressedPoint = e.getPoint(); } public void mouseReleased(MouseEvent e) { if (!e.getPoint().equals(pressedPoint)) return; int column = tbTasks.getTableHeader().columnAtPoint(e.getPoint()); FilteredTasksTableModel filteredTasksTableModel = (FilteredTasksTableModel) tbTasks.getModel(); filteredTasksTableModel.sortTable(column, true); int columns = tbTasks.getColumnCount(); for (int i=0; i<columns; i++) tbTasks.getColumnModel().getColumn(i).setHeaderValue(filteredTasksTableModel.getColumnName(i)); } });
tbTasks.getTableHeader().addMouseListener(new MouseAdapter() { Point pressedPoint; public void mousePressed(MouseEvent e) { pressedPoint = e.getPoint(); } public void mouseReleased(MouseEvent e) { if (!e.getPoint().equals(pressedPoint)) return; int column = tbTasks.getTableHeader().columnAtPoint(e.getPoint()); FilteredTasksTableModel filteredTasksTableModel = (FilteredTasksTableModel) tbTasks.getModel(); filteredTasksTableModel.sortTable(column, true); int columns = tbTasks.getColumnCount(); for (int i=0; i<columns; i++) tbTasks.getColumnModel().getColumn(i).setHeaderValue(filteredTasksTableModel.getColumnName(i)); } });
public HistoryView() { initComponents(); tbFilters.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION); tbTasks.getSelectionModel().setSelectionMode(ListSelectionModel.SINGLE_SELECTION); cmbPeriod.addItem(Translator.getTranslation("HISTORYVIEW.PERIOD_" + SCALE_DAY)); cmbPeriod.addItem(Translator.getTranslation("HISTORYVIEW.PERIOD_" + SCALE_WEEK)); cmbPeriod.addItem(Translator.getTranslation("HISTORYVIEW.PERIOD_" + SCALE_MONTH)); cmbPeriod.addItem(Translator.getTranslation("HISTORYVIEW.PERIOD_" + SCALE_YEAR)); historyChart = new HistoryChart(getDays(), null, HistoryChart.TYPE_TOTAL); java.awt.GridBagConstraints gridBagConstraints = new java.awt.GridBagConstraints(); gridBagConstraints.gridy = 5; gridBagConstraints.gridwidth = 5; gridBagConstraints.fill = java.awt.GridBagConstraints.BOTH; gridBagConstraints.weightx = 1.0; gridBagConstraints.weighty = 1.0; gridBagConstraints.insets = new java.awt.Insets(5, 5, 5, 5); pnTimes.add(historyChart, gridBagConstraints); cmbPeriod.setSelectedIndex(SCALE_WEEK); checkButtons(); filterTasks(); tbFilters.getTableHeader().setForeground(java.awt.Color.BLUE); tbFilters.getTableHeader().setBackground(java.awt.Color.LIGHT_GRAY); tbFilters.getTableHeader().setFont(getFont()); tbFilters.setFont(getFont()); tbFilters.setRowHeight(getFont().getSize() + 2); tbTasks.getTableHeader().setForeground(java.awt.Color.BLUE); tbTasks.getTableHeader().setBackground(java.awt.Color.LIGHT_GRAY); tbTasks.getTableHeader().setFont(getFont()); tbTasks.setFont(getFont()); tbTasks.setRowHeight(getFont().getSize() + 2); cmbFilterName.addItem(new DescriptionFilter().toString()); cmbFilterName.addItem(new KeywordFilter().toString()); cmbFilterName.addItem(new DurationFilter().toString()); cmbFilterName.addItem(new PriorityFilter().toString()); cmbFilterName.addItem(new StateFilter().toString()); cmbFilterName.addItem(new PrivateFilter().toString()); setComponents(); tbTasks.getColumn(Translator.getTranslation("TASKS.DESCRIPTION")).setPreferredWidth(280); tbTasks.getColumn(Translator.getTranslation("TASKS.DURATION_DAYS")).setPreferredWidth(50); tbTasks.setRowSelectionAllowed(false); tbTasks.getTableHeader().addMouseListener(new MouseAdapter() { Point pressedPoint; public void mousePressed(MouseEvent e) { pressedPoint = e.getPoint(); } public void mouseReleased(MouseEvent e) { if (!e.getPoint().equals(pressedPoint)) return; int column = tbTasks.getTableHeader().columnAtPoint(e.getPoint()); FilteredTasksTableModel filteredTasksTableModel = (FilteredTasksTableModel) tbTasks.getModel(); filteredTasksTableModel.sortTable(column, true); int columns = tbTasks.getColumnCount(); for (int i=0; i<columns; i++) tbTasks.getColumnModel().getColumn(i).setHeaderValue(filteredTasksTableModel.getColumnName(i)); } }); }
4241 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4241/2f7ba770f77aee2c1cb9c75c6d3440d4a9d4fda8/HistoryView.java/buggy/src/org/cesilko/rachota/gui/HistoryView.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16058, 1767, 1435, 288, 202, 2738, 7171, 5621, 202, 18587, 5422, 18, 588, 6233, 1488, 7675, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 202, 18587, 6685, 18, 588, 6233, 1488, 7675, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 10339, 10019, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 20274, 10019, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 13942, 10019, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 15137, 10019, 202, 8189, 7984, 273, 394, 16058, 7984, 12, 588, 9384, 9334, 446, 16, 16058, 7984, 18, 2399, 67, 28624, 1769, 202, 6290, 18, 2219, 88, 18, 6313, 6852, 8747, 273, 394, 2252, 18, 2219, 88, 18, 6313, 6852, 5621, 202, 5222, 6852, 18, 5222, 93, 273, 1381, 31, 202, 5222, 6852, 18, 5222, 2819, 273, 1381, 31, 202, 5222, 6852, 18, 5935, 273, 2252, 18, 2219, 88, 18, 6313, 6852, 18, 38, 18307, 31, 202, 5222, 6852, 18, 4865, 92, 273, 404, 18, 20, 31, 202, 5222, 6852, 18, 4865, 93, 273, 404, 18, 20, 31, 202, 5222, 6852, 18, 267, 4424, 273, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 16058, 1767, 1435, 288, 202, 2738, 7171, 5621, 202, 18587, 5422, 18, 588, 6233, 1488, 7675, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 202, 18587, 6685, 18, 588, 6233, 1488, 7675, 542, 6233, 2309, 12, 682, 6233, 1488, 18, 20184, 67, 1090, 15445, 1769, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 10339, 10019, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 20274, 10019, 202, 71, 1627, 5027, 18, 1289, 1180, 12, 12233, 18, 588, 6717, 2932, 31746, 12145, 18, 28437, 9548, 397, 25844, 67, 2 ]
ModelFacade.setAbstract(mOperation,(modifiers & JavaRecognizer.ACC_ABSTRACT) > 0); ModelFacade.setLeaf(mOperation,(modifiers & JavaRecognizer.ACC_FINAL) > 0); ModelFacade.setRoot(mOperation,false); setOwnerScope(mOperation, modifiers); setVisibility(mOperation, modifiers); if((modifiers & JavaRecognizer.ACC_SYNCHRONIZED) > 0) { ModelFacade.setConcurrency(mOperation, ModelFacade.GUARDED); } else if(ModelFacade.getConcurrency(mOperation) == ModelFacade.GUARDED) { ModelFacade.setConcurrency(mOperation, ModelFacade.SEQUENTIAL); }
ModelFacade.setAbstract(mOperation, (modifiers & JavaRecognizer.ACC_ABSTRACT) > 0); ModelFacade.setLeaf(mOperation, (modifiers & JavaRecognizer.ACC_FINAL) > 0); ModelFacade.setRoot(mOperation, false); setOwnerScope(mOperation, modifiers); setVisibility(mOperation, modifiers); if ((modifiers & JavaRecognizer.ACC_SYNCHRONIZED) > 0) { ModelFacade.setConcurrency(mOperation, ModelFacade.GUARDED); } else if (ModelFacade.getConcurrency(mOperation) == ModelFacade.GUARDED) { ModelFacade.setConcurrency(mOperation, ModelFacade.SEQUENTIAL); }
public Object addOperation (short modifiers, String returnType, String name, Vector parameters, String javadoc) { Object mOperation = getOperation(name); parseState.feature(mOperation); ModelFacade.setAbstract(mOperation,(modifiers & JavaRecognizer.ACC_ABSTRACT) > 0); ModelFacade.setLeaf(mOperation,(modifiers & JavaRecognizer.ACC_FINAL) > 0); ModelFacade.setRoot(mOperation,false); setOwnerScope(mOperation, modifiers); setVisibility(mOperation, modifiers); if((modifiers & JavaRecognizer.ACC_SYNCHRONIZED) > 0) { ModelFacade.setConcurrency(mOperation, ModelFacade.GUARDED); } else if(ModelFacade.getConcurrency(mOperation) == ModelFacade.GUARDED) { ModelFacade.setConcurrency(mOperation, ModelFacade.SEQUENTIAL); } for(Iterator i = ModelFacade.getParameters(mOperation).iterator(); i.hasNext(); ) { ModelFacade.removeParameter(mOperation, i.next()); } Object mParameter; String typeName; Object mPackage; Object mClassifier; if(returnType == null) { // Constructor ModelFacade.setStereotype(mOperation,getStereotype("create")); } else { try { mClassifier = getContext(returnType).get(getClassifierName(returnType)); mParameter = UmlFactory.getFactory().getCore().buildParameter(mOperation); ModelFacade.setName(mParameter, "return"); ModelFacade.setKindToReturn(mParameter); ModelFacade.setType(mParameter, mClassifier); } catch(ClassifierNotFoundException e) { // Currently if a classifier cannot be found in the // model/classpath then information will be lost from // source files, because the classifier cannot be // created on the fly. cat.warn("Modeller.java: a classifier that was in the source "+ "file could not be generated in the model "+ "(for generating operation return type)- information lost\n"+ "\t"+e); } } for(Iterator i = parameters.iterator(); i.hasNext(); ) { Vector parameter = (Vector)i.next(); typeName = (String)parameter.elementAt(1); try { mClassifier = getContext(typeName).get(getClassifierName(typeName)); mParameter = UmlFactory.getFactory().getCore().buildParameter(mOperation); ModelFacade.setName(mParameter, (String)parameter.elementAt(2)); ModelFacade.setKindToIn(mParameter); ModelFacade.setType(mParameter, mClassifier); } catch(ClassifierNotFoundException e) { // Currently if a classifier cannot be found in the // model/classpath then information will be lost from // source files, because the classifier cannot be // created on the fly. cat.warn("Modeller.java: a classifier that was in the source "+ "file could not be generated in the model "+ "(for generating operation params)- information lost\n"+ "\t"+e); } } /* * Changed 2001-10-05 STEFFEN ZSCHALER. * * Was (space added below!): * if((javadoc == null) || "".equals(javadoc)) { javadoc = "/** * /"; } getTaggedValue(mOperation, "documentation").setValue(javadoc); * * Moved to end of method 2001-11-05 to allow addDocumentationTag to * access as much information as possible */ addDocumentationTag (mOperation, javadoc); return mOperation; }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/Modeller.java/clean/src_new/org/argouml/uml/reveng/java/Modeller.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 527, 2988, 261, 6620, 10429, 16, 27573, 514, 9424, 16, 27573, 514, 508, 16, 27573, 5589, 1472, 16, 27573, 514, 30829, 13, 288, 1377, 1033, 312, 2988, 273, 21162, 12, 529, 1769, 1377, 1109, 1119, 18, 7238, 12, 81, 2988, 1769, 1377, 3164, 12467, 18, 542, 7469, 12, 81, 2988, 16, 12, 15432, 473, 5110, 28131, 18, 31414, 67, 26756, 13, 405, 374, 1769, 1377, 3164, 12467, 18, 542, 9858, 12, 81, 2988, 16, 12, 15432, 473, 5110, 28131, 18, 31414, 67, 7263, 1013, 13, 405, 374, 1769, 1377, 3164, 12467, 18, 542, 2375, 12, 81, 2988, 16, 5743, 1769, 1377, 31309, 3876, 12, 81, 2988, 16, 10429, 1769, 1377, 24497, 12, 81, 2988, 16, 10429, 1769, 1377, 309, 12443, 15432, 473, 5110, 28131, 18, 31414, 67, 7474, 50, 1792, 19359, 24131, 13, 405, 374, 13, 288, 1850, 3164, 12467, 18, 542, 18273, 12, 81, 2988, 16, 3164, 12467, 18, 30673, 985, 7660, 1769, 1377, 289, 469, 309, 12, 1488, 12467, 18, 588, 18273, 12, 81, 2988, 13, 422, 3164, 12467, 18, 30673, 985, 7660, 13, 288, 1850, 3164, 12467, 18, 542, 18273, 12, 81, 2988, 16, 3164, 12467, 18, 1090, 3500, 2222, 6365, 1769, 1377, 289, 1377, 364, 12, 3198, 277, 273, 3164, 12467, 18, 588, 2402, 12, 81, 2988, 2934, 9838, 5621, 277, 18, 5332, 2134, 5621, 262, 288, 1850, 3164, 12467, 18, 4479, 1662, 12, 81, 2988, 16, 277, 18, 4285, 10663, 1377, 289, 1850, 1033, 312, 1662, 31, 1850, 514, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 1033, 527, 2988, 261, 6620, 10429, 16, 27573, 514, 9424, 16, 27573, 514, 508, 16, 27573, 5589, 1472, 16, 27573, 514, 30829, 13, 288, 1377, 1033, 312, 2988, 273, 21162, 12, 529, 1769, 1377, 1109, 1119, 18, 7238, 12, 81, 2988, 1769, 1377, 3164, 12467, 18, 542, 7469, 12, 81, 2988, 16, 12, 15432, 473, 5110, 28131, 18, 31414, 67, 26756, 13, 405, 374, 1769, 1377, 3164, 12467, 18, 542, 9858, 12, 81, 2988, 16, 12, 15432, 473, 5110, 28131, 18, 31414, 67, 7263, 1013, 13, 405, 374, 1769, 1377, 3164, 12467, 18, 542, 2375, 12, 81, 2988, 16, 5743, 1769, 1377, 31309, 3876, 12, 81, 2988, 16, 10429, 1769, 1377, 24497, 12, 81, 2988, 16, 10429, 2 ]
private static void initializeRuntime(final IRuby runtime, String filename) {
private void initializeRuntime(final IRuby runtime, String filename) {
private static void initializeRuntime(final IRuby runtime, String filename) { IRubyObject argumentArray = runtime.newArray(JavaUtil.convertJavaArrayToRuby(runtime, commandline.getScriptArguments())); runtime.setVerbose(runtime.newBoolean(commandline.isVerbose())); defineGlobalVERBOSE(runtime); runtime.getObject().setConstant("$VERBOSE", commandline.isVerbose() ? runtime.getTrue() : runtime.getNil()); runtime.defineGlobalConstant("ARGV", argumentArray); defineGlobal(runtime, "$-p", commandline.isAssumePrinting()); defineGlobal(runtime, "$-n", commandline.isAssumeLoop()); defineGlobal(runtime, "$-a", commandline.isSplit()); defineGlobal(runtime, "$-l", commandline.isProcessLineEnds()); runtime.getGlobalVariables().defineReadonly("$*", new ValueAccessor(argumentArray)); // TODO this is a fake cause we have no real process number in Java runtime.getGlobalVariables().defineReadonly("$$", new ValueAccessor(runtime.newFixnum(runtime.hashCode()))); runtime.defineVariable(new RubyGlobal.StringGlobalVariable(runtime, "$0", runtime.newString(filename))); runtime.getLoadService().init(commandline.loadPaths()); Iterator iter = commandline.requiredLibraries().iterator(); while (iter.hasNext()) { String scriptName = (String) iter.next(); RubyKernel.require(runtime.getTopSelf(), runtime.newString(scriptName)); } }
45221 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45221/b4a189a27604d62c317938f16a124fb9dab1e94a/Main.java/buggy/src/org/jruby/Main.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 5576, 12, 6385, 15908, 10340, 3099, 16, 514, 1544, 13, 288, 3639, 15908, 10340, 921, 1237, 1076, 273, 3099, 18, 2704, 1076, 12, 5852, 1304, 18, 6283, 5852, 1076, 774, 54, 10340, 12, 9448, 16, 28305, 18, 588, 3651, 4628, 1435, 10019, 3639, 3099, 18, 542, 14489, 12, 9448, 18, 2704, 5507, 12, 3076, 1369, 18, 291, 14489, 1435, 10019, 3639, 4426, 5160, 21900, 12, 9448, 1769, 3639, 3099, 18, 588, 921, 7675, 542, 6902, 2932, 8, 21900, 3113, 1850, 202, 202, 3076, 1369, 18, 291, 14489, 1435, 692, 3099, 18, 588, 5510, 1435, 294, 3099, 18, 588, 12616, 10663, 3639, 3099, 18, 11255, 5160, 6902, 2932, 10973, 58, 3113, 1237, 1076, 1769, 3639, 4426, 5160, 12, 9448, 16, 4662, 17, 84, 3113, 28305, 18, 291, 2610, 2066, 5108, 310, 10663, 3639, 4426, 5160, 12, 9448, 16, 4662, 17, 82, 3113, 28305, 18, 291, 2610, 2066, 6452, 10663, 3639, 4426, 5160, 12, 9448, 16, 4662, 17, 69, 3113, 28305, 18, 291, 5521, 10663, 3639, 4426, 5160, 12, 9448, 16, 4662, 17, 80, 3113, 28305, 18, 291, 2227, 1670, 24980, 10663, 3639, 3099, 18, 588, 5160, 6158, 7675, 11255, 1994, 3700, 2932, 8, 14, 3113, 394, 1445, 8235, 12, 3446, 1076, 10019, 3639, 368, 2660, 333, 353, 279, 10517, 4620, 732, 1240, 1158, 2863, 1207, 1300, 316, 5110, 3639, 3099, 18, 588, 5160, 6158, 7675, 11255, 1994, 3700, 2932, 16547, 3113, 394, 1445, 8235, 12, 9448, 18, 2704, 8585, 2107, 12, 9448, 18, 2816, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 4046, 5576, 12, 6385, 15908, 10340, 3099, 16, 514, 1544, 13, 288, 3639, 15908, 10340, 921, 1237, 1076, 273, 3099, 18, 2704, 1076, 12, 5852, 1304, 18, 6283, 5852, 1076, 774, 54, 10340, 12, 9448, 16, 28305, 18, 588, 3651, 4628, 1435, 10019, 3639, 3099, 18, 542, 14489, 12, 9448, 18, 2704, 5507, 12, 3076, 1369, 18, 291, 14489, 1435, 10019, 3639, 4426, 5160, 21900, 12, 9448, 1769, 3639, 3099, 18, 588, 921, 7675, 542, 6902, 2932, 8, 21900, 3113, 1850, 202, 202, 3076, 1369, 18, 291, 14489, 1435, 692, 3099, 18, 588, 5510, 1435, 294, 3099, 18, 588, 12616, 10663, 3639, 3099, 18, 11255, 5160, 6902, 2932, 10973, 58, 3113, 1237, 1076, 1769, 3639, 4426, 2 ]
"select * from tmp where a like 'b%%' escape 'b'");
"select * from tmp where a like 'b%%' escape 'b'");
public void testEscapes0006() throws Exception { testEscape("select * from tmp where d={d 1999-09-19}", "select * from tmp where d='19990919'"); testEscape("select * from tmp where d={d '1999-09-19'}", "select * from tmp where d='19990919'"); testEscape("select * from tmp where t={t 12:34:00}", "select * from tmp where t='12:34:00'"); testEscape("select * from tmp where ts={ts 1998-12-15 12:34:00.1234}", "select * from tmp where ts='19981215 12:34:00.123'"); testEscape("select * from tmp where ts={ts 1998-12-15 12:34:00}", "select * from tmp where ts='19981215 12:34:00.000'"); testEscape("select * from tmp where ts={ts 1998-12-15 12:34:00.1}", "select * from tmp where ts='19981215 12:34:00.100'"); testEscape("select * from tmp where ts={ts 1998-12-15 12:34:00}", "select * from tmp where ts='19981215 12:34:00.000'"); testEscape("select * from tmp where d={d 1999-09-19}", "select * from tmp where d='19990919'"); testEscape("select * from tmp where a like '\\%%'", "select * from tmp where a like '\\%%'"); testEscape("select * from tmp where a like 'b%%' {escape 'b'}", "select * from tmp where a like 'b%%' escape 'b'"); testEscape("select * from tmp where a like 'bbb' {escape 'b'}", "select * from tmp where a like 'bbb' escape 'b'"); testEscape("select * from tmp where a='{fn user}'", "select * from tmp where a='{fn user}'"); testEscape("select * from tmp where a={fn user()}", "select * from tmp where a=user_name()"); }
439 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/439/ba8dbcfb4c76f4e59cc1c80c3e20bdd3252ec4c4/TimestampTest.java/buggy/trunk/jtds/src/test/net/sourceforge/jtds/test/TimestampTest.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 30092, 3784, 26, 1435, 1216, 1185, 288, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 302, 5899, 72, 404, 11984, 17, 5908, 17, 3657, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 302, 2218, 21, 11984, 5908, 3657, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 302, 5899, 72, 296, 21, 11984, 17, 5908, 17, 3657, 11, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 302, 2218, 21, 11984, 5908, 3657, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 268, 5899, 88, 2593, 30, 5026, 30, 713, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 268, 2218, 2138, 30, 5026, 30, 713, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 3742, 5899, 3428, 23673, 28, 17, 2138, 17, 3600, 2593, 30, 5026, 30, 713, 18, 28462, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 3742, 2218, 19818, 28, 2138, 3600, 2593, 30, 5026, 30, 713, 18, 12936, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 3742, 5899, 3428, 23673, 28, 17, 2138, 17, 3600, 2593, 30, 5026, 30, 713, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 3742, 2218, 19818, 28, 2138, 3600, 2593, 30, 5026, 30, 713, 18, 3784, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 3742, 5899, 3428, 23673, 28, 17, 2138, 17, 3600, 2593, 30, 5026, 30, 713, 18, 21, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 30092, 3784, 26, 1435, 1216, 1185, 288, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 302, 5899, 72, 404, 11984, 17, 5908, 17, 3657, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 302, 2218, 21, 11984, 5908, 3657, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 302, 5899, 72, 296, 21, 11984, 17, 5908, 17, 3657, 11, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 302, 2218, 21, 11984, 5908, 3657, 4970, 1769, 3639, 1842, 8448, 2932, 4025, 380, 628, 1853, 1625, 268, 5899, 88, 2593, 30, 5026, 30, 713, 1532, 16, 10402, 315, 4025, 380, 628, 1853, 1625, 268, 2218, 2138, 30, 5026, 30, 713, 4970, 1769, 3639, 2 ]
protected void checkConfiguration(String descriptorFileName, SAXParser saxParser) throws BuildException { // jonasroot if ( jonasroot == null ) { throw new BuildException("The jonasroot attribut is not set."); } else if ( !jonasroot.isDirectory() ) { throw new BuildException("The jonasroot attribut '" + jonasroot + "' is not a valid directory."); } // orb if ( orb != null && !orb.equals(RMI_ORB) && !orb.equals(JEREMIE_ORB) && !orb.equals(DAVID_ORB) ) { throw new BuildException("The orb attribut '" + orb + "' is not valid (must be either " + RMI_ORB + ", " + JEREMIE_ORB + " or " + DAVID_ORB + ")."); } // additionalargs if ( additionalargs != null && additionalargs.equals("") ) { throw new BuildException("Empty additionalargs attribut."); } // javac if ( javac != null && javac.equals("") ) { throw new BuildException("Empty javac attribut."); } }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/6ee5317ca34e43ca1d62e890dcf034eb44cca649/JonasDeploymentTool.java/buggy/src/main/org/apache/tools/ant/taskdefs/optional/ejb/JonasDeploymentTool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 1750, 12, 780, 4950, 4771, 16, 8227, 10168, 2678, 20319, 2678, 13, 1216, 18463, 288, 3639, 368, 525, 265, 345, 3085, 3639, 309, 261, 525, 265, 345, 3085, 422, 446, 262, 288, 5411, 604, 394, 18463, 2932, 1986, 525, 265, 345, 3085, 5885, 322, 353, 486, 444, 1199, 1769, 3639, 289, 469, 309, 261, 401, 78, 265, 345, 3085, 18, 291, 2853, 1435, 262, 288, 5411, 604, 394, 18463, 2932, 1986, 525, 265, 345, 3085, 5885, 322, 2119, 397, 525, 265, 345, 3085, 397, 7682, 2491, 353, 486, 279, 923, 1867, 1199, 1769, 3639, 289, 5411, 368, 16823, 3639, 309, 261, 16823, 480, 446, 597, 401, 16640, 18, 14963, 12, 54, 7492, 67, 916, 38, 13, 597, 401, 16640, 18, 14963, 12, 46, 654, 3375, 8732, 67, 916, 38, 13, 597, 401, 16640, 18, 14963, 12, 17735, 734, 67, 916, 38, 13, 262, 288, 5411, 604, 394, 18463, 2932, 1986, 16823, 5885, 322, 2119, 397, 16823, 397, 2491, 353, 486, 923, 261, 11926, 506, 3344, 315, 397, 7682, 534, 7492, 67, 916, 38, 397, 3104, 315, 397, 804, 654, 3375, 8732, 67, 916, 38, 397, 315, 578, 315, 397, 463, 5856, 734, 67, 916, 38, 397, 9369, 1199, 1769, 3639, 289, 5411, 368, 3312, 1968, 3639, 309, 261, 3312, 1968, 480, 446, 597, 3312, 1968, 18, 14963, 2932, 7923, 262, 288, 5411, 604, 394, 18463, 2932, 1921, 3312, 1968, 5885, 322, 1199, 1769, 3639, 289, 5411, 368, 5152, 1077, 3639, 309, 261, 5152, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 918, 866, 1750, 12, 780, 4950, 4771, 16, 8227, 10168, 2678, 20319, 2678, 13, 1216, 18463, 288, 3639, 368, 525, 265, 345, 3085, 3639, 309, 261, 525, 265, 345, 3085, 422, 446, 262, 288, 5411, 604, 394, 18463, 2932, 1986, 525, 265, 345, 3085, 5885, 322, 353, 486, 444, 1199, 1769, 3639, 289, 469, 309, 261, 401, 78, 265, 345, 3085, 18, 291, 2853, 1435, 262, 288, 5411, 604, 394, 18463, 2932, 1986, 525, 265, 345, 3085, 5885, 322, 2119, 397, 525, 265, 345, 3085, 397, 7682, 2491, 353, 486, 279, 923, 1867, 1199, 1769, 3639, 289, 5411, 368, 16823, 3639, 309, 261, 16823, 480, 446, 597, 401, 16640, 18, 14963, 12, 54, 7492, 67, 916, 38, 2 ]
ICoolBarManager coolBarMgr = getCoolBarManager2();
ICoolBarManager2 coolBarMgr = (ICoolBarManager2) getCoolBarManager2();
private boolean restoreOldCoolBar(IMemento coolbarMem) { // Make sure the tag exist if (coolbarMem == null) { return false; } ICoolBarManager coolBarMgr = getCoolBarManager2(); // Check to see if layout is locked Integer locked = coolbarMem.getInteger(IWorkbenchConstants.TAG_LOCKED); boolean state = (locked != null) && (locked.intValue() == 1); coolBarMgr.setLockLayout(state); // Get the visual layout IMemento visibleLayout = coolbarMem .getChild(IWorkbenchConstants.TAG_TOOLBAR_LAYOUT); ArrayList visibleWrapIndicies = new ArrayList(); ArrayList visibleItems = new ArrayList(); if (visibleLayout != null) { if (readLayout(visibleLayout, visibleItems, visibleWrapIndicies) == false) { return false; } } // Get the remembered layout IMemento rememberedLayout = coolbarMem .getChild(IWorkbenchConstants.TAG_LAYOUT); ArrayList rememberedWrapIndicies = new ArrayList(); ArrayList rememberedItems = new ArrayList(); if (rememberedLayout != null) { if (readLayout(rememberedLayout, rememberedItems, rememberedWrapIndicies) == false) { return false; } } // Create the objects if (visibleItems != null) { // Merge remembered layout into visible layout if (rememberedItems != null) { // Traverse through all the remembered items int currentIndex = 0; for (Iterator i = rememberedItems.iterator(); i.hasNext(); currentIndex++) { String id = (String) i.next(); int index = -1; for (Iterator iter = visibleItems.iterator(); iter .hasNext();) { String visibleId = (String) iter.next(); if (visibleId.equals(id)) { index = visibleItems.indexOf(visibleId); break; } } // The item is not in the visible list if (index == -1) { int insertAt = Math.max(0, Math.min(currentIndex, visibleItems.size())); boolean separateLine = false; // Check whether this item is on a separate line for (Iterator iter = rememberedWrapIndicies.iterator(); iter .hasNext();) { Integer wrapIndex = (Integer) iter.next(); if (wrapIndex.intValue() <= insertAt) { insertAt = visibleItems.size(); // Add new wrap index for this Item visibleWrapIndicies.add(new Integer(insertAt)); separateLine = true; } } // Add item to array list visibleItems.add(insertAt, id); // If the item was not on a separate line then adjust // the visible wrap indicies if (!separateLine) { // Adjust visible wrap indicies for (int j = 0; j < visibleWrapIndicies.size(); j++) { Integer index2 = (Integer) visibleWrapIndicies .get(j); if (index2.intValue() >= insertAt) { visibleWrapIndicies.set(j, new Integer( index2.intValue() + 1)); } } } } } } // The new layout of the cool bar manager ArrayList coolBarLayout = new ArrayList(visibleItems.size()); // Add all visible items to the layout object for (Iterator i = visibleItems.iterator(); i.hasNext();) { String id = (String) i.next(); // Look for the object in the current cool bar manager IContributionItem oldItem = null; IContributionItem newItem = null; if (id != null) { oldItem = coolBarMgr.find(id); } // If a tool bar contribution item already exists for this id // then use the old object if (oldItem instanceof IToolBarContributionItem) { newItem = oldItem; } else { IActionBarPresentationFactory actionBarPresentaiton = getActionBarPresentationFactory(); newItem = actionBarPresentaiton.createToolBarContributionItem( actionBarPresentaiton.createToolBarManager(), id); // make it invisible by default newItem.setVisible(false); // Need to add the item to the cool bar manager so that its // canonical order can be preserved IContributionItem refItem = findAlphabeticalOrder( IWorkbenchActionConstants.MB_ADDITIONS, id, coolBarMgr); if (refItem != null) { coolBarMgr.insertAfter(refItem.getId(), newItem); } else { coolBarMgr.add(newItem); } } // Add new item into cool bar manager if (newItem != null) { coolBarLayout.add(newItem); newItem.setParent(coolBarMgr); coolBarMgr.markDirty(); } } // Add separators to the displayed Items data structure int offset = 0; for (int i = 1; i < visibleWrapIndicies.size(); i++) { int insertAt = ((Integer) visibleWrapIndicies.get(i)) .intValue() + offset; coolBarLayout.add(insertAt, new Separator( CoolBarManager.USER_SEPARATOR)); offset++; } // Add any group markers in their appropriate places IContributionItem[] items = coolBarMgr.getItems(); for (int i = 0; i < items.length; i++) { IContributionItem item = items[i]; if (item.isGroupMarker()) { coolBarLayout.add(Math.max(Math .min(i, coolBarLayout.size()), 0), item); } } IContributionItem[] itemsToSet = new IContributionItem[coolBarLayout .size()]; coolBarLayout.toArray(itemsToSet); coolBarMgr.setItems(itemsToSet); } return true; }
55805 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/55805/4ab9153c33294fedde181b0a3efe60786aac7bd9/WorkbenchWindow.java/buggy/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/WorkbenchWindow.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 5217, 7617, 39, 1371, 5190, 12, 3445, 820, 83, 27367, 3215, 3545, 13, 288, 202, 202, 759, 4344, 3071, 326, 1047, 1005, 202, 202, 430, 261, 71, 1371, 3215, 3545, 422, 446, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 26899, 1371, 5190, 1318, 27367, 5190, 9455, 273, 1927, 1371, 5190, 1318, 22, 5621, 202, 202, 759, 2073, 358, 2621, 309, 3511, 353, 8586, 202, 202, 4522, 8586, 273, 27367, 3215, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 6589, 2056, 1769, 202, 202, 6494, 919, 273, 261, 15091, 480, 446, 13, 597, 261, 15091, 18, 474, 620, 1435, 422, 404, 1769, 202, 202, 71, 1371, 5190, 9455, 18, 542, 2531, 3744, 12, 2019, 1769, 202, 202, 759, 968, 326, 11623, 3511, 202, 202, 3445, 820, 83, 6021, 3744, 273, 27367, 3215, 3545, 9506, 202, 18, 588, 1763, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 26263, 21908, 67, 7868, 5069, 1769, 202, 202, 19558, 6021, 2964, 3866, 335, 606, 273, 394, 2407, 5621, 202, 202, 19558, 6021, 3126, 273, 394, 2407, 5621, 202, 202, 430, 261, 8613, 3744, 480, 446, 13, 288, 1082, 202, 430, 261, 896, 3744, 12, 8613, 3744, 16, 6021, 3126, 16, 6021, 2964, 3866, 335, 606, 13, 422, 629, 13, 288, 9506, 202, 2463, 629, 31, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 968, 326, 11586, 329, 3511, 202, 202, 3445, 820, 83, 11586, 329, 3744, 273, 27367, 3215, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 1250, 5217, 7617, 39, 1371, 5190, 12, 3445, 820, 83, 27367, 3215, 3545, 13, 288, 202, 202, 759, 4344, 3071, 326, 1047, 1005, 202, 202, 430, 261, 71, 1371, 3215, 3545, 422, 446, 13, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 3639, 26899, 1371, 5190, 1318, 27367, 5190, 9455, 273, 1927, 1371, 5190, 1318, 22, 5621, 202, 202, 759, 2073, 358, 2621, 309, 3511, 353, 8586, 202, 202, 4522, 8586, 273, 27367, 3215, 3545, 18, 588, 4522, 12, 45, 2421, 22144, 2918, 18, 7927, 67, 6589, 2056, 1769, 202, 202, 6494, 919, 273, 261, 15091, 480, 446, 13, 597, 261, 15091, 18, 474, 620, 1435, 422, 404, 1769, 202, 202, 71, 1371, 5190, 9455, 2 ]
super(classIDs);
super(descInfo, outputDir, classIDs, ".txt");
FeatureTxtWriter(String outputDir, String classIDs) throws IOException { super(classIDs); // create output directory File dir = new File(outputDir); if (!dir.exists()) { dir.mkdir(); } // color histogram String fileName = outputDir + File.separator + ImageDescriptor.featureNames[0]; colorHistogramWriter = new BufferedWriter(new FileWriter(fileName + ".txt")); writeHeader(colorHistogramWriter, ImageDescriptor.featureNames[0], ImageDescriptor.numAttributes[0]); // color moments for (int i = 0; i < colorMomentsWriters.length; i++) { // parent directory fileName = outputDir + File.separator + ImageDescriptor.featureNames[i + 1]; colorMomentsWriters[i] = new BufferedWriter(new FileWriter(fileName + ".txt")); writeHeader(colorMomentsWriters[i], ImageDescriptor.featureNames[i + 1], ImageDescriptor.numAttributes[i + 1]); } // texture features for (int i = 0; i < textureFeatureWriters.length; i++) { // parent directory fileName = outputDir + File.separator + ImageDescriptor.featureNames[i + 4]; textureFeatureWriters[i] = new BufferedWriter(new FileWriter( fileName + ".txt")); writeHeader(textureFeatureWriters[i], ImageDescriptor.featureNames[i + 4], ImageDescriptor.numAttributes[i + 4]); } // roughness statictics for (int i = 0; i < roughnessStatsWriters.length; i++) { // parent directory fileName = outputDir + File.separator + ImageDescriptor.featureNames[i + 17]; roughnessStatsWriters[i] = new BufferedWriter(new FileWriter( fileName + ".txt")); writeHeader(roughnessStatsWriters[i], ImageDescriptor.featureNames[i + 17], ImageDescriptor.numAttributes[i + 17]); } // facet-orientation statistics for (int i = 0; i < facetStatsWriters.length; i++) { // parent directory fileName = outputDir + File.separator + ImageDescriptor.featureNames[i + 25]; facetStatsWriters[i] = new BufferedWriter(new FileWriter(fileName + ".txt")); writeHeader(facetStatsWriters[i], ImageDescriptor.featureNames[i + 25], ImageDescriptor.numAttributes[i + 25]); } }
5508 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5508/14f58550dbeda5a51b5b4acd77af2f62f12f97a1/FeatureTxtWriter.java/buggy/src/de/lmu/ifi/dbs/featureextraction/image/FeatureTxtWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 7881, 21811, 2289, 12, 780, 21412, 16, 514, 667, 5103, 13, 1216, 1860, 565, 288, 3639, 2240, 12, 5569, 966, 16, 21412, 16, 667, 5103, 16, 3552, 5830, 8863, 3639, 368, 752, 876, 1867, 3639, 1387, 1577, 273, 394, 1387, 12, 2844, 1621, 1769, 3639, 309, 16051, 1214, 18, 1808, 10756, 3639, 288, 5411, 1577, 18, 26686, 5621, 3639, 289, 3639, 368, 2036, 8892, 3639, 514, 3968, 273, 21412, 397, 1387, 18, 11287, 7734, 397, 3421, 3187, 18, 7238, 1557, 63, 20, 15533, 3639, 2036, 12874, 2289, 273, 394, 22490, 12, 2704, 24639, 12, 17812, 7734, 397, 3552, 5830, 7923, 1769, 3639, 1045, 1864, 12, 3266, 12874, 2289, 16, 3421, 3187, 18, 7238, 1557, 63, 20, 6487, 7734, 3421, 3187, 18, 2107, 2498, 63, 20, 19226, 3639, 368, 2036, 312, 22172, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 2036, 49, 22172, 27508, 18, 2469, 31, 277, 27245, 3639, 288, 5411, 368, 982, 1867, 5411, 3968, 273, 21412, 397, 1387, 18, 11287, 10792, 397, 3421, 3187, 18, 7238, 1557, 63, 77, 397, 404, 15533, 5411, 2036, 49, 22172, 27508, 63, 77, 65, 273, 394, 22490, 12, 2704, 24639, 12, 17812, 10792, 397, 3552, 5830, 7923, 1769, 5411, 1045, 1864, 12, 3266, 49, 22172, 27508, 63, 77, 6487, 10792, 3421, 3187, 18, 7238, 1557, 63, 77, 397, 404, 6487, 10792, 3421, 3187, 18, 2107, 2498, 63, 77, 397, 404, 19226, 3639, 289, 3639, 368, 11428, 4467, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 7881, 21811, 2289, 12, 780, 21412, 16, 514, 667, 5103, 13, 1216, 1860, 565, 288, 3639, 2240, 12, 5569, 966, 16, 21412, 16, 667, 5103, 16, 3552, 5830, 8863, 3639, 368, 752, 876, 1867, 3639, 1387, 1577, 273, 394, 1387, 12, 2844, 1621, 1769, 3639, 309, 16051, 1214, 18, 1808, 10756, 3639, 288, 5411, 1577, 18, 26686, 5621, 3639, 289, 3639, 368, 2036, 8892, 3639, 514, 3968, 273, 21412, 397, 1387, 18, 11287, 7734, 397, 3421, 3187, 18, 7238, 1557, 63, 20, 15533, 3639, 2036, 12874, 2289, 273, 394, 22490, 12, 2704, 24639, 12, 17812, 7734, 397, 3552, 5830, 7923, 1769, 3639, 1045, 1864, 12, 3266, 12874, 2289, 16, 3421, 3187, 18, 7238, 1557, 63, 20, 6487, 7734, 2 ]
Shape getHighlightShape(GraphicsNodeRenderContext rc);
Shape getHighlightShape();
Shape getHighlightShape(GraphicsNodeRenderContext rc);
45946 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45946/32fa5d6f134dbc7519ade5bde79d3c0386deef5e/Selectable.java/buggy/sources/org/apache/batik/gvt/Selectable.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 12383, 7628, 2031, 5099, 8500, 12, 17558, 907, 3420, 1042, 4519, 1769, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 12383, 7628, 2031, 5099, 8500, 12, 17558, 907, 3420, 1042, 4519, 1769, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
return MOVE_REDUCED;
return Move.getVal(s).isConstant() ? DefUseEffect.MOVE_FOLDED : DefUseEffect.MOVE_REDUCED;
private static byte boundsCheck(OPT_Instruction s) { if (CF_FIELDS) { OPT_Operand ref = BoundsCheck.getRef(s); OPT_Operand index = BoundsCheck.getIndex(s); if (ref.isNullConstant()) { Trap.mutate(s, TRAP, NullCheck.getClearGuardResult(s), OPT_TrapCodeOperand.NullPtr()); return TRAP_REDUCED; } else if(index.isIntConstant()) { int indexAsInt = index.asIntConstant().value; if (indexAsInt < 0) { Trap.mutate(s, TRAP, BoundsCheck.getClearGuardResult(s), OPT_TrapCodeOperand.ArrayBounds()); return TRAP_REDUCED; } else if(ref.isConstant()) { int refLength = Array.getLength(ref.asObjectConstant().value); if(indexAsInt < refLength) { Move.mutate(s, GUARD_MOVE, BoundsCheck.getClearGuardResult(s), BoundsCheck.getClearGuard(s)); return MOVE_REDUCED; } else { Trap.mutate(s, TRAP, BoundsCheck.getClearGuardResult(s), OPT_TrapCodeOperand.ArrayBounds()); return TRAP_REDUCED; } } } } return UNCHANGED; }
4011 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4011/582eb14323a5e74a2c99b6035e34aa59e229d896/OPT_Simplifier.java/clean/rvm/src/com/ibm/jikesrvm/opt/OPT_Simplifier.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 4972, 1564, 12, 15620, 67, 11983, 272, 13, 288, 565, 309, 261, 8955, 67, 12683, 13, 288, 1377, 16456, 67, 10265, 1278, 273, 20382, 1564, 18, 588, 1957, 12, 87, 1769, 1377, 16456, 67, 10265, 770, 273, 20382, 1564, 18, 588, 1016, 12, 87, 1769, 1377, 309, 261, 1734, 18, 291, 2041, 6902, 10756, 288, 3639, 399, 1266, 18, 10735, 340, 12, 87, 16, 4235, 2203, 16, 4112, 1564, 18, 588, 9094, 16709, 1253, 12, 87, 3631, 10792, 16456, 67, 56, 1266, 1085, 10265, 18, 2041, 5263, 10663, 3639, 327, 4235, 2203, 67, 5879, 57, 23552, 31, 1377, 289, 469, 309, 12, 1615, 18, 291, 1702, 6902, 10756, 288, 3639, 509, 770, 31720, 273, 770, 18, 345, 1702, 6902, 7675, 1132, 31, 3639, 309, 261, 1615, 31720, 411, 374, 13, 288, 1850, 399, 1266, 18, 10735, 340, 12, 87, 16, 4235, 2203, 16, 20382, 1564, 18, 588, 9094, 16709, 1253, 12, 87, 3631, 16456, 67, 56, 1266, 1085, 10265, 18, 1076, 5694, 10663, 1850, 327, 4235, 2203, 67, 5879, 57, 23552, 31, 3639, 289, 469, 309, 12, 1734, 18, 291, 6902, 10756, 288, 1850, 509, 1278, 1782, 273, 1510, 18, 588, 1782, 12, 1734, 18, 345, 921, 6902, 7675, 1132, 1769, 1850, 309, 12, 1615, 31720, 411, 1278, 1782, 13, 288, 5411, 9933, 18, 10735, 340, 12, 87, 16, 611, 57, 8085, 67, 16537, 16, 20382, 1564, 18, 588, 9094, 16709, 1253, 12, 87, 3631, 13491, 20382, 1564, 18, 588, 9094, 16709, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 760, 1160, 4972, 1564, 12, 15620, 67, 11983, 272, 13, 288, 565, 309, 261, 8955, 67, 12683, 13, 288, 1377, 16456, 67, 10265, 1278, 273, 20382, 1564, 18, 588, 1957, 12, 87, 1769, 1377, 16456, 67, 10265, 770, 273, 20382, 1564, 18, 588, 1016, 12, 87, 1769, 1377, 309, 261, 1734, 18, 291, 2041, 6902, 10756, 288, 3639, 399, 1266, 18, 10735, 340, 12, 87, 16, 4235, 2203, 16, 4112, 1564, 18, 588, 9094, 16709, 1253, 12, 87, 3631, 10792, 16456, 67, 56, 1266, 1085, 10265, 18, 2041, 5263, 10663, 3639, 327, 4235, 2203, 67, 5879, 57, 23552, 31, 1377, 289, 469, 309, 12, 1615, 18, 291, 1702, 6902, 10756, 288, 3639, 509, 770, 31720, 273, 770, 2 ]
if (binding instanceof ParameterizedTypeBinding && !(binding instanceof RawTypeBinding)) {
if (binding instanceof ParameterizedTypeBinding) { if (binding instanceof RawTypeBinding) { return TypeX.forRawTypeNames(getName(binding)); }
public static TypeX fromBinding(TypeBinding binding) { if (binding instanceof HelperInterfaceBinding) { return ((HelperInterfaceBinding) binding).getTypeX(); } if (binding == null || binding.qualifiedSourceName() == null) { return ResolvedTypeX.MISSING; } // first piece of generics support! if (binding instanceof TypeVariableBinding) { // this is a type variable... TypeVariableBinding tvb = (TypeVariableBinding) binding; // This code causes us to forget its a TVB which we will need when going back the other way... if (tvb.firstBound!=null) { return TypeX.forName(getName(tvb.firstBound)); // XXX needs more investigation as to whether this is correct in all cases } else { return TypeX.forName(getName(tvb.superclass)); } } // FIXME asc/amc cope properly with RawTypeBindings if (binding instanceof ParameterizedTypeBinding && !(binding instanceof RawTypeBinding)) { ParameterizedTypeBinding ptb = (ParameterizedTypeBinding) binding; String[] arguments = new String[ptb.arguments.length]; for (int i = 0; i < arguments.length; i++) { if (ptb.arguments[i] instanceof WildcardBinding) { WildcardBinding wcb = (WildcardBinding) ptb.arguments[i]; arguments[i] = getName(((TypeVariableBinding)wcb.typeVariable()).firstBound); } else { arguments[i] = getName(ptb.arguments[i]); } } return TypeX.forParameterizedTypeNames(getName(binding), arguments); } return TypeX.forName(getName(binding)); }
53148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/53148/952dda914064ff58a39fc682d18cdbf3ad171475/EclipseFactory.java/buggy/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/EclipseFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1412, 60, 628, 5250, 12, 559, 5250, 5085, 13, 288, 202, 202, 430, 261, 7374, 1276, 9705, 1358, 5250, 13, 288, 1082, 202, 2463, 14015, 2276, 1358, 5250, 13, 5085, 2934, 588, 559, 60, 5621, 202, 202, 97, 202, 202, 430, 261, 7374, 422, 446, 747, 5085, 18, 19724, 1830, 461, 1435, 422, 446, 13, 288, 1082, 202, 2463, 22776, 559, 60, 18, 19466, 31, 202, 202, 97, 202, 202, 759, 1122, 11151, 434, 21783, 2865, 5, 202, 202, 430, 261, 7374, 1276, 23614, 5250, 13, 288, 1082, 202, 759, 333, 353, 279, 618, 2190, 2777, 1082, 202, 559, 3092, 5250, 13521, 70, 273, 261, 559, 3092, 5250, 13, 5085, 31, 1082, 202, 759, 1220, 981, 14119, 584, 358, 13776, 2097, 279, 399, 58, 38, 1492, 732, 903, 1608, 1347, 8554, 1473, 326, 1308, 4031, 2777, 1082, 202, 430, 261, 24161, 70, 18, 3645, 3499, 5, 33, 2011, 13, 288, 9506, 225, 327, 1412, 60, 18, 1884, 461, 12, 17994, 12, 24161, 70, 18, 3645, 3499, 10019, 368, 11329, 4260, 1898, 2198, 25999, 367, 487, 358, 2856, 333, 353, 3434, 316, 777, 6088, 1082, 202, 97, 469, 288, 9506, 225, 327, 1412, 60, 18, 1884, 461, 12, 17994, 12, 24161, 70, 18, 9565, 1106, 10019, 1082, 202, 97, 202, 202, 97, 202, 202, 759, 9852, 6972, 19, 301, 71, 276, 1306, 8214, 598, 6576, 559, 10497, 202, 202, 430, 261, 7374, 1276, 17141, 5250, 597, 401, 12, 7374, 1276, 6576, 559, 5250, 3719, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1412, 60, 628, 5250, 12, 559, 5250, 5085, 13, 288, 202, 202, 430, 261, 7374, 1276, 9705, 1358, 5250, 13, 288, 1082, 202, 2463, 14015, 2276, 1358, 5250, 13, 5085, 2934, 588, 559, 60, 5621, 202, 202, 97, 202, 202, 430, 261, 7374, 422, 446, 747, 5085, 18, 19724, 1830, 461, 1435, 422, 446, 13, 288, 1082, 202, 2463, 22776, 559, 60, 18, 19466, 31, 202, 202, 97, 202, 202, 759, 1122, 11151, 434, 21783, 2865, 5, 202, 202, 430, 261, 7374, 1276, 23614, 5250, 13, 288, 1082, 202, 759, 333, 353, 279, 618, 2190, 2777, 1082, 202, 559, 3092, 5250, 13521, 70, 273, 261, 559, 3092, 5250, 13, 5085, 31, 1082, 202, 759, 1220, 2 ]
for (int i=0; i<to.length; i++) {
for (int i = 0; i < to.length; i++) {
protected String replaceReferences(String source) { Vector v = reg.getGroups(source); result.setLength(0); for (int i=0; i<to.length; i++) { if (to[i] == '\\') { if (++i < to.length) { int value = Character.digit(to[i], 10); if (value > -1) { result.append((String) v.elementAt(value)); } else { result.append(to[i]); } } else { // XXX - should throw an exception instead? result.append('\\'); } } else { result.append(to[i]); } } return result.toString(); }
639 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/639/6154080061f869b4e425d608da3bd61fad967564/RegexpPatternMapper.java/buggy/src/main/org/apache/tools/ant/util/RegexpPatternMapper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 1453, 8221, 12, 780, 1084, 13, 288, 3639, 5589, 331, 273, 960, 18, 588, 3621, 12, 3168, 1769, 7734, 563, 18, 542, 1782, 12, 20, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 358, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 869, 63, 77, 65, 422, 5282, 13, 288, 7734, 309, 261, 9904, 77, 411, 358, 18, 2469, 13, 288, 10792, 509, 460, 273, 6577, 18, 11052, 12, 869, 63, 77, 6487, 1728, 1769, 10792, 309, 261, 1132, 405, 300, 21, 13, 288, 13491, 563, 18, 6923, 12443, 780, 13, 331, 18, 2956, 861, 12, 1132, 10019, 10792, 289, 469, 288, 13491, 563, 18, 6923, 12, 869, 63, 77, 19226, 10792, 289, 7734, 289, 469, 288, 10792, 368, 11329, 300, 1410, 604, 392, 1520, 3560, 35, 10792, 563, 18, 6923, 2668, 1695, 8284, 7734, 289, 5411, 289, 469, 288, 7734, 563, 18, 6923, 12, 869, 63, 77, 19226, 5411, 289, 3639, 289, 3639, 327, 563, 18, 10492, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 1453, 8221, 12, 780, 1084, 13, 288, 3639, 5589, 331, 273, 960, 18, 588, 3621, 12, 3168, 1769, 7734, 563, 18, 542, 1782, 12, 20, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 358, 18, 2469, 31, 277, 27245, 288, 5411, 309, 261, 869, 63, 77, 65, 422, 5282, 13, 288, 7734, 309, 261, 9904, 77, 411, 358, 18, 2469, 13, 288, 10792, 509, 460, 273, 6577, 18, 11052, 12, 869, 63, 77, 6487, 1728, 1769, 10792, 309, 261, 1132, 405, 300, 21, 13, 288, 13491, 563, 18, 6923, 12443, 780, 13, 331, 18, 2956, 861, 12, 1132, 10019, 10792, 289, 469, 288, 13491, 563, 18, 6923, 12, 869, 63, 77, 19226, 10792, 2 ]
changeLastWhiteSpace(whiteSpace);
changeLastWhiteSpace(whiteSpace, textRange);
private boolean replaceWithPSI(final TextRange textRange, final String whiteSpace) { final int offset = textRange.getEndOffset(); final ASTNode leafElement = findElementAt(offset); if (leafElement != null) { if (!myCanModifyAllWhiteSpaces) { if (leafElement.getElementType() == ElementType.WHITE_SPACE) return false; if (isNonEmptyWhiteSpace(leafElement)) return false; LOG.assertTrue(leafElement.getPsi().isValid()); ASTNode prevNode = TreeUtil.prevLeaf(leafElement); if (prevNode != null && prevNode.getElementType() == ElementType.XML_CDATA_END) return false; if (isNonEmptyWhiteSpace(prevNode)) { return false; } } changeWhiteSpaceBeforeLeaf(whiteSpace, leafElement, textRange); return true; } else if (textRange.getEndOffset() == myASTNode.getTextLength()){ changeLastWhiteSpace(whiteSpace); return true; } else { return false; } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/ffeffca636d854d6e05e0e7f9cfc24dc201ecfaa/PsiBasedFormattingModel.java/buggy/source/com/intellij/psi/formatter/PsiBasedFormattingModel.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 24189, 52, 2320, 12, 6385, 3867, 2655, 977, 2655, 16, 727, 514, 9578, 3819, 13, 288, 565, 727, 509, 1384, 273, 977, 2655, 18, 588, 1638, 2335, 5621, 565, 727, 9183, 907, 7839, 1046, 273, 1104, 1046, 861, 12, 3348, 1769, 1377, 309, 261, 12070, 1046, 480, 446, 13, 288, 3639, 309, 16051, 4811, 2568, 11047, 1595, 13407, 12077, 13, 288, 1850, 309, 261, 12070, 1046, 18, 588, 17481, 1435, 422, 3010, 559, 18, 16861, 67, 6616, 13, 327, 629, 31, 1850, 309, 261, 291, 23176, 23108, 12, 12070, 1046, 3719, 327, 629, 31, 1850, 2018, 18, 11231, 5510, 12, 12070, 1046, 18, 588, 52, 7722, 7675, 26810, 10663, 1850, 9183, 907, 2807, 907, 273, 4902, 1304, 18, 10001, 9858, 12, 12070, 1046, 1769, 1850, 309, 261, 10001, 907, 480, 446, 597, 2807, 907, 18, 588, 17481, 1435, 422, 3010, 559, 18, 4201, 67, 18375, 67, 4415, 13, 327, 629, 31, 1850, 309, 261, 291, 23176, 23108, 12, 10001, 907, 3719, 288, 5411, 327, 629, 31, 1850, 289, 3639, 289, 3639, 2549, 23108, 4649, 9858, 12, 14739, 3819, 16, 7839, 1046, 16, 977, 2655, 1769, 3639, 327, 638, 31, 1377, 289, 469, 309, 261, 955, 2655, 18, 588, 1638, 2335, 1435, 422, 3399, 9053, 907, 18, 588, 1528, 1782, 10756, 95, 3639, 2549, 3024, 23108, 12, 14739, 3819, 16, 977, 2655, 1769, 3639, 327, 638, 31, 1377, 289, 469, 288, 3639, 327, 629, 31, 1377, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 3238, 1250, 24189, 52, 2320, 12, 6385, 3867, 2655, 977, 2655, 16, 727, 514, 9578, 3819, 13, 288, 565, 727, 509, 1384, 273, 977, 2655, 18, 588, 1638, 2335, 5621, 565, 727, 9183, 907, 7839, 1046, 273, 1104, 1046, 861, 12, 3348, 1769, 1377, 309, 261, 12070, 1046, 480, 446, 13, 288, 3639, 309, 16051, 4811, 2568, 11047, 1595, 13407, 12077, 13, 288, 1850, 309, 261, 12070, 1046, 18, 588, 17481, 1435, 422, 3010, 559, 18, 16861, 67, 6616, 13, 327, 629, 31, 1850, 309, 261, 291, 23176, 23108, 12, 12070, 1046, 3719, 327, 629, 31, 1850, 2018, 18, 11231, 5510, 12, 12070, 1046, 18, 588, 52, 7722, 7675, 26810, 10663, 1850, 9183, 907, 2807, 907, 273, 4902, 2 ]
if ((sides & BOTTOM) == BOTTOM)
} if ((sides & BOTTOM) == BOTTOM) {
public static void paint(Rectangle bounds, int sides, CalculatedStyle style, Graphics g, RenderingContext ctx, int xOffset) { BorderPropertySet border = style.getBorder(ctx); if ((sides & TOP) == TOP) { if ( border.noTop()) { sides -= TOP; } } if ((sides & LEFT) == LEFT) { if ( border.noLeft() ) { sides -= LEFT; } } if ((sides & BOTTOM) == BOTTOM) { if ( border.noBottom()) { sides -= BOTTOM; } } if ((sides & RIGHT) == RIGHT) { if ( border.noRight()) { sides -= RIGHT; } } //Now paint! if ((sides & TOP) == TOP) paintBorderSide(border, g, bounds, sides, TOP, border.topStyle(), xOffset); if ((sides & LEFT) == LEFT) paintBorderSide(border, g, bounds, sides, LEFT, border.leftStyle(), xOffset); if ((sides & BOTTOM) == BOTTOM) paintBorderSide(border, g, bounds, sides, BOTTOM, border.bottomStyle(), xOffset); if ((sides & RIGHT) == RIGHT) paintBorderSide(border, g, bounds, sides, RIGHT, border.rightStyle(), xOffset); }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/1ca686f10a0033c5e79968a5d664589db0fef2ec/BorderPainter.java/buggy/src/java/org/xhtmlrenderer/render/BorderPainter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 12574, 12, 19463, 4972, 16, 509, 22423, 16, 15994, 690, 2885, 2154, 16, 16830, 314, 16, 18018, 1042, 1103, 16, 509, 619, 2335, 13, 288, 3639, 13525, 1396, 694, 5795, 273, 2154, 18, 588, 8107, 12, 5900, 1769, 3639, 309, 14015, 87, 4369, 473, 18680, 13, 422, 18680, 13, 288, 5411, 309, 261, 5795, 18, 2135, 3401, 10756, 288, 7734, 22423, 3947, 18680, 31, 5411, 289, 3639, 289, 3639, 309, 14015, 87, 4369, 473, 9686, 13, 422, 9686, 13, 288, 5411, 309, 261, 5795, 18, 2135, 3910, 1435, 262, 288, 7734, 22423, 3947, 9686, 31, 5411, 289, 3639, 289, 3639, 289, 309, 14015, 87, 4369, 473, 30666, 13, 422, 30666, 13, 288, 288, 5411, 309, 261, 5795, 18, 2135, 10393, 10756, 288, 7734, 22423, 3947, 30666, 31, 5411, 289, 3639, 289, 3639, 309, 14015, 87, 4369, 473, 13135, 13, 422, 13135, 13, 288, 5411, 309, 261, 5795, 18, 2135, 4726, 10756, 288, 7734, 22423, 3947, 13135, 31, 5411, 289, 3639, 289, 3639, 368, 8674, 12574, 5, 3639, 309, 14015, 87, 4369, 473, 18680, 13, 422, 18680, 13, 5411, 12574, 8107, 8895, 12, 8815, 16, 314, 16, 4972, 16, 22423, 16, 18680, 16, 5795, 18, 3669, 2885, 9334, 619, 2335, 1769, 3639, 309, 14015, 87, 4369, 473, 9686, 13, 422, 9686, 13, 5411, 12574, 8107, 8895, 12, 8815, 16, 314, 16, 4972, 16, 22423, 16, 9686, 16, 5795, 18, 4482, 2885, 9334, 619, 2335, 1769, 3639, 289, 309, 14015, 87, 4369, 473, 30666, 13, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 12574, 12, 19463, 4972, 16, 509, 22423, 16, 15994, 690, 2885, 2154, 16, 16830, 314, 16, 18018, 1042, 1103, 16, 509, 619, 2335, 13, 288, 3639, 13525, 1396, 694, 5795, 273, 2154, 18, 588, 8107, 12, 5900, 1769, 3639, 309, 14015, 87, 4369, 473, 18680, 13, 422, 18680, 13, 288, 5411, 309, 261, 5795, 18, 2135, 3401, 10756, 288, 7734, 22423, 3947, 18680, 31, 5411, 289, 3639, 289, 3639, 309, 14015, 87, 4369, 473, 9686, 13, 422, 9686, 13, 288, 5411, 309, 261, 5795, 18, 2135, 3910, 1435, 262, 288, 7734, 22423, 3947, 9686, 31, 5411, 289, 3639, 289, 3639, 289, 309, 14015, 87, 4369, 473, 30666, 13, 422, 30666, 13, 288, 288, 5411, 309, 2 ]
private static void setIcon(final String iconPath, final String className, final ClassLoader loader, final Presentation presentation) { if (iconPath != null) { try { final Class actionClass = Class.forName(className, true, loader); presentation.setIcon(IconLoader.getIcon(iconPath, actionClass)); } catch (ClassNotFoundException ignored) { //try to find icon in idea class path presentation.setIcon(IconLoader.getIcon(iconPath)); } catch (NoClassDefFoundError ignored) { //try to find icon in idea class path presentation.setIcon(IconLoader.getIcon(iconPath)); } } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/4972de74093751aa507c641e7a852c8feb15d5e3/ActionManagerImpl.java/clean/action-system/impl/com/intellij/openapi/actionSystem/impl/ActionManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6459, 542, 5554, 12, 6385, 780, 3950, 743, 16, 6385, 780, 12434, 16, 6385, 7805, 6714, 16, 6385, 6351, 367, 10364, 15329, 430, 12, 3950, 743, 5, 33, 2011, 15329, 698, 95, 6385, 797, 1128, 797, 33, 797, 18, 1884, 461, 12, 12434, 16, 3767, 16, 6714, 1769, 10364, 18, 542, 5554, 12, 5554, 2886, 18, 588, 5554, 12, 3950, 743, 16, 1128, 797, 10019, 97, 14683, 12, 797, 3990, 24055, 15329, 759, 698, 88, 792, 728, 3950, 267, 831, 1077, 459, 803, 10364, 18, 542, 5554, 12, 5554, 2886, 18, 588, 5554, 12, 3950, 743, 10019, 97, 14683, 12, 2279, 797, 3262, 2043, 668, 24055, 15329, 759, 698, 88, 792, 728, 3950, 267, 831, 1077, 459, 803, 10364, 18, 542, 5554, 12, 5554, 2886, 18, 588, 5554, 12, 3950, 743, 10019, 9090, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6015, 270, 395, 2126, 6459, 542, 5554, 12, 6385, 780, 3950, 743, 16, 6385, 780, 12434, 16, 6385, 7805, 6714, 16, 6385, 6351, 367, 10364, 15329, 430, 12, 3950, 743, 5, 33, 2011, 15329, 698, 95, 6385, 797, 1128, 797, 33, 797, 18, 1884, 461, 12, 12434, 16, 3767, 16, 6714, 1769, 10364, 18, 542, 5554, 12, 5554, 2886, 18, 588, 5554, 12, 3950, 743, 16, 1128, 797, 10019, 97, 14683, 12, 797, 3990, 24055, 15329, 759, 698, 88, 792, 728, 3950, 267, 831, 1077, 459, 803, 10364, 18, 542, 5554, 12, 5554, 2886, 18, 588, 5554, 12, 3950, 743, 10019, 97, 14683, 12, 2279, 797, 3262, 2043, 668, 24055, 15329, 759, 698, 88, 792, 728, 3950, 267, 831, 2 ]
public void setFirst(Integer pFirst)
public void setFirst(Integer first)
public void setFirst(Integer pFirst) { mFirst = pFirst; }
7284 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7284/a9790c1d8af2439920d0b3656a52ccf7292047b0/Pagination.java/clean/displaytag/src/main/java/org/displaytag/pagination/Pagination.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24789, 12, 4522, 1122, 13, 565, 288, 3639, 312, 3759, 273, 293, 3759, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 24789, 12, 4522, 1122, 13, 565, 288, 3639, 312, 3759, 273, 293, 3759, 31, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public org.quickfix.field.SettlCurrency getSettlCurrency() throws FieldNotFound { org.quickfix.field.SettlCurrency value = new org.quickfix.field.SettlCurrency();
public quickfix.field.SettlCurrency getSettlCurrency() throws FieldNotFound { quickfix.field.SettlCurrency value = new quickfix.field.SettlCurrency();
public org.quickfix.field.SettlCurrency getSettlCurrency() throws FieldNotFound { org.quickfix.field.SettlCurrency value = new org.quickfix.field.SettlCurrency(); getField(value); return value; }
8803 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8803/fecc27f98261270772ff182a1d4dfd94b5daa73d/NewOrderMultileg.java/buggy/src/java/src/quickfix/fix44/NewOrderMultileg.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 336, 694, 6172, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 336, 694, 6172, 7623, 1435, 1216, 2286, 2768, 225, 288, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 460, 273, 394, 2358, 18, 19525, 904, 18, 1518, 18, 694, 6172, 7623, 5621, 565, 5031, 12, 1132, 1769, 327, 460, 31, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (nextSibling == null) { return data; }
public String getWholeText(){ if (needsSyncData()) { synchronizeData(); } if (nextSibling == null) { return data; } if (fBufferStr == null){ fBufferStr = new StringBuffer(); } else { fBufferStr.setLength(0); } if (data != null && data.length() != 0) { fBufferStr.append(data); } getWholeText(nextSibling, fBufferStr); return fBufferStr.toString(); }
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/1512fef8fa5b8edcc8c588ffb30699ae8f150385/TextImpl.java/buggy/src/org/apache/xerces/dom/TextImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 2888, 790, 1528, 1435, 95, 7734, 309, 261, 20600, 4047, 751, 10756, 288, 5411, 16978, 751, 5621, 3639, 289, 3639, 309, 261, 4285, 10291, 422, 446, 13, 288, 5411, 327, 501, 31, 3639, 289, 3639, 309, 261, 74, 1892, 1585, 422, 446, 15329, 5411, 284, 1892, 1585, 273, 394, 6674, 5621, 3639, 289, 3639, 469, 288, 5411, 284, 1892, 1585, 18, 542, 1782, 12, 20, 1769, 3639, 289, 3639, 309, 261, 892, 480, 446, 597, 501, 18, 2469, 1435, 480, 374, 13, 288, 5411, 284, 1892, 1585, 18, 6923, 12, 892, 1769, 3639, 289, 3639, 336, 2888, 790, 1528, 12, 4285, 10291, 16, 284, 1892, 1585, 1769, 3639, 327, 284, 1892, 1585, 18, 10492, 5621, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 514, 336, 2888, 790, 1528, 1435, 95, 7734, 309, 261, 20600, 4047, 751, 10756, 288, 5411, 16978, 751, 5621, 3639, 289, 3639, 309, 261, 4285, 10291, 422, 446, 13, 288, 5411, 327, 501, 31, 3639, 289, 3639, 309, 261, 74, 1892, 1585, 422, 446, 15329, 5411, 284, 1892, 1585, 273, 394, 6674, 5621, 3639, 289, 3639, 469, 288, 5411, 284, 1892, 1585, 18, 542, 1782, 12, 20, 1769, 3639, 289, 3639, 309, 261, 892, 480, 446, 597, 501, 18, 2469, 1435, 480, 374, 13, 288, 5411, 284, 1892, 1585, 18, 6923, 12, 892, 1769, 3639, 289, 3639, 336, 2888, 790, 1528, 12, 4285, 10291, 16, 284, 1892, 1585, 1769, 3639, 327, 284, 1892, 1585, 18, 10492, 5621, 2 ]
root.getAppearance().setAttribute(CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.GREEN);
root.getAppearance().setAttribute(CommonAttributes.DIFFUSE_COLOR, java.awt.Color.green);
public static SceneGraphComponent generateScene(SceneGraphComponent root) { Appearance ap1 = new Appearance(); root.setAppearance(ap1); root.getAppearance().setAttribute("normalScale",0.05); // root.getAppearance().setAttribute("faceShader.diffuseColor", java.awt.Color.GREEN); root.getAppearance().setAttribute(CommonAttributes.DIFFUSE_COLOR, DefaultMaterialShader.GREEN); for (int i = 0; i< 5; ++i) { Torus torus= new Torus(0.5, 0.3, 20, 30); //CatenoidHelicoid torus = new CatenoidHelicoid(20); torus.buildEdgesFromFaces(); torus.setName("torus"+i); //torus.calculateNormals(); torus.setFaceAttributes(Attribute.NORMALS, StorageModel.DOUBLE_ARRAY.array(3).createReadOnly(GeometryUtility.calculateFaceNormals(torus))); //torus.setVertexAttributes(Attribute.NORMALS, new DataList(StorageModel.DOUBLE_ARRAY.array(3), GeometryUtility.calculateVertexNormals(torus))); SceneGraphComponent globeNode = new SceneGraphComponent(); globeNode.setName("comp"+i); Transformation gt= new Transformation(); gt.setTranslation(-5.0 + 8.0* i, 0, 0.0); gt.setStretch(5); globeNode.setTransformation(gt); if (i!=0) globeNode.setGeometry(GeometryUtility.implode(torus, -.9 + .4 * i)); else globeNode.setGeometry(GeometryUtility.truncate(torus)); ap1 = new Appearance(); ap1.setAttribute(CommonAttributes.POLYGON_SHADER + "." + CommonAttributes.DIFFUSE_COLOR, new java.awt.Color(255-(5*i),10*i,20*i)); ap1.setAttribute(CommonAttributes.POLYGON_SHADER+"."+CommonAttributes.SMOOTH_SHADING, ((i%2)==0)); globeNode.setAppearance(ap1); root.addChild(globeNode); } return root; }
25414 /local/tlutelli/issta_data/temp/all_java2context/java/2006_temp/2006/25414/352d69123ac0111eaac1bdb80e046d16518a5f52/ImplodeShaderDemo.java/clean/test/de/jreality/examples/jsyzygy/ImplodeShaderDemo.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 29347, 4137, 1841, 2103, 14370, 12, 14370, 4137, 1841, 1365, 13, 288, 202, 1294, 27668, 513, 21, 273, 394, 1716, 27668, 5621, 202, 3085, 18, 542, 1294, 27668, 12, 438, 21, 1769, 202, 3085, 18, 588, 1294, 27668, 7675, 542, 1499, 2932, 6130, 5587, 3113, 20, 18, 6260, 1769, 202, 759, 1365, 18, 588, 1294, 27668, 7675, 542, 1499, 2932, 865, 19396, 18, 5413, 1202, 2957, 3113, 2252, 18, 2219, 88, 18, 2957, 18, 29500, 1769, 202, 3085, 18, 588, 1294, 27668, 7675, 542, 1499, 12, 6517, 2498, 18, 2565, 2246, 8001, 67, 10989, 16, 2989, 11790, 19396, 18, 29500, 1769, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 32, 1381, 31, 965, 77, 13, 202, 95, 202, 202, 27266, 407, 8934, 407, 33, 394, 23763, 407, 12, 20, 18, 25, 16, 374, 18, 23, 16, 4200, 16, 5196, 1769, 202, 565, 368, 11554, 275, 839, 44, 292, 335, 839, 8934, 407, 273, 394, 385, 270, 275, 839, 44, 292, 335, 839, 12, 3462, 1769, 202, 565, 8934, 407, 18, 3510, 10697, 1265, 17268, 5621, 202, 565, 8934, 407, 18, 542, 461, 2932, 13039, 407, 6, 15, 77, 1769, 202, 202, 759, 13039, 407, 18, 11162, 14624, 1031, 5621, 202, 202, 13039, 407, 18, 542, 11824, 2498, 12, 1499, 18, 15480, 55, 16, 5235, 1488, 18, 17088, 67, 8552, 18, 1126, 12, 23, 2934, 2640, 12066, 12, 9823, 6497, 18, 11162, 11824, 14624, 1031, 12, 13039, 407, 3719, 1769, 202, 202, 759, 13039, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 29347, 4137, 1841, 2103, 14370, 12, 14370, 4137, 1841, 1365, 13, 288, 202, 1294, 27668, 513, 21, 273, 394, 1716, 27668, 5621, 202, 3085, 18, 542, 1294, 27668, 12, 438, 21, 1769, 202, 3085, 18, 588, 1294, 27668, 7675, 542, 1499, 2932, 6130, 5587, 3113, 20, 18, 6260, 1769, 202, 759, 1365, 18, 588, 1294, 27668, 7675, 542, 1499, 2932, 865, 19396, 18, 5413, 1202, 2957, 3113, 2252, 18, 2219, 88, 18, 2957, 18, 29500, 1769, 202, 3085, 18, 588, 1294, 27668, 7675, 542, 1499, 12, 6517, 2498, 18, 2565, 2246, 8001, 67, 10989, 16, 2989, 11790, 19396, 18, 29500, 1769, 202, 1884, 261, 474, 277, 273, 374, 31, 277, 32, 1381, 31, 965, 77, 13, 2 ]
} catch (Exception exc) {
} catch(Exception excp) { logger.debug(excp.toString());
public SVGWriter(Writer out) { logger = new LoggingTool(this); try { if (out instanceof BufferedWriter) { writer = (BufferedWriter)out; } else { writer = new BufferedWriter(out); } } catch (Exception exc) { } }
46046 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46046/c7e1fd8c780375eaa4c0b105b7ea488dd44ef9fb/SVGWriter.java/buggy/src/org/openscience/cdk/io/SVGWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 2289, 12, 2289, 596, 13, 288, 377, 202, 4901, 273, 394, 10253, 6364, 12, 2211, 1769, 377, 202, 698, 288, 377, 202, 202, 430, 261, 659, 1276, 22490, 13, 288, 7734, 2633, 273, 261, 17947, 2289, 13, 659, 31, 5411, 289, 469, 288, 7734, 2633, 273, 394, 22490, 12, 659, 1769, 5411, 289, 3639, 289, 1044, 12, 503, 3533, 84, 13, 288, 1194, 18, 4148, 12, 338, 4057, 18, 10492, 10663, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 11281, 2289, 12, 2289, 596, 13, 288, 377, 202, 4901, 273, 394, 10253, 6364, 12, 2211, 1769, 377, 202, 698, 288, 377, 202, 202, 430, 261, 659, 1276, 22490, 13, 288, 7734, 2633, 273, 261, 17947, 2289, 13, 659, 31, 5411, 289, 469, 288, 7734, 2633, 273, 394, 22490, 12, 659, 1769, 5411, 289, 3639, 289, 1044, 12, 503, 3533, 84, 13, 288, 1194, 18, 4148, 12, 338, 4057, 18, 10492, 10663, 3639, 289, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if (((MClassifierRole)it.next()).getBases().contains(base))
if (((MClassifierRole) it.next()).getBases().contains(base))
public void addBase(MClassifierRole role, MClassifier base) { if (role == null || base == null) throw new IllegalArgumentException("In addBase: either the role or the base is null"); // wellformednessrule: if the role does not have a name, the role shall // be the only one with the particular base if (role.getName() == null || role.getName().equals("")) { MCollaboration collab = (MCollaboration)role.getNamespace(); Collection roles = ModelManagementHelper.getHelper().getAllModelElementsOfKind(collab, MClassifierRole.class); Iterator it = roles.iterator(); while (it.hasNext()) { if (((MClassifierRole)it.next()).getBases().contains(base)) throw new IllegalArgumentException("In addBase: base is allready part of another role and role does not have a name"); } } role.addBase(base); if (role.getBases().size() == 1) { role.setAvailableContentses(base.getOwnedElements()); role.setAvailableFeatures(base.getFeatures()); } else { Iterator it = base.getOwnedElements().iterator(); while (it.hasNext()) { MModelElement elem = (MModelElement)it.next(); if (!role.getAvailableContentses().contains(elem)) { role.addAvailableContents((MModelElement)it.next()); } } it = base.getFeatures().iterator(); while (it.hasNext()) { MFeature feature = (MFeature)it.next(); if (!role.getAvailableFeatures().contains(feature)) { role.addAvailableFeature((MFeature)it.next()); } } } }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/ca3bcb5d6dd283c4553bcbfe50b108dc5d499768/CollaborationsHelper.java/buggy/src_new/org/argouml/model/uml/behavioralelements/collaborations/CollaborationsHelper.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2171, 12, 49, 13860, 2996, 2478, 16, 490, 13860, 1026, 13, 288, 3639, 309, 261, 4615, 422, 446, 747, 1026, 422, 446, 13, 604, 394, 2754, 2932, 382, 527, 2171, 30, 3344, 326, 2478, 578, 326, 1026, 353, 446, 8863, 3639, 368, 5492, 7312, 4496, 5345, 30, 309, 326, 2478, 1552, 486, 1240, 279, 508, 16, 326, 2478, 24315, 3639, 368, 506, 326, 1338, 1245, 598, 326, 6826, 1026, 3639, 309, 261, 4615, 18, 17994, 1435, 422, 446, 747, 2478, 18, 17994, 7675, 14963, 2932, 6, 3719, 288, 5411, 490, 22894, 22226, 21326, 273, 261, 49, 22894, 22226, 13, 4615, 18, 588, 3402, 5621, 5411, 2200, 4900, 273, 3164, 10998, 2276, 18, 588, 2276, 7675, 588, 1595, 1488, 3471, 951, 5677, 12, 1293, 7411, 16, 490, 13860, 2996, 18, 1106, 1769, 5411, 4498, 518, 273, 4900, 18, 9838, 5621, 5411, 1323, 261, 305, 18, 5332, 2134, 10756, 288, 7734, 309, 261, 12443, 49, 13860, 2996, 13, 518, 18, 4285, 1435, 2934, 588, 38, 3304, 7675, 12298, 12, 1969, 3719, 5397, 604, 394, 2754, 2932, 382, 527, 2171, 30, 1026, 353, 777, 1672, 1087, 434, 4042, 2478, 471, 2478, 1552, 486, 1240, 279, 508, 8863, 5411, 289, 3639, 289, 3639, 2478, 18, 1289, 2171, 12, 1969, 1769, 3639, 309, 261, 4615, 18, 588, 38, 3304, 7675, 1467, 1435, 422, 404, 13, 288, 5411, 2478, 18, 542, 5268, 1350, 2420, 12, 1969, 18, 588, 5460, 329, 3471, 10663, 5411, 2478, 18, 542, 5268, 8696, 12, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 527, 2171, 12, 49, 13860, 2996, 2478, 16, 490, 13860, 1026, 13, 288, 3639, 309, 261, 4615, 422, 446, 747, 1026, 422, 446, 13, 604, 394, 2754, 2932, 382, 527, 2171, 30, 3344, 326, 2478, 578, 326, 1026, 353, 446, 8863, 3639, 368, 5492, 7312, 4496, 5345, 30, 309, 326, 2478, 1552, 486, 1240, 279, 508, 16, 326, 2478, 24315, 3639, 368, 506, 326, 1338, 1245, 598, 326, 6826, 1026, 3639, 309, 261, 4615, 18, 17994, 1435, 422, 446, 747, 2478, 18, 17994, 7675, 14963, 2932, 6, 3719, 288, 5411, 490, 22894, 22226, 21326, 273, 261, 49, 22894, 22226, 13, 4615, 18, 588, 3402, 5621, 5411, 2200, 4900, 273, 3164, 10998, 2276, 18, 588, 2276, 7675, 2 ]
result.defineMethod("lineno=", callbackFactory.getMethod(RubyIO.class, "lineno_set", RubyFixnum.class));
result.defineMethod("read", callbackFactory.getOptMethod(RubyIO.class, "read")); result.defineMethod("readchar", callbackFactory.getMethod(RubyIO.class, "readchar")); result.defineMethod("readline", callbackFactory.getOptMethod(RubyIO.class, "readline")); result.defineMethod("readlines", callbackFactory.getOptMethod(RubyIO.class, "readlines")); result.defineMethod("reopen", callbackFactory.getOptMethod(RubyIO.class, "reopen", IRubyObject.class)); result.defineMethod("rewind", callbackFactory.getMethod(RubyIO.class, "rewind")); result.defineMethod("seek", callbackFactory.getOptMethod(RubyIO.class, "seek")); result.defineMethod("sync", callbackFactory.getMethod(RubyIO.class, "sync"));
public static RubyClass createIOClass(Ruby ruby) { RubyClass result = new IODefinition(ruby).getType(); CallbackFactory callbackFactory = ruby.callbackFactory(); result.defineMethod("print", callbackFactory.getOptSingletonMethod(RubyIO.class, "print")); result.defineMethod("printf", callbackFactory.getOptSingletonMethod(RubyIO.class, "printf")); result.defineMethod("puts", callbackFactory.getOptSingletonMethod(RubyIO.class, "puts")); result.defineMethod("lineno=", callbackFactory.getMethod(RubyIO.class, "lineno_set", RubyFixnum.class)); result.defineMethod("sync=", callbackFactory.getMethod(RubyIO.class, "sync_set", RubyBoolean.class)); result.defineMethod("fsync", callbackFactory.getMethod(RubyIO.class, "fsync")); result.defineSingletonMethod("foreach", callbackFactory.getOptSingletonMethod(RubyIO.class, "foreach", IRubyObject.class)); result.defineSingletonMethod("readlines", callbackFactory.getOptSingletonMethod(RubyIO.class, "readlines")); return result; }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/4c689a812e20d4fcf2da0cdc9b527b00cc1960ef/RubyIO.java/buggy/src/org/jruby/RubyIO.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 4294, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 563, 273, 394, 1665, 1852, 12, 27768, 2934, 588, 559, 5621, 3639, 8444, 1733, 1348, 1733, 273, 22155, 18, 3394, 1733, 5621, 3639, 563, 18, 11255, 1305, 2932, 1188, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 1188, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 1461, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 1461, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 27010, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 27010, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 896, 3113, 1348, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 896, 7923, 1769, 563, 18, 11255, 1305, 2932, 896, 3001, 3113, 1348, 1733, 18, 588, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 896, 3001, 7923, 1769, 563, 18, 11255, 1305, 2932, 896, 1369, 3113, 1348, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 896, 1369, 7923, 1769, 563, 18, 11255, 1305, 2932, 896, 3548, 3113, 1348, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 896, 3548, 7923, 1769, 563, 18, 11255, 1305, 2932, 266, 3190, 3113, 1348, 1733, 18, 588, 6179, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 266, 3190, 3113, 15908, 10340, 921, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 19817, 797, 752, 4294, 797, 12, 54, 10340, 22155, 13, 288, 3639, 19817, 797, 563, 273, 394, 1665, 1852, 12, 27768, 2934, 588, 559, 5621, 3639, 8444, 1733, 1348, 1733, 273, 22155, 18, 3394, 1733, 5621, 3639, 563, 18, 11255, 1305, 2932, 1188, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 1188, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 1461, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 1461, 7923, 1769, 3639, 563, 18, 11255, 1305, 2932, 27010, 3113, 1348, 1733, 18, 588, 6179, 19571, 1305, 12, 54, 10340, 4294, 18, 1106, 16, 315, 27010, 7923, 1769, 3639, 563, 2 ]
os.add(o1); os.add(o2); os.add(o3); os.add(o4);
target.add(o1); target.add(o2); target.add(o3); target.add(o4);
public void testObjectSpace() { ObjectSpace os = new ObjectSpace(); IRubyObject o1 = runtime.newFixnum(10); IRubyObject o2 = runtime.newFixnum(20); IRubyObject o3 = runtime.newFixnum(30); IRubyObject o4 = runtime.newString("hello"); os.add(o1); os.add(o2); os.add(o3); os.add(o4); List storedFixnums = new ArrayList(3); storedFixnums.add(o1); storedFixnums.add(o2); storedFixnums.add(o3); Iterator strings = os.iterator(runtime.getString()); assertSame(o4, strings.next()); assertEquals(null, strings.next()); Iterator numerics = os.iterator(runtime.getClass("Numeric")); for (int i = 0; i < 3; i++) { Object item = numerics.next(); assertTrue(storedFixnums.contains(item)); } assertEquals(null, numerics.next()); }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/c8b66db475de1dc66f347884891dd70d9943689b/TestObjectSpace.java/buggy/test/org/jruby/test/TestObjectSpace.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 21, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 22, 1769, 3639, 4041, 8585, 21180, 18, 1289, 12, 83, 23, 1769, 3639, 4498, 2064, 273, 1140, 18, 9838, 12, 9448, 18, 588, 780, 10663, 3639, 1815, 8650, 12, 83, 24, 16, 2064, 18, 4285, 10663, 3639, 1815, 8867, 12, 2011, 16, 2064, 18, 4285, 10663, 3639, 4498, 26511, 2102, 273, 1140, 18, 9838, 12, 9448, 18, 588, 797, 2932, 9902, 7923, 1769, 3639, 364, 261, 474, 277, 273, 374, 31, 277, 411, 890, 31, 277, 27245, 288, 5411, 1033, 761, 273, 26511, 2102, 18, 4285, 5621, 5411, 1815, 5510, 12, 22601, 8585, 21180, 18, 12298, 12, 1726, 10019, 3639, 289, 3639, 1815, 8867, 12, 2011, 16, 26511, 2102, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 1842, 921, 3819, 1435, 288, 3639, 1033, 3819, 1140, 273, 394, 1033, 3819, 5621, 3639, 15908, 10340, 921, 320, 21, 273, 3099, 18, 2704, 8585, 2107, 12, 2163, 1769, 3639, 15908, 10340, 921, 320, 22, 273, 3099, 18, 2704, 8585, 2107, 12, 3462, 1769, 3639, 15908, 10340, 921, 320, 23, 273, 3099, 18, 2704, 8585, 2107, 12, 5082, 1769, 3639, 15908, 10340, 921, 320, 24, 273, 3099, 18, 2704, 780, 2932, 23711, 8863, 3639, 1140, 18, 1289, 12, 83, 21, 1769, 3639, 1140, 18, 1289, 12, 83, 22, 1769, 3639, 1140, 18, 1289, 12, 83, 23, 1769, 3639, 1140, 18, 1289, 12, 83, 24, 1769, 3639, 987, 4041, 8585, 21180, 273, 394, 2407, 12, 23, 1769, 2 ]
longLine.delete(0, 80);
private void writeLine (String line) throws IOException { if ( line != null && line.length() != 0) { if (line.length() <= 80) { // write short line bufWriter.write(line, 0, line.length()); } else { // berak long line StringBuffer longLine = new StringBuffer(); longLine.append(line); // write the first 80 chars to outputStream bufWriter.write(longLine.toString(), 0, 80); // remove the chars that already been written out longLine.delete(0, 80); bufWriter.newLine(); while(longLine.length() > 79) { // write continuation line bufWriter.write(" " + longLine, 0, 80); // remove the chars that already been written out longLine.delete(0, 79); // start a new line bufWriter.newLine(); } // write the remaining part of the lien out bufWriter.write(" " + longLine, 0, longLine.length()+1); } // write an empty line bufWriter.newLine(); } }
9947 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/9947/8810ca7b20c9cd7dc627451a6c4b5b0a4e2fbac0/LDIFWriter.java/clean/com/novell/ldap/util/LDIFWriter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 18360, 261, 780, 980, 13, 1216, 1860, 565, 288, 3639, 309, 261, 980, 480, 446, 597, 980, 18, 2469, 1435, 480, 374, 13, 288, 5411, 309, 261, 1369, 18, 2469, 1435, 1648, 8958, 13, 288, 7734, 368, 1045, 3025, 980, 7734, 1681, 2289, 18, 2626, 12, 1369, 16, 374, 16, 980, 18, 2469, 10663, 5411, 289, 5411, 469, 288, 7734, 368, 27965, 581, 1525, 980, 7734, 6674, 1525, 1670, 273, 394, 6674, 5621, 7734, 1525, 1670, 18, 6923, 12, 1369, 1769, 7734, 368, 1045, 326, 1122, 8958, 5230, 358, 14956, 7734, 1681, 2289, 18, 2626, 12, 5748, 1670, 18, 10492, 9334, 374, 16, 8958, 1769, 7734, 368, 1206, 326, 5230, 716, 1818, 2118, 5941, 596, 1171, 9079, 1681, 2289, 18, 2704, 1670, 5621, 7734, 1323, 12, 5748, 1670, 18, 2469, 1435, 405, 26517, 13, 288, 10792, 368, 1045, 17378, 980, 10792, 1681, 2289, 18, 2626, 2932, 315, 397, 1525, 1670, 16, 374, 16, 8958, 1769, 10792, 368, 1206, 326, 5230, 716, 1818, 2118, 5941, 596, 10792, 1525, 1670, 18, 3733, 12, 20, 16, 26517, 1769, 10792, 368, 787, 279, 394, 980, 10792, 1681, 2289, 18, 2704, 1670, 5621, 7734, 289, 7734, 368, 1045, 326, 4463, 1087, 434, 326, 4501, 275, 596, 7734, 1681, 2289, 18, 2626, 2932, 315, 397, 1525, 1670, 16, 374, 16, 1525, 1670, 18, 2469, 1435, 15, 21, 1769, 5411, 289, 5411, 368, 1045, 392, 1008, 980, 5411, 1681, 2289, 18, 2704, 1670, 5621, 3639, 289, 565, 289, 2, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 18360, 261, 780, 980, 13, 1216, 1860, 565, 288, 3639, 309, 261, 980, 480, 446, 597, 980, 18, 2469, 1435, 480, 374, 13, 288, 5411, 309, 261, 1369, 18, 2469, 1435, 1648, 8958, 13, 288, 7734, 368, 1045, 3025, 980, 7734, 1681, 2289, 18, 2626, 12, 1369, 16, 374, 16, 980, 18, 2469, 10663, 5411, 289, 5411, 469, 288, 7734, 368, 27965, 581, 1525, 980, 7734, 6674, 1525, 1670, 273, 394, 6674, 5621, 7734, 1525, 1670, 18, 6923, 12, 1369, 1769, 7734, 368, 1045, 326, 1122, 8958, 5230, 358, 14956, 7734, 1681, 2289, 18, 2626, 12, 5748, 1670, 18, 10492, 9334, 374, 16, 8958, 1769, 7734, 368, 1206, 326, 5230, 716, 1818, 2118, 5941, 596, 1171, 2 ]
this.txtAdvMultiplier.setEnabled(false); this.txtNumberPattern.setEnabled(false); } else if (this.btnAdvanced.getSelection()) { this.txtPrefix.setEnabled(false); this.txtSuffix.setEnabled(false); this.txtMultiplier.setEnabled(false); this.iscFractionDigits.setEnabled(false);
this.txtAdvMultiplier.setEnabled( false ); this.txtNumberPattern.setEnabled( false ); } else if ( this.btnAdvanced.getSelection( ) ) { this.txtPrefix.setEnabled( false ); this.txtSuffix.setEnabled( false ); this.txtMultiplier.setEnabled( false ); this.iscFractionDigits.setEnabled( false );
private void updateUIState() { if (cmbDataType.getText().equals("Number")) //$NON-NLS-1$ { if (this.btnStandard.getSelection()) { // Enable Standard properties for number this.txtPrefix.setEnabled(true); this.txtSuffix.setEnabled(true); this.txtMultiplier.setEnabled(true); this.iscFractionDigits.setEnabled(true); // Disable Advanced properties for number this.txtAdvMultiplier.setEnabled(false); this.txtNumberPattern.setEnabled(false); } else if (this.btnAdvanced.getSelection()) { // Disable Standard properties for number this.txtPrefix.setEnabled(false); this.txtSuffix.setEnabled(false); this.txtMultiplier.setEnabled(false); this.iscFractionDigits.setEnabled(false); // Enable Standard properties for number this.txtAdvMultiplier.setEnabled(true); this.txtNumberPattern.setEnabled(true); } else { // Disable both Standard and Advanced properties this.txtPrefix.setEnabled(false); this.txtSuffix.setEnabled(false); this.txtMultiplier.setEnabled(false); this.iscFractionDigits.setEnabled(false); this.txtAdvMultiplier.setEnabled(false); this.txtNumberPattern.setEnabled(false); } } else { if (this.btnStandard.getSelection()) { // Enable Standard properties for date this.cmbDateForm.setEnabled(true); this.cmbDateType.setEnabled(true); // Disable Standard properties for date this.txtDatePattern.setEnabled(false); } else if (this.btnAdvanced.getSelection()) { // Disable Standard properties for date this.cmbDateForm.setEnabled(false); this.cmbDateType.setEnabled(false); // Enable Standard properties for date this.txtDatePattern.setEnabled(true); } else { // Disable both Standard and Advanced properties this.cmbDateForm.setEnabled(false); this.cmbDateType.setEnabled(false); this.txtDatePattern.setEnabled(false); } } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/c2635683b569bc35b628d25cbf49853caae225fa/FormatSpecifierComposite.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/composites/FormatSpecifierComposite.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 5370, 1119, 1435, 565, 288, 3639, 309, 261, 71, 1627, 6273, 18, 588, 1528, 7675, 14963, 2932, 1854, 6, 3719, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 5411, 309, 261, 2211, 18, 11898, 8336, 18, 588, 6233, 10756, 5411, 288, 7734, 368, 9677, 8263, 1790, 364, 1300, 7734, 333, 18, 5830, 2244, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 5830, 5791, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 5830, 23365, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 291, 71, 13724, 9537, 18, 542, 1526, 12, 3767, 1769, 7734, 368, 10639, 27451, 1790, 364, 1300, 7734, 333, 18, 5830, 28915, 23365, 18, 542, 1526, 12, 5743, 1769, 7734, 333, 18, 5830, 1854, 3234, 18, 542, 1526, 12, 5743, 1769, 5411, 289, 5411, 469, 309, 261, 2211, 18, 11898, 23618, 18, 588, 6233, 10756, 5411, 288, 7734, 368, 10639, 8263, 1790, 364, 1300, 7734, 333, 18, 5830, 2244, 18, 542, 1526, 12, 5743, 1769, 7734, 333, 18, 5830, 5791, 18, 542, 1526, 12, 5743, 1769, 7734, 333, 18, 5830, 23365, 18, 542, 1526, 12, 5743, 1769, 7734, 333, 18, 291, 71, 13724, 9537, 18, 542, 1526, 12, 5743, 1769, 7734, 368, 9677, 8263, 1790, 364, 1300, 7734, 333, 18, 5830, 28915, 23365, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 5830, 1854, 3234, 18, 542, 1526, 12, 3767, 1769, 5411, 289, 5411, 469, 5411, 288, 7734, 368, 10639, 3937, 8263, 471, 27451, 1790, 7734, 333, 18, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 918, 1089, 5370, 1119, 1435, 565, 288, 3639, 309, 261, 71, 1627, 6273, 18, 588, 1528, 7675, 14963, 2932, 1854, 6, 3719, 4329, 3993, 17, 5106, 17, 21, 8, 3639, 288, 5411, 309, 261, 2211, 18, 11898, 8336, 18, 588, 6233, 10756, 5411, 288, 7734, 368, 9677, 8263, 1790, 364, 1300, 7734, 333, 18, 5830, 2244, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 5830, 5791, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 5830, 23365, 18, 542, 1526, 12, 3767, 1769, 7734, 333, 18, 291, 71, 13724, 9537, 18, 542, 1526, 12, 3767, 1769, 7734, 368, 10639, 27451, 1790, 364, 1300, 7734, 333, 18, 5830, 28915, 23365, 18, 542, 1526, 12, 5743, 1769, 7734, 2 ]
this.defaultRoute = new HopImpl(defaultRoute);
this.defaultRoute = (Hop) this.sipStack.getAddressResolver().resolveAddress((Hop)(new HopImpl(defaultRoute)));
public DefaultRouter(SipStack sipStack, String defaultRoute) { this.sipStack = (SIPMessageStack) sipStack; if (defaultRoute != null) { this.defaultRoute = new HopImpl(defaultRoute); } }
3364 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3364/68c0ca844a7d5fe4a7744cbf9898184966ce0680/DefaultRouter.java/buggy/src/gov/nist/javax/sip/stack/DefaultRouter.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 8259, 12, 17550, 2624, 10341, 2624, 16, 514, 805, 3255, 13, 288, 202, 202, 2211, 18, 28477, 2624, 273, 261, 17739, 1079, 2624, 13, 10341, 2624, 31, 202, 202, 430, 261, 1886, 3255, 480, 446, 13, 288, 1082, 202, 2211, 18, 1886, 3255, 273, 394, 670, 556, 2828, 12, 1886, 3255, 1769, 202, 202, 97, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 2989, 8259, 12, 17550, 2624, 10341, 2624, 16, 514, 805, 3255, 13, 288, 202, 202, 2211, 18, 28477, 2624, 273, 261, 17739, 1079, 2624, 13, 10341, 2624, 31, 202, 202, 430, 261, 1886, 3255, 480, 446, 13, 288, 1082, 202, 2211, 18, 1886, 3255, 273, 394, 670, 556, 2828, 12, 1886, 3255, 1769, 202, 202, 97, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
public void wrong(Parse cell, String actual)
public void wrong(Parse cell)
public void wrong(Parse cell, String actual) { wrong(cell); cell.addToBody(label("expected") + "<hr>" + escape(actual) + label("actual")); }
48802 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48802/1b401eb378fe954e4efe95e43200d692e3cf2d7d/Fixture.java/buggy/src/fit/Fixture.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7194, 12, 3201, 2484, 13, 225, 288, 565, 7194, 12, 3855, 1769, 565, 2484, 18, 1289, 774, 2250, 12, 1925, 2932, 3825, 7923, 397, 3532, 7256, 2984, 397, 4114, 12, 18672, 13, 3639, 397, 1433, 2932, 18672, 7923, 1769, 225, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 7194, 12, 3201, 2484, 13, 225, 288, 565, 7194, 12, 3855, 1769, 565, 2484, 18, 1289, 774, 2250, 12, 1925, 2932, 3825, 7923, 397, 3532, 7256, 2984, 397, 4114, 12, 18672, 13, 3639, 397, 1433, 2932, 18672, 7923, 1769, 225, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
is_float = seen_point = seen_e = seen_uc = false;
private int start_num(int c) { boolean is_float; boolean seen_point; boolean seen_e; boolean seen_uc; is_float = seen_point = seen_e = seen_uc = false; ph.setLexState(LexState.EXPR_END); newtok(); if (c == '-' || c == '+') { tokadd(c); c = nextc(); } if (c == '0') { c = nextc(); if (c == 'x' || c == 'X') { // hexadecimal c = nextc(); do { if (c == '_') { seen_uc = true; continue; } if (!ISXDIGIT(c)) { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (toklen() == 0) { yyerror("hexadecimal number without hex-digits"); } else if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 16); return Token.tINTEGER; } if (c == 'b' || c == 'B') { // binary c = nextc(); do { if (c == '_') { seen_uc = true; continue; } if (c != '0' && c != '1') { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (toklen() == 0) { yyerror("numeric literal without digits"); } else if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 2); return Token.tINTEGER; } if (c >= '0' && c <= '7' || c == '_') { // octal do { if (c == '_') { seen_uc = true; continue; } if (c < '0' || c > '7') { break; } seen_uc = false; tokadd(c); } while ((c = nextc()) != 0); pushback(c); tokfix(); if (seen_uc) { return decode_num(c, is_float, seen_uc, true); } yyVal = rb_cstr2inum(tok(), 8); return Token.tINTEGER; } if (c > '7' && c <= '9') { yyerror("Illegal octal digit"); } else if (c == '.') { tokadd('0'); } else { pushback(c); yyVal = RubyFixnum.zero(ruby); return Token.tINTEGER; } } for (;;) { switch (c) { case '0' : case '1' : case '2' : case '3' : case '4' : case '5' : case '6' : case '7' : case '8' : case '9' : seen_uc = false; tokadd(c); break; case '.' : if (seen_point || seen_e) { return decode_num(c, is_float, seen_uc); } else { int c0 = nextc(); if (!Character.isDigit((char) c0)) { pushback(c0); return decode_num(c, is_float, seen_uc); } c = c0; } tokadd('.'); tokadd(c); is_float = true; seen_point = true; seen_uc = false; break; case 'e' : case 'E' : if (seen_e) { return decode_num(c, is_float, seen_uc); } tokadd(c); seen_e = true; is_float = true; while ((c = nextc()) == '_') { seen_uc = true; } if (c == '-' || c == '+') { tokadd(c); } else { continue; } break; case '_' : // '_' in number just ignored seen_uc = true; break; default : return decode_num(c, is_float, seen_uc); } c = nextc(); } }
47273 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47273/d31a76ee29d5978a9bec41e3ac9134cee024bcab/DefaultRubyScanner.java/buggy/org/jruby/parser/DefaultRubyScanner.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 787, 67, 2107, 12, 474, 276, 13, 288, 3639, 1250, 353, 67, 5659, 31, 3639, 1250, 5881, 67, 1153, 31, 3639, 1250, 5881, 67, 73, 31, 3639, 1250, 5881, 67, 5286, 31, 9079, 1844, 18, 542, 14756, 1119, 12, 14756, 1119, 18, 2294, 8025, 67, 4415, 1769, 3639, 394, 17692, 5621, 3639, 309, 261, 71, 422, 4014, 747, 276, 422, 15126, 6134, 288, 5411, 946, 1289, 12, 71, 1769, 5411, 276, 273, 1024, 71, 5621, 3639, 289, 3639, 309, 261, 71, 422, 296, 20, 6134, 288, 5411, 276, 273, 1024, 71, 5621, 5411, 309, 261, 71, 422, 296, 92, 11, 747, 276, 422, 296, 60, 6134, 288, 7734, 368, 225, 20070, 7734, 276, 273, 1024, 71, 5621, 7734, 741, 288, 10792, 309, 261, 71, 422, 4427, 13, 288, 13491, 5881, 67, 5286, 273, 638, 31, 13491, 1324, 31, 10792, 289, 10792, 309, 16051, 5127, 60, 21243, 1285, 12, 71, 3719, 288, 13491, 898, 31, 10792, 289, 10792, 5881, 67, 5286, 273, 629, 31, 10792, 946, 1289, 12, 71, 1769, 7734, 289, 1323, 14015, 71, 273, 1024, 71, 10756, 480, 374, 1769, 7734, 1817, 823, 12, 71, 1769, 7734, 946, 904, 5621, 7734, 309, 261, 17692, 1897, 1435, 422, 374, 13, 288, 10792, 9016, 1636, 2932, 7118, 18300, 1300, 2887, 3827, 17, 16649, 8863, 7734, 289, 469, 309, 261, 15156, 67, 5286, 13, 288, 10792, 327, 2495, 67, 2107, 12, 71, 16, 353, 67, 5659, 16, 5881, 67, 5286, 16, 638, 1769, 7734, 289, 7734, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 787, 67, 2107, 12, 474, 276, 13, 288, 3639, 1250, 353, 67, 5659, 31, 3639, 1250, 5881, 67, 1153, 31, 3639, 1250, 5881, 67, 73, 31, 3639, 1250, 5881, 67, 5286, 31, 9079, 1844, 18, 542, 14756, 1119, 12, 14756, 1119, 18, 2294, 8025, 67, 4415, 1769, 3639, 394, 17692, 5621, 3639, 309, 261, 71, 422, 4014, 747, 276, 422, 15126, 6134, 288, 5411, 946, 1289, 12, 71, 1769, 5411, 276, 273, 1024, 71, 5621, 3639, 289, 3639, 309, 261, 71, 422, 296, 20, 6134, 288, 5411, 276, 273, 1024, 71, 5621, 5411, 309, 261, 71, 422, 296, 92, 11, 747, 276, 422, 296, 60, 6134, 288, 7734, 368, 225, 20070, 7734, 276, 273, 1024, 71, 2 ]
return target;
return target;
public Control getTarget() { return target; }
58148 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/58148/aaa67ee0d5b82c6c46eb51216d63b2b2927d58b7/ProxyControl.java/clean/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/presentations/newapi/ProxyControl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8888, 8571, 1435, 288, 202, 565, 327, 1018, 31, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 8888, 8571, 1435, 288, 202, 565, 327, 1018, 31, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
if(log.isInfoEnabled()) log.info("sending diag response to " + sender + ":" + port);
if(log.isDebugEnabled()) log.debug("sending diag response to " + sender + ":" + port);
void handleDiagnosticProbe(InetAddress sender, int port) { try { byte[] diag_rsp=getDiagResponse().getBytes(); DatagramPacket rsp=new DatagramPacket(diag_rsp, 0, diag_rsp.length, sender, port); if(log.isInfoEnabled()) log.info("sending diag response to " + sender + ":" + port); sock.send(rsp); } catch(Throwable t) { if(log.isErrorEnabled()) log.error("failed sending diag rsp to " + sender + ":" + port + ", exception=" + t); } }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/UDP.java/buggy/src/org/jgroups/protocols/UDP.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 26836, 21042, 12, 382, 278, 1887, 5793, 16, 509, 1756, 13, 288, 3639, 775, 288, 5411, 1160, 8526, 1377, 6643, 67, 86, 1752, 33, 588, 14058, 1064, 7675, 588, 2160, 5621, 5411, 6168, 17049, 6667, 12049, 33, 2704, 6168, 17049, 6667, 12, 12264, 67, 86, 1752, 16, 374, 16, 6643, 67, 86, 1752, 18, 2469, 16, 5793, 16, 1756, 1769, 7734, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 87, 2846, 6643, 766, 358, 315, 397, 5793, 397, 6153, 397, 1756, 1769, 5411, 7313, 18, 4661, 12, 86, 1752, 1769, 3639, 289, 3639, 1044, 12, 15155, 268, 13, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 7307, 5431, 6643, 12049, 358, 315, 397, 5793, 397, 6153, 397, 1756, 397, 4766, 15604, 3104, 1520, 1546, 397, 268, 1769, 3639, 289, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 918, 1640, 26836, 21042, 12, 382, 278, 1887, 5793, 16, 509, 1756, 13, 288, 3639, 775, 288, 5411, 1160, 8526, 1377, 6643, 67, 86, 1752, 33, 588, 14058, 1064, 7675, 588, 2160, 5621, 5411, 6168, 17049, 6667, 12049, 33, 2704, 6168, 17049, 6667, 12, 12264, 67, 86, 1752, 16, 374, 16, 6643, 67, 86, 1752, 18, 2469, 16, 5793, 16, 1756, 1769, 7734, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 87, 2846, 6643, 766, 358, 315, 397, 5793, 397, 6153, 397, 1756, 1769, 5411, 7313, 18, 4661, 12, 86, 1752, 1769, 3639, 289, 3639, 1044, 12, 15155, 268, 13, 288, 5411, 309, 12, 1330, 18, 291, 668, 1526, 10756, 613, 18, 1636, 2932, 2 ]
return new BugzillaRepositorySettingsPage();
return new BugzillaRepositorySettingsPage(this);
public AbstractRepositorySettingsPage getSettingsPage() { return new BugzillaRepositorySettingsPage(); }
51989 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51989/efe136bc49630de13316a3de20a997050dd17c5b/BugzillaRepositoryConnector.java/buggy/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryConnector.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 3305, 2628, 1964, 18283, 1964, 1435, 288, 202, 202, 2463, 394, 16907, 15990, 3305, 2628, 1964, 5621, 202, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 4115, 3305, 2628, 1964, 18283, 1964, 1435, 288, 202, 202, 2463, 394, 16907, 15990, 3305, 2628, 1964, 5621, 202, 97, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
switch (id) { case Id_constructor: return "constructor"; case Id_toString: return "toString"; case Id_toLocaleString: return "toLocaleString"; case Id_valueOf: return "valueOf"; case Id_hasOwnProperty: return "hasOwnProperty"; case Id_propertyIsEnumerable: return "propertyIsEnumerable"; case Id_isPrototypeOf: return "isPrototypeOf";
if (prototypeFlag) { switch (id) { case Id_constructor: return "constructor"; case Id_toString: return "toString"; case Id_toLocaleString: return "toLocaleString"; case Id_valueOf: return "valueOf"; case Id_hasOwnProperty: return "hasOwnProperty"; case Id_propertyIsEnumerable: return "propertyIsEnumerable"; case Id_isPrototypeOf: return "isPrototypeOf"; }
protected String getIdName(int id) { switch (id) { case Id_constructor: return "constructor"; case Id_toString: return "toString"; case Id_toLocaleString: return "toLocaleString"; case Id_valueOf: return "valueOf"; case Id_hasOwnProperty: return "hasOwnProperty"; case Id_propertyIsEnumerable: return "propertyIsEnumerable"; case Id_isPrototypeOf: return "isPrototypeOf"; } return null; }
19000 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/19000/3db7f50283cb2dd0859494c7e36c278004f2f6a8/NativeObject.java/buggy/src/org/mozilla/javascript/NativeObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 2634, 461, 12, 474, 612, 13, 288, 3639, 1620, 261, 350, 13, 288, 3639, 648, 3124, 67, 12316, 30, 6647, 327, 315, 12316, 14432, 3639, 648, 3124, 67, 10492, 30, 2868, 327, 315, 10492, 14432, 3639, 648, 3124, 67, 869, 3916, 780, 30, 3639, 327, 315, 869, 3916, 780, 14432, 3639, 648, 3124, 67, 1132, 951, 30, 9079, 327, 315, 1132, 951, 14432, 3639, 648, 3124, 67, 5332, 6721, 30, 3639, 327, 315, 5332, 6721, 14432, 3639, 648, 3124, 67, 4468, 2520, 3572, 25121, 30, 225, 327, 315, 4468, 2520, 3572, 25121, 14432, 3639, 648, 3124, 67, 291, 15846, 951, 30, 540, 327, 315, 291, 15846, 951, 14432, 3639, 289, 3639, 327, 446, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 4750, 514, 2634, 461, 12, 474, 612, 13, 288, 3639, 1620, 261, 350, 13, 288, 3639, 648, 3124, 67, 12316, 30, 6647, 327, 315, 12316, 14432, 3639, 648, 3124, 67, 10492, 30, 2868, 327, 315, 10492, 14432, 3639, 648, 3124, 67, 869, 3916, 780, 30, 3639, 327, 315, 869, 3916, 780, 14432, 3639, 648, 3124, 67, 1132, 951, 30, 9079, 327, 315, 1132, 951, 14432, 3639, 648, 3124, 67, 5332, 6721, 30, 3639, 327, 315, 5332, 6721, 14432, 3639, 648, 3124, 67, 4468, 2520, 3572, 25121, 30, 225, 327, 315, 4468, 2520, 3572, 25121, 14432, 3639, 648, 3124, 67, 291, 15846, 951, 30, 540, 327, 315, 291, 15846, 951, 14432, 3639, 289, 3639, 327, 446, 31, 565, 289, 2 ]
if(log.isInfoEnabled()) log.info("VIEW_CHANGE received: " + members);
if(log.isDebugEnabled()) log.debug("VIEW_CHANGE received: " + members);
public void down(Event evt) { Address mbr, tmp_ping_dest; View v; switch(evt.getType()) { case Event.UNSUSPECT: bcast_task.removeSuspectedMember((Address) evt.getArg()); break; case Event.CONNECT: passDown(evt); srv_sock=Util.createServerSocket(start_port); // grab a random unused port above 10000 srv_sock_addr=new IpAddress(srv_sock.getLocalPort()); startServerSocket(); if(pinger_thread == null) startPingerThread(); break; case Event.VIEW_CHANGE: synchronized(this) { v=(View) evt.getArg(); members.removeAllElements(); members.addAll(v.getMembers()); bcast_task.adjustSuspectedMembers(members); pingable_mbrs.removeAllElements(); pingable_mbrs.addAll(members); passDown(evt); if(log.isInfoEnabled()) log.info("VIEW_CHANGE received: " + members); // 1. Get the addr:pid cache from the coordinator (only if not already fetched) if(!got_cache_from_coord) { getCacheFromCoordinator(); got_cache_from_coord=true; } // 2. Broadcast my own addr:sock to all members so they can update their cache if(!srv_sock_sent) { if(srv_sock_addr != null) { sendIHaveSockMessage(null, // send to all members local_addr, srv_sock_addr); srv_sock_sent=true; } else if(log.isWarnEnabled()) log.warn("(VIEW_CHANGE): srv_sock_addr == null"); } // 3. Remove all entries in 'cache' which are not in the new membership if(members != null) { for(Enumeration e=cache.keys(); e.hasMoreElements();) { mbr=(Address) e.nextElement(); if(!members.contains(mbr)) cache.remove(mbr); } } if(members.size() > 1) { if(pinger_thread != null && pinger_thread.isAlive()) { tmp_ping_dest=determinePingDest(); if(ping_dest != null && tmp_ping_dest != null && !ping_dest.equals(tmp_ping_dest)) { interruptPingerThread(); // allows the thread to use the new socket } } else startPingerThread(); // only starts if not yet running } else { ping_dest=null; stopPingerThread(); } } break; default: passDown(evt); break; } }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/f4d48c5d12530ffb09ab46034b71d9594b0f1287/FD_SOCK.java/buggy/src/org/jgroups/protocols/FD_SOCK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 5267, 312, 2848, 16, 1853, 67, 1382, 67, 10488, 31, 3639, 4441, 331, 31, 3639, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 2124, 55, 3378, 1423, 1268, 30, 7734, 324, 4155, 67, 4146, 18, 4479, 55, 407, 1789, 4419, 12443, 1887, 13, 6324, 18, 588, 4117, 10663, 7734, 898, 31, 5411, 648, 2587, 18, 11032, 30, 7734, 1342, 4164, 12, 73, 11734, 1769, 7734, 7302, 67, 15031, 33, 1304, 18, 2640, 2081, 4534, 12, 1937, 67, 655, 1769, 368, 11086, 279, 2744, 10197, 1756, 5721, 12619, 7734, 7302, 67, 15031, 67, 4793, 33, 2704, 14709, 1887, 12, 20818, 67, 15031, 18, 588, 2042, 2617, 10663, 7734, 787, 2081, 4534, 5621, 7734, 309, 12, 1382, 264, 67, 5930, 422, 446, 13, 10792, 787, 52, 6658, 3830, 5621, 7734, 898, 31, 5411, 648, 2587, 18, 12145, 67, 14473, 30, 7734, 3852, 12, 2211, 13, 288, 10792, 331, 28657, 1767, 13, 6324, 18, 588, 4117, 5621, 10792, 4833, 18, 4479, 1595, 3471, 5621, 10792, 4833, 18, 1289, 1595, 12, 90, 18, 588, 6918, 10663, 10792, 324, 4155, 67, 4146, 18, 13362, 55, 407, 1789, 6918, 12, 7640, 1769, 10792, 10087, 429, 67, 1627, 5453, 18, 4479, 1595, 3471, 5621, 10792, 10087, 429, 67, 1627, 5453, 18, 1289, 1595, 12, 7640, 1769, 10792, 1342, 4164, 12, 73, 11734, 1769, 5397, 309, 12, 1330, 18, 291, 2829, 1526, 10756, 613, 18, 4148, 2932, 12145, 67, 14473, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2588, 12, 1133, 6324, 13, 288, 3639, 5267, 312, 2848, 16, 1853, 67, 1382, 67, 10488, 31, 3639, 4441, 331, 31, 3639, 1620, 12, 73, 11734, 18, 588, 559, 10756, 288, 5411, 648, 2587, 18, 2124, 55, 3378, 1423, 1268, 30, 7734, 324, 4155, 67, 4146, 18, 4479, 55, 407, 1789, 4419, 12443, 1887, 13, 6324, 18, 588, 4117, 10663, 7734, 898, 31, 5411, 648, 2587, 18, 11032, 30, 7734, 1342, 4164, 12, 73, 11734, 1769, 7734, 7302, 67, 15031, 33, 1304, 18, 2640, 2081, 4534, 12, 1937, 67, 655, 1769, 368, 11086, 279, 2744, 10197, 1756, 5721, 12619, 7734, 7302, 67, 15031, 67, 4793, 33, 2704, 14709, 1887, 12, 20818, 67, 15031, 18, 588, 2042, 2 ]
rangeMarker = document.createRangeMarker(method.getTextRange());
RangeMarker rangeMarker = document.createRangeMarker(method.getTextRange());
protected void invokeImpl(PsiClass targetClass) { PsiManager psiManager = myMethodCall.getManager(); final Project project = psiManager.getProject(); PsiReferenceExpression ref = myMethodCall.getMethodExpression(); if (isValidElement(myMethodCall)) { return; } PsiClass parentClass = PsiTreeUtil.getParentOfType(myMethodCall, PsiClass.class); PsiMember enclosingContext = PsiTreeUtil.getParentOfType(myMethodCall, PsiMethod.class, PsiField.class, PsiClassInitializer.class); if (targetClass == null) { return; } final PsiFile targetFile = targetClass.getContainingFile(); String methodName = ref.getReferenceName(); try { PsiElementFactory factory = psiManager.getElementFactory(); PsiMethod method = factory.createMethod(methodName, PsiType.VOID); if (targetClass.equals(parentClass)) { method = (PsiMethod) targetClass.addAfter(method, enclosingContext); } else { PsiElement anchor = enclosingContext; while (anchor != null && anchor.getParent() != null && !anchor.getParent().equals(targetClass)) { anchor = anchor.getParent(); } if (anchor != null && anchor.getParent() == null) anchor = null; if (anchor != null) { method = (PsiMethod) targetClass.addAfter(method, anchor); } else { method = (PsiMethod) targetClass.add(method); } } setupVisibility(parentClass, targetClass, method.getModifierList()); if (shouldCreateStaticMember(myMethodCall.getMethodExpression(), enclosingContext, targetClass) && !targetClass.isInterface()) { method.getModifierList().setModifierProperty(PsiModifier.STATIC, true); } final PsiDocumentManager documentManager = PsiDocumentManager.getInstance(project); final Document document = documentManager.getDocument(targetFile); final PsiFile psiFile = myMethodCall.getContainingFile(); RangeMarker rangeMarker = document.createRangeMarker(myMethodCall.getTextRange()); method = CodeInsightUtil.forcePsiPosprocessAndRestoreElement(method); myMethodCall = CodeInsightUtil.findElementInRange(psiFile, rangeMarker.getStartOffset(), rangeMarker.getEndOffset(), PsiMethodCallExpression.class); TemplateBuilder builder = new TemplateBuilder(method); targetClass = (PsiClass)method.getParent(); parentClass = PsiTreeUtil.getParentOfType(myMethodCall, PsiClass.class); final ExpectedTypeInfo[] expectedTypes = CreateFromUsageUtils.guessExpectedTypes(myMethodCall, true); final PsiSubstitutor substitutor = getTargetSubstitutor(myMethodCall); final PsiElement context = PsiTreeUtil.getParentOfType(myMethodCall, PsiClass.class, PsiMethod.class); CreateFromUsageUtils.setupMethodParameters(method, builder, myMethodCall.getArgumentList(), substitutor); new GuessTypeParameters(factory).setupTypeElement(method.getReturnTypeElement(), expectedTypes, substitutor, builder, context, targetClass); PsiCodeBlock body = method.getBody(); assert body != null; if (!targetClass.isInterface()) { builder.setEndVariableAfter(body.getLBrace()); } else { body.delete(); builder.setEndVariableAfter(method); } rangeMarker = document.createRangeMarker(method.getTextRange()); method = CodeInsightUtil.forcePsiPosprocessAndRestoreElement(method); final Editor newEditor = positionCursor(project, targetFile, method); Template template = builder.buildTemplate(); newEditor.getCaretModel().moveToOffset(rangeMarker.getStartOffset()); newEditor.getDocument().deleteString(rangeMarker.getStartOffset(), rangeMarker.getEndOffset()); if (!targetClass.isInterface()) { startTemplate(newEditor, template, project, new TemplateEditingAdapter() { public void templateFinished(Template template) { ApplicationManager.getApplication().runWriteAction(new Runnable() { public void run() { PsiDocumentManager.getInstance(project).commitDocument(newEditor.getDocument()); final int offset = newEditor.getCaretModel().getOffset(); PsiMethod method = PsiTreeUtil.findElementOfClassAtOffset(targetFile, offset, PsiMethod.class, false); if (method != null) { try { CreateFromUsageUtils.setupMethodBody(method); } catch (IncorrectOperationException e) { LOG.error(e); } CreateFromUsageUtils.setupEditor(method, newEditor); } } }); } }); } else { startTemplate(newEditor, template, project); } } catch (IncorrectOperationException e) { LOG.error(e); } }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/7642e682ce42ef442643241c3398ba3295323b5c/CreateMethodFromUsageAction.java/clean/codeInsight/impl/com/intellij/codeInsight/daemon/impl/quickfix/CreateMethodFromUsageAction.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 4356, 2828, 12, 52, 7722, 797, 14563, 13, 288, 565, 453, 7722, 1318, 23921, 1318, 273, 3399, 12592, 18, 588, 1318, 5621, 565, 727, 5420, 1984, 273, 23921, 1318, 18, 588, 4109, 5621, 565, 453, 7722, 2404, 2300, 1278, 273, 3399, 12592, 18, 588, 1305, 2300, 5621, 565, 309, 261, 26810, 1046, 12, 4811, 12592, 3719, 288, 1377, 327, 31, 565, 289, 565, 453, 7722, 797, 21366, 273, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 4811, 12592, 16, 453, 7722, 797, 18, 1106, 1769, 565, 453, 7722, 4419, 16307, 1042, 273, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 4811, 12592, 16, 1377, 453, 7722, 1305, 18, 1106, 16, 1377, 453, 7722, 974, 18, 1106, 16, 1377, 453, 7722, 797, 14729, 18, 1106, 1769, 565, 309, 261, 3299, 797, 422, 446, 13, 288, 1377, 327, 31, 565, 289, 565, 727, 453, 7722, 812, 21254, 273, 14563, 18, 588, 24344, 812, 5621, 565, 514, 4918, 273, 1278, 18, 588, 2404, 461, 5621, 565, 775, 288, 1377, 453, 7722, 1046, 1733, 3272, 273, 23921, 1318, 18, 21336, 1733, 5621, 1377, 453, 7722, 1305, 707, 273, 3272, 18, 2640, 1305, 12, 2039, 461, 16, 453, 7722, 559, 18, 58, 12945, 1769, 1377, 309, 261, 3299, 797, 18, 14963, 12, 2938, 797, 3719, 288, 3639, 707, 273, 261, 52, 7722, 1305, 13, 14563, 18, 1289, 4436, 12, 2039, 16, 16307, 1042, 1769, 1377, 289, 469, 288, 3639, 453, 7722, 1046, 6984, 273, 16307, 1042, 31, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 4750, 918, 4356, 2828, 12, 52, 7722, 797, 14563, 13, 288, 565, 453, 7722, 1318, 23921, 1318, 273, 3399, 12592, 18, 588, 1318, 5621, 565, 727, 5420, 1984, 273, 23921, 1318, 18, 588, 4109, 5621, 565, 453, 7722, 2404, 2300, 1278, 273, 3399, 12592, 18, 588, 1305, 2300, 5621, 565, 309, 261, 26810, 1046, 12, 4811, 12592, 3719, 288, 1377, 327, 31, 565, 289, 565, 453, 7722, 797, 21366, 273, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 4811, 12592, 16, 453, 7722, 797, 18, 1106, 1769, 565, 453, 7722, 4419, 16307, 1042, 273, 453, 7722, 2471, 1304, 18, 588, 3054, 18859, 12, 4811, 12592, 16, 1377, 453, 7722, 1305, 18, 1106, 16, 1377, 453, 7722, 974, 2 ]
index += 2;
index += 2;
public final void write_wstring (final String s) { if( s == null ) { throw new org.omg.CORBA.MARSHAL("Null References"); } //size ulong + no of bytes per char (max 3 if UTF-8) + //terminating NUL check( 4 + s.length() * 3 + 3, 4); int startPos = pos; // store position for length indicator pos += 4; index += 4; // reserve for length indicator //the byte order marker if( giop_minor == 2 && use_BOM && s.length() > 0) { //big endian encoding buffer[ pos++ ] = (byte) 0xFE; buffer[ pos++ ] = (byte) 0xFF; index += 2; } // write characters in current wide encoding, add null terminator for( int i = 0; i < s.length(); i++ ) { write_wchar( s.charAt(i), false, false ); //no BOM } if( giop_minor < 2 ) { //terminating NUL char write_wchar( (char)0, false, false ); //no BOM } int str_size = 0; if( giop_minor == 2 ) { //size in bytes (without the size ulong) str_size = pos - startPos - 4; } else { if( codeSetW == CodeSet.UTF8 ) { //size in bytes (without the size ulong) str_size = pos - startPos - 4; } else if( codeSetW == CodeSet.UTF16 ) { //size in chars (+ NUL char) str_size = s.length() + 1; } } // write length indicator _write4int( buffer, startPos, str_size ); }
46355 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46355/814ceec0c432f5f91851da7a7b577943754681bf/CDROutputStream.java/clean/src/org/jacorb/orb/CDROutputStream.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 1045, 67, 91, 1080, 261, 6385, 514, 272, 13, 565, 288, 2868, 309, 12, 272, 422, 446, 262, 540, 288, 5411, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 19772, 2664, 1013, 2932, 2041, 868, 2980, 8863, 3639, 289, 13491, 368, 1467, 7493, 932, 397, 1158, 434, 1731, 1534, 1149, 261, 1896, 890, 309, 6380, 17, 28, 13, 397, 3639, 368, 9505, 1776, 423, 1506, 3639, 866, 12, 1059, 397, 272, 18, 2469, 1435, 380, 890, 397, 890, 16, 1059, 1769, 3639, 509, 16013, 273, 949, 31, 540, 368, 1707, 1754, 364, 769, 10664, 3639, 949, 1011, 1059, 31, 540, 770, 1011, 1059, 31, 1171, 368, 20501, 364, 769, 10664, 3639, 368, 5787, 1160, 1353, 5373, 3639, 309, 12, 16221, 556, 67, 17364, 422, 576, 597, 999, 67, 38, 1872, 597, 272, 18, 2469, 1435, 405, 374, 13, 3639, 288, 5411, 368, 14002, 14759, 2688, 5411, 1613, 63, 949, 9904, 308, 273, 261, 7229, 13, 374, 92, 8090, 31, 5411, 1613, 63, 949, 9904, 308, 273, 261, 7229, 13, 374, 6356, 31, 13491, 770, 1011, 576, 31, 5397, 289, 3639, 368, 1045, 3949, 316, 783, 14812, 2688, 16, 527, 446, 24965, 3639, 364, 12, 509, 277, 273, 374, 31, 277, 411, 272, 18, 2469, 5621, 277, 9904, 262, 540, 288, 5411, 1045, 67, 91, 3001, 12, 272, 18, 3001, 861, 12, 77, 3631, 629, 16, 629, 11272, 368, 2135, 25408, 3639, 289, 3639, 309, 12, 16221, 556, 67, 17364, 411, 576, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 727, 918, 1045, 67, 91, 1080, 261, 6385, 514, 272, 13, 565, 288, 2868, 309, 12, 272, 422, 446, 262, 540, 288, 5411, 604, 394, 2358, 18, 362, 75, 18, 9428, 12536, 18, 19772, 2664, 1013, 2932, 2041, 868, 2980, 8863, 3639, 289, 13491, 368, 1467, 7493, 932, 397, 1158, 434, 1731, 1534, 1149, 261, 1896, 890, 309, 6380, 17, 28, 13, 397, 3639, 368, 9505, 1776, 423, 1506, 3639, 866, 12, 1059, 397, 272, 18, 2469, 1435, 380, 890, 397, 890, 16, 1059, 1769, 3639, 509, 16013, 273, 949, 31, 540, 368, 1707, 1754, 364, 769, 10664, 3639, 949, 1011, 1059, 31, 540, 770, 1011, 1059, 31, 1171, 368, 20501, 364, 769, 10664, 3639, 368, 5787, 2 ]
_interactionsPane.requestFocusInWindow(); _interactionsPanePopupMenu.show(e.getComponent(), e.getX(), e.getY());
if (_model.getDocumentNavigator().selectDocumentAt(e.getX(), e.getY())) { if (_model.getDocumentNavigator().isGroupSelected()) _navPaneFolderPopupMenu.show(e.getComponent(), e.getX(), e.getY()); else { try { String groupName = _model.getDocumentNavigator().getNameOfSelectedTopLevelGroup(); if (groupName.equals(_model.getSourceBinTitle())) _navPanePopupMenu.show(e.getComponent(), e.getX(), e.getY()); else if (groupName.equals(_model.getExternalBinTitle())) { INavigatorItem n = _model.getDocumentNavigator().getCurrent(); if (n != null) { OpenDefinitionsDocument d = (OpenDefinitionsDocument) n; if (d.isUntitled()) { _navPanePopupMenu.show(e.getComponent(), e.getX(), e.getY()); } else _navPanePopupMenuForExternal.show(e.getComponent(), e.getX(), e.getY()); } } else if (groupName.equals(_model.getAuxiliaryBinTitle())) _navPanePopupMenuForAuxiliary.show(e.getComponent(), e.getX(), e.getY()); } catch(GroupNotSelectedException ex) { if (_model.isProjectActive()) _navPanePopupMenuForRoot.show(e.getComponent(), e.getX(), e.getY()); else _navPanePopupMenu.show(e.getComponent(), e.getX(), e.getY()); } } }
protected void _popupAction(MouseEvent e) { _interactionsPane.requestFocusInWindow(); _interactionsPanePopupMenu.show(e.getComponent(), e.getX(), e.getY()); }
11192 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/11192/fa54651cc7ac0d03884ebcafd7e8520df74651a1/MainFrame.java/clean/drjava/src/edu/rice/cs/drjava/ui/MainFrame.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 4750, 918, 389, 16086, 1803, 12, 9186, 1133, 425, 13, 288, 3639, 389, 2761, 4905, 8485, 18, 2293, 9233, 382, 3829, 5621, 3639, 389, 2761, 4905, 8485, 13770, 4599, 18, 4500, 12, 73, 18, 588, 1841, 9334, 425, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 1377, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 4202, 4750, 918, 389, 16086, 1803, 12, 9186, 1133, 425, 13, 288, 3639, 389, 2761, 4905, 8485, 18, 2293, 9233, 382, 3829, 5621, 3639, 389, 2761, 4905, 8485, 13770, 4599, 18, 4500, 12, 73, 18, 588, 1841, 9334, 425, 18, 588, 60, 9334, 425, 18, 588, 61, 10663, 1377, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
System.out.print("Running Constant Field Propagation...");
System.err.print("Running Constant Field Propagation...");
public static void run(SIRStream str, JInterfaceDeclaration[] interfaces, SIRInterfaceTable[] interfaceTables, SIRStructure[] structs, SIRHelper[] helpers, SIRGlobal global) { HashMap[] exec_counts1; HashMap[] exec_counts2; boolean doCacheOptimization = KjcOptions.cacheopt; int code_cache = 16000; int data_cache = 16000; System.out.println("Cluster Backend SIRGlobal: "+global); System.out.println("Entry to Cluster Backend"); System.out.println(" --cluster parameter is: "+KjcOptions.cluster); System.out.println(" peekratio is: "+KjcOptions.peekratio); System.out.println(" rename1 is: "+KjcOptions.rename1); System.out.println(" rename2 is: "+KjcOptions.rename2); if (debugPrint) { SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else globals = new SIRGlobal[0]; System.out.println("// str on entry to Cluster backend"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs,globals); System.out.println("// END str on entry to Cluster backend"); } structures = structs; // set number of columns/rows //RawBackend.rawRows = KjcOptions.raw; //if(KjcOptions.rawcol>-1) // RawBackend.rawColumns = KjcOptions.rawcol; //else // RawBackend.rawColumns = KjcOptions.raw; //simulator = new FineGrainSimulator(); //this must be run now, FlatIRToC relies on it!!! RenameAll.renameAllFilters(str); // Introduce Multiple Pops where programmer // didn't take advantage of them IntroduceMultiPops.doit(str); // Perform propagation on fields from 'static' sections. Set statics = new HashSet(); if (global != null) statics.add(global); Map associatedGlobals = StaticsProp.propagate(str, statics); if (debugPrint) { System.err.println("// str after RenameAll and StaticsProp"); SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else { globals = new SIRGlobal[0]; } SIRToStreamIt.run(str, interfaces, interfaceTables, structs, globals); System.err.println("// END str after RenameAll and StaticsProp"); } // propagate constants and unroll loop System.out.print("Running Constant Prop and Unroll..."); // Constant propagate and unroll. // Set unrolling factor to <= 4 for loops that don't involve // any tape operations. Unroller.setLimitNoTapeLoops(true, 4); ConstantProp.propagateAndUnroll(str); // do constant propagation on fields System.out.print("Running Constant Field Propagation..."); ConstantProp.propagateAndUnroll(str, true); if (debugPrint) { System.err.println("// str after ConstantProp"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs); System.err.println("// END str after ConstantProp"); } // convert round(x) to floor(0.5+x) to avoid obscure errors RoundToFloor.doit(str); // add initPath functions EnqueueToInitPath.doInitPath(str); // construct stream hierarchy from SIRInitStatements ConstructSIRTree.doit(str); //SIRPrinter printer1 = new SIRPrinter(); //str.accept(printer1); //printer1.close(); //VarDecl Raise to move array assignments up new VarDeclRaiser().raiseVars(str); // expand array initializers loaded from a file ArrayInitExpander.doit(str); System.out.println(" done."); //System.out.println("Analyzing Branches.."); //new BlockFlattener().flattenBlocks(str); //new BranchAnalyzer().analyzeBranches(str); SIRPortal.findMessageStatements(str); // optimize so that IncreaseFilterMult has accurate estimates // of code size Optimizer.optimize(str); if (debugPrint) { System.err.println("// str after Optimizer"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs); System.err.println("// END str after Optimizer"); } Estimator.estimate(str); Lifter.liftAggressiveSync(str); //StreamItDot.printGraph(str, "before-partition.dot"); // gather application-characterization statistics if (KjcOptions.stats) { StatisticsGathering.doit(str); } str = Flattener.doLinearAnalysis(str); str = Flattener.doStateSpaceAnalysis(str); // for scheduler, interpret dynamic rates as a constant. // TODO: // eventually make a policy that changes dynamic rates <r> to // to <r.max> or 1000 if <r.max> is dynamic. // for now: // to push MPEG through cluster need size of // apps/benchmarks/mpeg2/input/momessage.m2v in bits rounded // up to a multiple of 32. SIRDynamicRateManager.pushConstantPolicy(1000000); //SIRDynamicRateManager.pushIdentityPolicy(); // Calculate SIRSchedule before increasing multiplicity StreamItDot.printGraph(str, "before-peekmult.dot"); exec_counts1 = SIRScheduler.getExecutionCounts(str); // sets filter steady counts, which are needed by cache partitioner filter_steady_counts = exec_counts1[1]; // Increasing filter Multiplicity //if ( doCacheOptimization && KjcOptions.peekratio < 1024) { if (!(KjcOptions.peekratio >= 256)) { IncreaseFilterMult.inc(str, 1, code_cache); } //} Optimizer.optimize(str); Estimator.estimate(str); int threads = KjcOptions.cluster; HashMap partitionMap = new HashMap(); if ( doCacheOptimization ) { boolean decreased; str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); decreased = IncreaseFilterMult.decreaseMult(partitionMap); /* if (decreased) { // Repartition second time str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); decreased = IncreaseFilterMult.decreaseMult(partitionMap); } */ } // Calculate SIRSchedule after increasing multiplicity StreamItDot.printGraph(str, "after-peekmult.dot"); exec_counts2 = SIRScheduler.getExecutionCounts(str); // sets filter steady counts, which are needed by cache partitioner filter_steady_counts = exec_counts2[1]; //exec_counts2 = SIRScheduler.getExecutionCounts(str); //find out how what is the schedule multiplicity due to //peek scaling HashMap steady1 = exec_counts1[1]; HashMap steady2 = exec_counts2[1]; int implicit_mult = IncreaseFilterMult.scheduleMultAfterScaling(steady1, steady2); MarkFilterBoundaries.doit(str); System.out.println("Implicit schedule mult increase due to peek scaling is: "+implicit_mult); System.err.println("Running Partitioning... target number of threads: "+threads); StreamItDot.printGraph(str, "before-partition.dot"); // actually fuse components if fusion flag is enabled if (KjcOptions.fusion) { // turn on dynamic programming if no other partitioning is turned on if (!KjcOptions.partition_greedy && !KjcOptions.partition_greedier) { KjcOptions.partition_dp = true; } if ( doCacheOptimization ) { str = CachePartitioner.doit(str, code_cache, data_cache); } else { str = Partitioner.doit(str, 0, threads, false, false); // from now on, target however many threads were // produced by the partitioner KjcOptions.cluster = Partitioner.countFilters(str); } /* if (str instanceof SIRContainer) { ((SIRContainer)str).reclaimChildren(); } str.setParent(null); */ } //HashMap partitionMap = new HashMap(); partitionMap.clear(); if ( doCacheOptimization ) { str = new CachePartitioner(str, WorkEstimate.getWorkEstimate(str), 0, code_cache, data_cache).calcPartitions(partitionMap); str.setParent(null); str = new DynamicProgPartitioner(str, WorkEstimate.getWorkEstimate(str), threads, false, false).calcPartitions(partitionMap); } else { // if mapping to 1 machine, then just map everyone to // partition 0 as an optimization (the partitioner would // do the same thing, but would take longer) if (threads==1) { mapToPartitionZero(str, partitionMap); } else { // Fix up a bug that might be caused by previous // pass of partitioner str.setParent(null); str = new DynamicProgPartitioner(str, WorkEstimate.getWorkEstimate(str), threads, false, false).calcPartitions(partitionMap); } } System.err.println("Done Partitioning..."); Unroller.setLimitNoTapeLoops(false, 0); if (KjcOptions.sjtopipe) { SJToPipe.doit(str); } StreamItDot.printGraph(str, "after-partition.dot"); //VarDecl Raise to move array assignments up new VarDeclRaiser().raiseVars(str); //VarDecl Raise to move peek index up so //constant prop propagates the peek buffer index new VarDeclRaiser().raiseVars(str); // optionally print a version of the source code that we're // sending to the scheduler if (KjcOptions.print_partitioned_source) { new streamit.scheduler2.print.PrintProgram().printProgram(IterFactory.createFactory().createIter(str)); } //run constrained scheduler System.out.print("Constrained Scheduler Begin..."); topStreamIter = IterFactory.createFactory().createIter(str); //topStreamIter = IterFactory.createFineGrainedFactory().createIter(str); //new streamit.scheduler2.print.PrintGraph().printProgram(topStreamIter); //new streamit.scheduler2.print.PrintProgram().printProgram(topStreamIter); if (KjcOptions.debug) { debugOutput(str); } System.out.println(" done."); // end constrained scheduler System.out.println("Flattener Begin..."); executionCounts = SIRScheduler.getExecutionCounts(str); PartitionDot.printScheduleGraph(str, "schedule.dot", executionCounts); GraphFlattener graphFlattener = new GraphFlattener(str); //graphFlattener.dumpGraph("flatgraph.dot"); System.out.println("Flattener End."); //create the execution counts for other passes createExecutionCounts(str, graphFlattener); if (debugPrint) { SIRGlobal[] globals; if (global != null) { globals = new SIRGlobal[1]; globals[0] = global; } else globals = new SIRGlobal[0]; System.out.println("// str before Cluster-specific code"); SIRToStreamIt.run(str,interfaces,interfaceTables,structs,globals); System.out.println("// END str before Cluster-specific code"); } // if going to standalone without fusion, expand the main // method names to include the filter name, so we can identify them if (KjcOptions.standalone && !KjcOptions.fusion) { RenameAll.expandFunctionNames(str); } //////////////////////////////////////////////// // the cluster specific code begins here NodeEnumerator.reset(); graphFlattener.top.accept(new NodeEnumerator(), new HashSet(), true); graphFlattener.top.accept(new RegisterStreams(), new HashSet(), true); DiscoverSchedule d_sched = new DiscoverSchedule(); graphFlattener.top.accept(d_sched, new HashSet(), true); d_sched.findPhases(); /* // Remove globals pass is broken in cluster !!! if (KjcOptions.removeglobals) { RemoveGlobals.doit(graphFlattener.top); } */ StructureIncludeFile.doit(structures, graphFlattener.top); /// start output portals SIRPortal portals[] = SIRPortal.getPortals(); LatencyConstraints.detectConstraints(topStreamIter, portals); /// end output portals //VarDecl Raise to move array assignments down? new VarDeclRaiser().raiseVars(str); // creating filter2Node filter2Node = new HashMap(); graphFlattener.top.accept(new ClusterBackend(), null, true); //generating code for partitioned nodes //ClusterExecutionCode.doit(graphFlattener.top); System.out.println("Cluster Code begin..."); ClusterFusion.setPartitionMap(partitionMap); if (KjcOptions.fusion) { graphFlattener.top.accept(new ClusterFusion(), new HashSet(), true); } ClusterCode.setPartitionMap(partitionMap); ClusterCode.generateCode(graphFlattener.top); FusionCode.generateFusionHeader(str, doCacheOptimization); FusionCode.generateFusionFile(d_sched, implicit_mult); ClusterCode.generateGlobal(global, helpers); ClusterCode.generateMasterFile(); ClusterCode.generateClusterHeader(); ClusterCode.generateMakeFile(helpers); ClusterCode.generateConfigFile(); ClusterCode.generateSetupFile(); System.out.println("Cluster Code End."); /* //generate the makefiles System.out.println("Creating Makefile."); MakefileGenerator.createMakefile(); */ /* // attempt to find constrained schedule! Greedy g = new Greedy(d_sched); for (int w = 0; w < 20; w++) { int res = g.nextPhase(); // find a constrained phase if (res > 0) break; } for (int w = 0; w < 20; w++) { g.combineInit(); } */ System.out.println("Exiting"); System.exit(0); }
5955 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5955/099e26351b99c3b937c0a4ea7e38813618fc863f/ClusterBackend.java/buggy/streams/src/at/dms/kjc/cluster/ClusterBackend.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 12, 2320, 54, 1228, 609, 16, 21821, 804, 1358, 6094, 8526, 7349, 16, 21821, 5705, 54, 1358, 1388, 8526, 1560, 6905, 16, 21821, 5705, 54, 6999, 8526, 8179, 16, 21821, 5705, 54, 2276, 8526, 9246, 16, 21821, 5705, 54, 5160, 2552, 13, 288, 3639, 4317, 8526, 1196, 67, 8008, 21, 31, 3639, 4317, 8526, 1196, 67, 8008, 22, 31, 3639, 1250, 741, 1649, 13930, 1588, 273, 1475, 78, 71, 1320, 18, 2493, 3838, 31, 3639, 509, 981, 67, 2493, 273, 2872, 3784, 31, 3639, 509, 501, 67, 2493, 273, 2872, 3784, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 3629, 11736, 5705, 54, 5160, 30, 13773, 6347, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 1622, 358, 5584, 11736, 8863, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 1493, 7967, 1569, 353, 30, 13773, 47, 78, 71, 1320, 18, 7967, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 8032, 9847, 353, 30, 13773, 47, 78, 71, 1320, 18, 347, 3839, 9847, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 6472, 21, 353, 30, 13773, 47, 78, 71, 1320, 18, 18539, 21, 1769, 3639, 2332, 18, 659, 18, 8222, 2932, 225, 6472, 22, 353, 30, 13773, 47, 78, 71, 1320, 18, 18539, 22, 1769, 3639, 309, 261, 4148, 5108, 13, 288, 5411, 5705, 54, 5160, 8526, 10941, 31, 5411, 309, 261, 6347, 480, 446, 13, 288, 7734, 10941, 273, 394, 5705, 54, 5160, 63, 21, 15533, 7734, 10941, 63, 20, 65, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 1086, 12, 2320, 54, 1228, 609, 16, 21821, 804, 1358, 6094, 8526, 7349, 16, 21821, 5705, 54, 1358, 1388, 8526, 1560, 6905, 16, 21821, 5705, 54, 6999, 8526, 8179, 16, 21821, 5705, 54, 2276, 8526, 9246, 16, 21821, 5705, 54, 5160, 2552, 13, 288, 3639, 4317, 8526, 1196, 67, 8008, 21, 31, 3639, 4317, 8526, 1196, 67, 8008, 22, 31, 3639, 1250, 741, 1649, 13930, 1588, 273, 1475, 78, 71, 1320, 18, 2493, 3838, 31, 3639, 509, 981, 67, 2493, 273, 2872, 3784, 31, 3639, 509, 501, 67, 2493, 273, 2872, 3784, 31, 3639, 2332, 18, 659, 18, 8222, 2932, 3629, 11736, 5705, 54, 5160, 30, 13773, 6347, 1769, 3639, 2332, 18, 659, 18, 8222, 2 ]
public static void layoutContent(LayoutContext c, Box box, List contentList) { int maxAvailableWidth = c.getExtents().width; int remainingWidth = maxAvailableWidth; int minimumLineHeight = (int)c.getCurrentStyle().getLineHeight(c); LineBox currentLine = newLine(c, null, box); LineBox previousLine = null; InlineBox currentIB = null; InlineBox previousIB = null; List elementStack = new ArrayList(); if (box instanceof AnonymousBlockBox) { List pending = ((BlockBox)box.getParent()).getPendingInlineElements(); if (pending != null) { currentIB = addNestedInlineBoxes(currentLine, pending, maxAvailableWidth); elementStack = pending; } } CalculatedStyle parentStyle = c.getCurrentStyle(); int indent = (int)parentStyle.getFloatPropertyProportionalWidth(CSSName.TEXT_INDENT, maxAvailableWidth, c); remainingWidth -= indent; currentLine.x = indent; if (! box.getStyle().isCleared()) { remainingWidth -= c.getBlockFormattingContext().getFloatDistance( c, currentLine, remainingWidth); } List pendingFloats = new ArrayList(); int pendingLeftMBP = 0; int pendingRightMBP = 0; int start = pushPseudoClasses(c, contentList); if (c.getFirstLinesTracker().hasStyles()) { c.getFirstLinesTracker().pushStyles(c); } for (int i = start; i < contentList.size(); i++) { Object o = contentList.get(i); if (o instanceof StylePush) { StylePush sp = (StylePush) o; CascadedStyle cascaded = sp.getStyle(c); c.pushStyle(cascaded); CalculatedStyle style = c.getCurrentStyle(); previousIB = currentIB; currentIB = new InlineBox(sp.getElement(), style, maxAvailableWidth); currentIB.calculateHeight(c); elementStack.add(new InlineBoxInfo(cascaded, currentIB)); if (previousIB == null) { currentLine.addChild(currentIB); } else { previousIB.addInlineChild(currentIB); } //To break the line well, assume we don't just want to paint padding on next line pendingLeftMBP += style.getLeftMarginBorderPadding(c, maxAvailableWidth); pendingRightMBP += style.getRightMarginBorderPadding(c, maxAvailableWidth); continue; } if (o instanceof StylePop) { CalculatedStyle style = c.getCurrentStyle(); int rightMBP = style.getRightMarginBorderPadding(c, maxAvailableWidth); pendingRightMBP -= rightMBP; remainingWidth -= rightMBP; elementStack.remove(elementStack.size()-1); currentIB.setEndsHere(true); previousIB = currentIB; currentIB = currentIB.getParent() instanceof LineBox ? null : (InlineBox)currentIB.getParent(); c.popStyle(); continue; } Content content = (Content) o; if (mustBeTakenOutOfFlow(content)) { processOutOfFlowContent(c, content, currentLine, remainingWidth, pendingFloats); } else if (isInlineBlock(content)) { Box inlineBlock = Boxing.layout(c, content); if (inlineBlock.getWidth() > remainingWidth && currentLine.isContainsContent()) { saveLine(currentLine, previousLine, c, box, minimumLineHeight, maxAvailableWidth, elementStack, pendingFloats); inlineBlock = Boxing.layout(c, content); previousLine = currentLine; currentLine = newLine(c, previousLine, box); currentIB = addNestedInlineBoxes(currentLine, elementStack, maxAvailableWidth); previousIB = currentIB.getParent() instanceof LineBox ? null : (InlineBox)currentIB.getParent(); remainingWidth = maxAvailableWidth; if (!box.getStyle().isCleared()) { remainingWidth -= c.getBlockFormattingContext().getFloatDistance( c, currentLine, remainingWidth); } } if (currentIB == null) { currentLine.addChild(inlineBlock); } else { currentIB.addInlineChild(inlineBlock); } currentLine.setContainsContent(true); remainingWidth -= inlineBlock.getWidth(); } else { TextContent text = (TextContent)content; LineBreakContext lbContext = new LineBreakContext(); lbContext.setMaster(TextUtil.transformText(text.getText(), c.getCurrentStyle())); do { lbContext.reset(); int fit = 0; if (lbContext.getStart() == 0) { fit += pendingLeftMBP; } if (hasTrimmableLeadingSpace(currentLine, c.getCurrentStyle(), lbContext)) { lbContext.setStart(lbContext.getStart() + 1); } InlineText inlineText = layoutText(c, remainingWidth - fit, lbContext); if (! lbContext.isUnbreakable() || (lbContext.isUnbreakable() && currentLine.isContainsContent())) { currentIB.addInlineChild(inlineText); currentLine.setContainsContent(true); lbContext.setStart(lbContext.getEnd()); remainingWidth -= inlineText.getWidth(); } if (lbContext.isNeedsNewLine()) { saveLine(currentLine, previousLine, c, box, minimumLineHeight, maxAvailableWidth, elementStack, pendingFloats); previousLine = currentLine; currentLine = newLine(c, previousLine, box); currentIB = addNestedInlineBoxes(currentLine, elementStack, maxAvailableWidth); previousIB = currentIB.getParent() instanceof LineBox ? null : (InlineBox)currentIB.getParent(); remainingWidth = maxAvailableWidth; if (!box.getStyle().isCleared()) { remainingWidth -= c.getBlockFormattingContext().getFloatDistance( c, currentLine, remainingWidth); } } } while (! lbContext.isFinished()); } } saveLine(currentLine, previousLine, c, box, minimumLineHeight, maxAvailableWidth, elementStack, pendingFloats); if (box instanceof AnonymousBlockBox) { ((BlockBox)box.getParent()).setPendingInlineElements( elementStack.size() == 0 ? null : elementStack); } // XXX what does this do? if (!c.shrinkWrap()) box.contentWidth = maxAvailableWidth; box.setHeight(currentLine.y + currentLine.getHeight()); }
8125 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/8125/ceb21dee5f070c3ac63d70ae7b6eb22a7c0b4641/InlineBoxing.java/buggy/src/java/org/xhtmlrenderer/layout/InlineBoxing.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3511, 1350, 12, 3744, 1042, 276, 16, 8549, 3919, 16, 987, 913, 682, 13, 288, 3639, 509, 943, 5268, 2384, 273, 276, 18, 588, 2482, 4877, 7675, 2819, 31, 3639, 509, 4463, 2384, 273, 943, 5268, 2384, 31, 7734, 509, 5224, 1670, 2686, 273, 261, 474, 13, 71, 18, 588, 3935, 2885, 7675, 588, 1670, 2686, 12, 71, 1769, 1171, 5377, 3514, 22325, 273, 8093, 12, 71, 16, 446, 16, 3919, 1769, 3639, 5377, 3514, 2416, 1670, 273, 446, 31, 7734, 16355, 3514, 783, 13450, 273, 446, 31, 3639, 16355, 3514, 2416, 13450, 273, 446, 31, 7734, 987, 930, 2624, 273, 394, 2407, 5621, 3639, 309, 261, 2147, 1276, 29775, 1768, 3514, 13, 288, 5411, 987, 4634, 273, 14015, 1768, 3514, 13, 2147, 18, 588, 3054, 1435, 2934, 588, 8579, 10870, 3471, 5621, 5411, 309, 261, 9561, 480, 446, 13, 288, 7734, 783, 13450, 273, 527, 8649, 10870, 29521, 12, 2972, 1670, 16, 4634, 16, 943, 5268, 2384, 1769, 7734, 930, 2624, 273, 4634, 31, 5411, 289, 3639, 289, 7734, 15994, 690, 2885, 982, 2885, 273, 276, 18, 588, 3935, 2885, 5621, 3639, 509, 3504, 273, 261, 474, 13, 2938, 2885, 18, 588, 4723, 1396, 626, 17564, 287, 2384, 12, 10276, 461, 18, 5151, 67, 2356, 2222, 16, 943, 5268, 2384, 16, 276, 1769, 3639, 4463, 2384, 3947, 3504, 31, 3639, 22325, 18, 92, 273, 3504, 31, 7734, 309, 16051, 3919, 18, 588, 2885, 7675, 291, 4756, 2258, 10756, 288, 5411, 4463, 2384, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 918, 3511, 1350, 12, 3744, 1042, 276, 16, 8549, 3919, 16, 987, 913, 682, 13, 288, 3639, 509, 943, 5268, 2384, 273, 276, 18, 588, 2482, 4877, 7675, 2819, 31, 3639, 509, 4463, 2384, 273, 943, 5268, 2384, 31, 7734, 509, 5224, 1670, 2686, 273, 261, 474, 13, 71, 18, 588, 3935, 2885, 7675, 588, 1670, 2686, 12, 71, 1769, 1171, 5377, 3514, 22325, 273, 8093, 12, 71, 16, 446, 16, 3919, 1769, 3639, 5377, 3514, 2416, 1670, 273, 446, 31, 7734, 16355, 3514, 783, 13450, 273, 446, 31, 3639, 16355, 3514, 2416, 13450, 273, 446, 31, 7734, 987, 930, 2624, 273, 394, 2407, 5621, 3639, 309, 261, 2147, 1276, 29775, 1768, 3514, 13, 288, 5411, 2 ]
+ ")");
+ ')');
public static final boolean checkArbitraryGoodVersion( String version, String lastGoodVersion) { if(version == null) { Logger.error(Version.class, "version == null!", new Exception("error")); return false; } if(lastGoodVersion == null) { Logger.error(Version.class, "lastGoodVersion == null!", new Exception("error")); return false; } String[] v = Fields.commaList(version); String[] lgv = Fields.commaList(lastGoodVersion); if ((v.length < 3) || !goodProtocol(v[2])) { return false; } if ((lgv.length < 3) || !goodProtocol(lgv[2])) { return false; } if (sameArbitraryVersion(v,lgv)) { try { int build = Integer.parseInt(v[3]); int min_build = Integer.parseInt(lgv[3]); if (build < min_build) { if(logDEBUG) Logger.debug( Version.class, "Not accepting unstable from version: " + version + "(lastGoodVersion=" + lastGoodVersion + ")"); return false; } } catch (NumberFormatException e) { if(Logger.shouldLog(Logger.MINOR, Version.class)) Logger.minor(Version.class, "Not accepting (" + e + ") from " + version + " and/or " + lastGoodVersion); return false; } } if (stableVersion(v)) { try { int build = Integer.parseInt(v[3]); if(build < lastGoodStableBuild) { if(logDEBUG) Logger.debug( Version.class, "Not accepting stable from version" + version + "(lastGoodStableBuild=" + lastGoodStableBuild + ")"); return false; } } catch (NumberFormatException e) { Logger.minor( Version.class, "Not accepting (" + e + ") from " + version); return false; } } if(logDEBUG) Logger.minor(Version.class, "Accepting: " + version); return true; }
51738 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/51738/62fd59041864b4ed1f43adc676de6bfb5ea977f3/Version.java/clean/src/freenet/node/Version.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1250, 866, 686, 3682, 3345, 18195, 1444, 12, 202, 202, 780, 1177, 16, 514, 1142, 18195, 1444, 13, 288, 202, 565, 309, 12, 1589, 422, 446, 13, 288, 202, 3639, 4242, 18, 1636, 12, 1444, 18, 1106, 16, 315, 1589, 422, 446, 5, 3113, 202, 7734, 394, 1185, 2932, 1636, 7923, 1769, 202, 3639, 327, 629, 31, 202, 565, 289, 202, 565, 309, 12, 2722, 18195, 1444, 422, 446, 13, 288, 202, 3639, 4242, 18, 1636, 12, 1444, 18, 1106, 16, 315, 2722, 18195, 1444, 422, 446, 5, 3113, 202, 7734, 394, 1185, 2932, 1636, 7923, 1769, 202, 3639, 327, 629, 31, 202, 565, 289, 202, 202, 780, 8526, 331, 273, 7190, 18, 25034, 682, 12, 1589, 1769, 202, 202, 780, 8526, 15266, 90, 273, 7190, 18, 25034, 682, 12, 2722, 18195, 1444, 1769, 202, 202, 430, 14015, 90, 18, 2469, 411, 890, 13, 747, 401, 19747, 5752, 12, 90, 63, 22, 22643, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 430, 14015, 23623, 90, 18, 2469, 411, 890, 13, 747, 401, 19747, 5752, 12, 23623, 90, 63, 22, 22643, 288, 1082, 202, 2463, 629, 31, 202, 202, 97, 202, 202, 430, 261, 14307, 686, 3682, 3345, 1444, 12, 90, 16, 23623, 90, 3719, 288, 1082, 202, 698, 288, 9506, 202, 474, 1361, 273, 2144, 18, 2670, 1702, 12, 90, 63, 23, 19226, 9506, 202, 474, 1131, 67, 3510, 273, 2144, 18, 2670, 1702, 12, 23623, 90, 63, 23, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 727, 1250, 866, 686, 3682, 3345, 18195, 1444, 12, 202, 202, 780, 1177, 16, 514, 1142, 18195, 1444, 13, 288, 202, 565, 309, 12, 1589, 422, 446, 13, 288, 202, 3639, 4242, 18, 1636, 12, 1444, 18, 1106, 16, 315, 1589, 422, 446, 5, 3113, 202, 7734, 394, 1185, 2932, 1636, 7923, 1769, 202, 3639, 327, 629, 31, 202, 565, 289, 202, 565, 309, 12, 2722, 18195, 1444, 422, 446, 13, 288, 202, 3639, 4242, 18, 1636, 12, 1444, 18, 1106, 16, 315, 2722, 18195, 1444, 422, 446, 5, 3113, 202, 7734, 394, 1185, 2932, 1636, 7923, 1769, 202, 3639, 327, 629, 31, 202, 565, 289, 202, 202, 780, 8526, 331, 273, 7190, 18, 25034, 2 ]
public int getTileLineCount(Tile tile, TokenSets tokenSets) { TokenEntry firstToken = (TokenEntry)((List)tileToOccurrenceMap.get(tile)).get(0); TokenList tl = tokenSets.getTokenList(firstToken); // note we subtract 1 here... if we didn't, then this: TokenEntry lastToken = (TokenEntry)tl.get(firstToken.getIndex()-1 + tile.getTokenCount()); // line20: foo =bar; // line21: baz = bif; return lastToken.getBeginLine() - firstToken.getBeginLine() - 1; }
45569 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45569/f5212a629fa381c0441cb66680d812359673e724/ResultsImpl.java/buggy/pmd/src/net/sourceforge/pmd/cpd/ResultsImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 474, 588, 9337, 1670, 1380, 12, 56, 330, 278, 398, 16, 1345, 694, 334, 969, 2785, 15329, 1345, 1622, 3645, 1345, 28657, 1345, 1622, 13, 12443, 682, 13, 15368, 774, 24267, 863, 18, 588, 12, 15368, 13, 2934, 588, 12, 20, 1769, 1345, 682, 6172, 33, 2316, 2785, 18, 588, 1345, 682, 12, 3645, 1345, 1769, 759, 902, 359, 281, 373, 1575, 21, 14852, 2777, 430, 91, 329, 350, 82, 1404, 16, 451, 319, 76, 291, 30, 1345, 1622, 2722, 1345, 28657, 1345, 1622, 13, 6172, 18, 588, 12, 3645, 1345, 18, 588, 1016, 1435, 17, 21, 15, 15368, 18, 588, 1345, 1380, 10663, 759, 1369, 3462, 30, 11351, 33, 3215, 31, 759, 1369, 5340, 30, 70, 1561, 33, 70, 430, 31, 2463, 2722, 1345, 18, 588, 8149, 1670, 1435, 17, 3645, 1345, 18, 588, 8149, 1670, 1435, 17, 21, 31, 97, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 1071, 474, 588, 9337, 1670, 1380, 12, 56, 330, 278, 398, 16, 1345, 694, 334, 969, 2785, 15329, 1345, 1622, 3645, 1345, 28657, 1345, 1622, 13, 12443, 682, 13, 15368, 774, 24267, 863, 18, 588, 12, 15368, 13, 2934, 588, 12, 20, 1769, 1345, 682, 6172, 33, 2316, 2785, 18, 588, 1345, 682, 12, 3645, 1345, 1769, 759, 902, 359, 281, 373, 1575, 21, 14852, 2777, 430, 91, 329, 350, 82, 1404, 16, 451, 319, 76, 291, 30, 1345, 1622, 2722, 1345, 28657, 1345, 1622, 13, 6172, 18, 588, 12, 3645, 1345, 18, 588, 1016, 1435, 17, 21, 15, 15368, 18, 588, 1345, 1380, 10663, 759, 1369, 3462, 30, 11351, 33, 3215, 31, 759, 1369, 5340, 30, 70, 1561, 2 ]
else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY))
else if (e.getPropertyName().equals( JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY))
public void propertyChange(PropertyChangeEvent e) { // FIXME: Multiple file selection waiting on JList multiple selection bug. if (e.getPropertyName().equals(JFileChooser.SELECTED_FILE_CHANGED_PROPERTY)) { if (filechooser.getSelectedFile() == null) setFileName(null); else setFileName(filechooser.getSelectedFile().toString()); int index = -1; File file = filechooser.getSelectedFile(); for (index = 0; index < model.getSize(); index++) if (((File) model.getElementAt(index)).equals(file)) break; if (index == -1) return; filelist.setSelectedIndex(index); filelist.ensureIndexIsVisible(index); filelist.revalidate(); filelist.repaint(); } else if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY)) { filelist.clearSelection(); filelist.revalidate(); filelist.repaint(); setDirectorySelected(false); setDirectory(filechooser.getCurrentDirectory()); boxEntries(); } else if (e.getPropertyName().equals(JFileChooser.CHOOSABLE_FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY)) filterEntries(); else if (e.getPropertyName().equals(JFileChooser.DIALOG_TYPE_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.DIALOG_TITLE_CHANGED_PROPERTY)) { Window owner = SwingUtilities.windowForComponent(filechooser); if (owner instanceof JDialog) ((JDialog) owner).setTitle(getDialogTitle(filechooser)); accept.setText(getApproveButtonText(filechooser)); accept.setToolTipText(getApproveButtonToolTipText(filechooser)); accept.setMnemonic(getApproveButtonMnemonic(filechooser)); } else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TEXT_CHANGED_PROPERTY)) accept.setText(getApproveButtonText(filechooser)); else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_TOOL_TIP_TEXT_CHANGED_PROPERTY)) accept.setToolTipText(getApproveButtonToolTipText(filechooser)); else if (e.getPropertyName().equals(JFileChooser.APPROVE_BUTTON_MNEMONIC_CHANGED_PROPERTY)) accept.setMnemonic(getApproveButtonMnemonic(filechooser)); else if (e.getPropertyName().equals(JFileChooser.CONTROL_BUTTONS_ARE_SHOWN_CHANGED_PROPERTY)) { if (filechooser.getControlButtonsAreShown()) { GridBagConstraints c = new GridBagConstraints(); c.gridy = 1; bottomPanel.add(filters, c); c.fill = GridBagConstraints.BOTH; c.gridy = 2; c.anchor = GridBagConstraints.EAST; bottomPanel.add(closePanel, c); bottomPanel.revalidate(); bottomPanel.repaint(); bottomPanel.doLayout(); } else bottomPanel.remove(closePanel); } else if (e.getPropertyName().equals(JFileChooser.ACCEPT_ALL_FILE_FILTER_USED_CHANGED_PROPERTY)) { if (filechooser.isAcceptAllFileFilterUsed()) filechooser.addChoosableFileFilter(getAcceptAllFileFilter(filechooser)); else filechooser.removeChoosableFileFilter(getAcceptAllFileFilter(filechooser)); } else if (e.getPropertyName().equals(JFileChooser.ACCESSORY_CHANGED_PROPERTY)) { JComponent old = (JComponent) e.getOldValue(); if (old != null) getAccessoryPanel().remove(old); JComponent newval = (JComponent) e.getNewValue(); if (newval != null) getAccessoryPanel().add(newval); } if (e.getPropertyName().equals(JFileChooser.DIRECTORY_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_FILTER_CHANGED_PROPERTY) || e.getPropertyName().equals(JFileChooser.FILE_HIDING_CHANGED_PROPERTY)) rescanCurrentDirectory(filechooser); filechooser.revalidate(); filechooser.repaint(); }
50763 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/50763/045a5b41cdfa747889101d3993040acf89788bc4/BasicFileChooserUI.java/buggy/core/src/classpath/javax/javax/swing/plaf/basic/BasicFileChooserUI.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 202, 95, 202, 225, 368, 9852, 30, 13531, 585, 4421, 7336, 603, 804, 682, 3229, 4421, 7934, 18, 202, 225, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 46, 812, 17324, 18, 4803, 2056, 67, 3776, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 309, 261, 768, 2599, 13164, 18, 588, 7416, 812, 1435, 422, 446, 13, 202, 202, 542, 4771, 12, 2011, 1769, 202, 1377, 469, 202, 202, 542, 4771, 12, 768, 2599, 13164, 18, 588, 7416, 812, 7675, 10492, 10663, 202, 1377, 509, 770, 273, 300, 21, 31, 202, 1377, 1387, 585, 273, 585, 2599, 13164, 18, 588, 7416, 812, 5621, 202, 1377, 364, 261, 1615, 273, 374, 31, 770, 411, 938, 18, 588, 1225, 5621, 770, 27245, 202, 202, 430, 261, 12443, 812, 13, 938, 18, 21336, 861, 12, 1615, 13, 2934, 14963, 12, 768, 3719, 1082, 225, 898, 31, 202, 1377, 309, 261, 1615, 422, 300, 21, 13, 202, 202, 2463, 31, 202, 1377, 26204, 18, 542, 7416, 1016, 12, 1615, 1769, 202, 1377, 26204, 18, 15735, 1016, 2520, 6207, 12, 1615, 1769, 202, 1377, 26204, 18, 266, 5662, 5621, 202, 1377, 26204, 18, 14462, 1598, 5621, 202, 565, 289, 202, 225, 469, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 46, 812, 17324, 18, 17229, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 26204, 18, 8507, 6233, 5621, 202, 1377, 26204, 18, 266, 5662, 5621, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1272, 3043, 12, 1396, 20930, 425, 13, 202, 95, 202, 225, 368, 9852, 30, 13531, 585, 4421, 7336, 603, 804, 682, 3229, 4421, 7934, 18, 202, 225, 309, 261, 73, 18, 588, 13073, 7675, 14963, 12, 46, 812, 17324, 18, 4803, 2056, 67, 3776, 67, 24435, 67, 9900, 3719, 202, 565, 288, 202, 1377, 309, 261, 768, 2599, 13164, 18, 588, 7416, 812, 1435, 422, 446, 13, 202, 202, 542, 4771, 12, 2011, 1769, 202, 1377, 469, 202, 202, 542, 4771, 12, 768, 2599, 13164, 18, 588, 7416, 812, 7675, 10492, 10663, 202, 1377, 509, 770, 273, 300, 21, 31, 202, 1377, 1387, 585, 273, 585, 2599, 13164, 18, 588, 7416, 812, 5621, 202, 1377, 2 ]
env.addExternalJar(projectPath, Util.getJavaClassLib());
env.addExternalJars(projectPath, Util.getJavaClassLibs());
public void testMoveMemberType() throws JavaModelException { IPath projectPath = env.addProject("Project"); //$NON-NLS-1$ env.addExternalJar(projectPath, Util.getJavaClassLib()); // remove old package fragment root so that names don't collide env.removePackageFragmentRoot(projectPath, ""); //$NON-NLS-1$ IPath root = env.addPackageFragmentRoot(projectPath, "src"); //$NON-NLS-1$ env.setOutputFolder(projectPath, "bin"); //$NON-NLS-1$ env.addClass(root, "p", "AA", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class AA {} \n"+ //$NON-NLS-1$ "class AZ {static class M{}}"); //$NON-NLS-1$ env.addClass(root, "p", "AB", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "import p.AZ.*; \n"+ //$NON-NLS-1$ "import p.ZA.*; \n"+ //$NON-NLS-1$ "public class AB extends M {}"); //$NON-NLS-1$ env.addClass(root, "p", "ZZ", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class ZZ {} \n"+ //$NON-NLS-1$ "class ZA {}"); //$NON-NLS-1$ fullBuild(projectPath); expectingOnlySpecificProblemsFor( root, new Problem[]{ new Problem("", "The import p.ZA is never used", new Path("/Project/src/p/AB.java")), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ }); /* Move M from AA to ZZ */ env.addClass(root, "p", "AA", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class AA {} \n"+ //$NON-NLS-1$ "class AZ {}"); //$NON-NLS-1$ env.addClass(root, "p", "ZZ", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class ZZ {} \n"+ //$NON-NLS-1$ "class ZA {static class M{}}"); //$NON-NLS-1$ incrementalBuild(projectPath); expectingOnlySpecificProblemsFor( root, new Problem[]{ new Problem("", "The import p.AZ is never used", new Path("/Project/src/p/AB.java")), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ }); /* Move M from ZZ to AA */ env.addClass(root, "p", "AA", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class AA {} \n"+ //$NON-NLS-1$ "class AZ {static class M{}}"); //$NON-NLS-1$ env.addClass(root, "p", "ZZ", //$NON-NLS-1$ //$NON-NLS-2$ "package p; \n"+ //$NON-NLS-1$ "public class ZZ {} \n"+ //$NON-NLS-1$ "class ZA {}"); //$NON-NLS-1$ incrementalBuild(projectPath); expectingOnlySpecificProblemsFor( root, new Problem[]{ new Problem("", "The import p.ZA is never used", new Path("/Project/src/p/AB.java")), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ }); }
10698 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10698/7145bdca11a91565ab60b6927646ef17342a693f/IncrementalTests.java/buggy/org.eclipse.jdt.core.tests.builder/src/org/eclipse/jdt/core/tests/builder/IncrementalTests.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7607, 4419, 559, 1435, 1216, 5110, 1488, 503, 288, 202, 202, 45, 743, 1984, 743, 273, 1550, 18, 1289, 4109, 2932, 4109, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 1289, 6841, 10813, 12, 4406, 743, 16, 3564, 18, 588, 5852, 797, 5664, 10663, 202, 202, 759, 1206, 1592, 2181, 5481, 1365, 1427, 716, 1257, 2727, 1404, 645, 8130, 202, 202, 3074, 18, 4479, 2261, 7456, 2375, 12, 4406, 743, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 1365, 273, 1550, 18, 1289, 2261, 7456, 2375, 12, 4406, 743, 16, 315, 4816, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 542, 1447, 3899, 12, 4406, 743, 16, 315, 4757, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 1289, 797, 12, 3085, 16, 315, 84, 3113, 315, 5284, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 22, 8, 1082, 202, 6, 5610, 293, 31, 521, 82, 6, 15, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 6, 482, 667, 27343, 2618, 521, 82, 6, 15, 4329, 3993, 17, 5106, 17, 21, 8, 1082, 202, 6, 1106, 432, 62, 288, 3845, 667, 490, 2916, 1532, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 1289, 797, 12, 3085, 16, 315, 84, 3113, 315, 2090, 3113, 4329, 3993, 17, 5106, 17, 21, 8, 4329, 3993, 17, 5106, 17, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 1842, 7607, 4419, 559, 1435, 1216, 5110, 1488, 503, 288, 202, 202, 45, 743, 1984, 743, 273, 1550, 18, 1289, 4109, 2932, 4109, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 1289, 6841, 10813, 12, 4406, 743, 16, 3564, 18, 588, 5852, 797, 5664, 10663, 202, 202, 759, 1206, 1592, 2181, 5481, 1365, 1427, 716, 1257, 2727, 1404, 645, 8130, 202, 202, 3074, 18, 4479, 2261, 7456, 2375, 12, 4406, 743, 16, 1408, 1769, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 45, 743, 1365, 273, 1550, 18, 1289, 2261, 7456, 2375, 12, 4406, 743, 16, 315, 4816, 8863, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 3074, 18, 2 ]
int found = 0; Set ids = getFreeTunnels(); long mustExpireAfter = Clock.getInstance().now(); for (Iterator iter = ids.iterator(); iter.hasNext(); ) { TunnelId id = (TunnelId)iter.next(); TunnelInfo info = getFreeTunnel(id); if ( (info != null) && (info.getIsReady()) ) { if (info.getSettings().getExpiration() > mustExpireAfter) { if (info.getDestination() == null) { found++; } } } } return found;
int found = 0; Set ids = getFreeTunnels(); long mustExpireAfter = Clock.getInstance().now(); for (Iterator iter = ids.iterator(); iter.hasNext(); ) { TunnelId id = (TunnelId)iter.next(); TunnelInfo info = getFreeTunnel(id); if ( (info != null) && (info.getIsReady()) ) { if (info.getSettings().getExpiration() > mustExpireAfter) { if (info.getDestination() == null) { found++; } } } } return found;
private int getFreeValidTunnelCount() { int found = 0; Set ids = getFreeTunnels(); long mustExpireAfter = Clock.getInstance().now(); for (Iterator iter = ids.iterator(); iter.hasNext(); ) { TunnelId id = (TunnelId)iter.next(); TunnelInfo info = getFreeTunnel(id); if ( (info != null) && (info.getIsReady()) ) { if (info.getSettings().getExpiration() > mustExpireAfter) { if (info.getDestination() == null) { found++; } } } } return found; }
45677 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/45677/86759d2f9c63d203488c7e8b34e64be162a16ce9/TunnelPool.java/clean/router/java/src/net/i2p/router/tunnelmanager/TunnelPool.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2812, 992, 1556, 20329, 1380, 1435, 288, 202, 474, 1392, 273, 374, 31, 202, 694, 3258, 273, 2812, 992, 20329, 87, 5621, 202, 5748, 1297, 17033, 4436, 273, 18051, 18, 588, 1442, 7675, 3338, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 3258, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 202, 565, 399, 8564, 548, 612, 273, 261, 20329, 548, 13, 2165, 18, 4285, 5621, 202, 565, 399, 8564, 966, 1123, 273, 2812, 992, 20329, 12, 350, 1769, 202, 565, 309, 261, 261, 1376, 480, 446, 13, 597, 261, 1376, 18, 588, 2520, 8367, 10756, 262, 288, 202, 202, 430, 261, 1376, 18, 588, 2628, 7675, 588, 12028, 1435, 405, 1297, 17033, 4436, 13, 288, 1082, 565, 309, 261, 1376, 18, 588, 5683, 1435, 422, 446, 13, 288, 1082, 202, 7015, 9904, 31, 1082, 565, 289, 202, 202, 97, 202, 565, 289, 202, 97, 202, 2463, 1392, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 509, 2812, 992, 1556, 20329, 1380, 1435, 288, 202, 474, 1392, 273, 374, 31, 202, 694, 3258, 273, 2812, 992, 20329, 87, 5621, 202, 5748, 1297, 17033, 4436, 273, 18051, 18, 588, 1442, 7675, 3338, 5621, 202, 202, 1884, 261, 3198, 1400, 273, 3258, 18, 9838, 5621, 1400, 18, 5332, 2134, 5621, 262, 288, 202, 565, 399, 8564, 548, 612, 273, 261, 20329, 548, 13, 2165, 18, 4285, 5621, 202, 565, 399, 8564, 966, 1123, 273, 2812, 992, 20329, 12, 350, 1769, 202, 565, 309, 261, 261, 1376, 480, 446, 13, 597, 261, 1376, 18, 588, 2520, 8367, 10756, 262, 288, 202, 202, 430, 261, 1376, 18, 588, 2628, 7675, 588, 12028, 1435, 405, 1297, 17033, 4436, 2 ]
if(log.isInfoEnabled()) log.info("broadcasting SUSPECT message [suspected_mbrs=" + suspected_mbrs + "] to group");
if(log.isDebugEnabled()) log.debug("broadcasting SUSPECT message [suspected_mbrs=" + suspected_mbrs + "] to group");
public void run() { Message suspect_msg; FdHeader hdr; if(log.isInfoEnabled()) log.info("broadcasting SUSPECT message [suspected_mbrs=" + suspected_mbrs + "] to group"); synchronized(suspected_mbrs) { if(suspected_mbrs.size() == 0) { stopped=true; if(log.isInfoEnabled()) log.info("task done (no suspected members)"); return; } hdr=new FdHeader(FdHeader.SUSPECT); hdr.mbrs=(Vector) suspected_mbrs.clone(); } suspect_msg=new Message(); // mcast SUSPECT to all members suspect_msg.putHeader(getName(), hdr); passDown(new Event(Event.MSG, suspect_msg)); if(log.isInfoEnabled()) log.info("task done"); }
47927 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47927/85b7a7c351493f88f1d6a3045b9cbd0b817f95cd/FD_SOCK.java/buggy/src/org/jgroups/protocols/FD_SOCK.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 2350, 11375, 1181, 67, 3576, 31, 5411, 30431, 1864, 7723, 31, 7734, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 19805, 310, 348, 3378, 1423, 1268, 883, 306, 87, 407, 1789, 67, 1627, 5453, 1546, 397, 4766, 12900, 11375, 1789, 67, 1627, 5453, 397, 9850, 358, 1041, 8863, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 87, 407, 1789, 67, 1627, 5453, 18, 1467, 1435, 422, 374, 13, 288, 10792, 9627, 33, 3767, 31, 5397, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 4146, 2731, 261, 2135, 11375, 1789, 4833, 2225, 1769, 10792, 327, 31, 7734, 289, 7734, 7723, 33, 2704, 30431, 1864, 12, 27263, 1864, 18, 55, 3378, 1423, 1268, 1769, 7734, 7723, 18, 1627, 5453, 28657, 5018, 13, 11375, 1789, 67, 1627, 5453, 18, 14056, 5621, 5411, 289, 5411, 11375, 1181, 67, 3576, 33, 2704, 2350, 5621, 4202, 368, 312, 4155, 348, 3378, 1423, 1268, 358, 777, 4833, 5411, 11375, 1181, 67, 3576, 18, 458, 1864, 12, 17994, 9334, 7723, 1769, 5411, 1342, 4164, 12, 2704, 2587, 12, 1133, 18, 11210, 16, 11375, 1181, 67, 3576, 10019, 2398, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 4146, 2731, 8863, 3639, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 1071, 918, 1086, 1435, 288, 5411, 2350, 11375, 1181, 67, 3576, 31, 5411, 30431, 1864, 7723, 31, 7734, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 19805, 310, 348, 3378, 1423, 1268, 883, 306, 87, 407, 1789, 67, 1627, 5453, 1546, 397, 4766, 12900, 11375, 1789, 67, 1627, 5453, 397, 9850, 358, 1041, 8863, 5411, 3852, 12, 87, 407, 1789, 67, 1627, 5453, 13, 288, 7734, 309, 12, 87, 407, 1789, 67, 1627, 5453, 18, 1467, 1435, 422, 374, 13, 288, 10792, 9627, 33, 3767, 31, 5397, 309, 12, 1330, 18, 291, 966, 1526, 10756, 613, 18, 1376, 2932, 4146, 2731, 261, 2135, 11375, 1789, 4833, 2225, 1769, 10792, 327, 31, 7734, 289, 7734, 2 ]
if (useFactory) { int[] keys = getCallbackKeys(); emitNewInstanceCallbacks(e); emitNewInstanceCallback(e); emitNewInstanceMultiarg(e, constructorInfo); emitGetCallback(e, keys); emitSetCallback(e, keys); emitGetCallbacks(e); emitSetCallbacks(e); }
if (useFactory) { int[] keys = getCallbackKeys(); emitNewInstanceCallbacks(e); emitNewInstanceCallback(e); emitNewInstanceMultiarg(e, constructorInfo); emitGetCallback(e, keys); emitSetCallback(e, keys); emitGetCallbacks(e); emitSetCallbacks(e); }
public void generateClass(ClassVisitor v) throws Exception { Class sc = (superclass == null) ? Object.class : superclass; if (TypeUtils.isFinal(sc.getModifiers())) { throw new IllegalArgumentException("Cannot subclass final class " + sc); } List<Constructor> constructors = new ArrayList<Constructor>(Arrays.asList(sc.getDeclaredConstructors())); filterConstructors(sc, constructors); // Order is very important: must add superclass, then // its superclass chain, then each interface and // its superinterfaces. final Set forcePublic = new HashSet(); List<Method> actualMethods = new ArrayList<Method>(); getMethods(sc, interfaces, actualMethods, new ArrayList<Method>(), forcePublic); //Changes by Peter Gromov final Set<JavaMethodSignature> finalMethods = new HashSet<JavaMethodSignature>(); Class aClass = sc; while (!Object.class.equals(aClass)) { for (final Method method : aClass.getDeclaredMethods()) { final int modifiers = method.getModifiers(); final JavaMethodSignature signature = JavaMethodSignature.getSignature(method); if ((modifiers & Constants.ACC_FINAL) != 0) { finalMethods.add(signature); actualMethods.remove(method); } else if ((modifiers & Constants.ACC_ABSTRACT) == 0 && !(myAdditionalMethods.contains(signature)) || finalMethods.contains(signature)) { actualMethods.remove(method); } } aClass = aClass.getSuperclass(); } List methods = CollectionUtils.transform(actualMethods, new Transformer() { public Object transform(Object value) { Method method = (Method)value; int modifiers = Constants.ACC_FINAL | (method.getModifiers() & ~Constants.ACC_ABSTRACT & ~Constants.ACC_NATIVE & ~Constants.ACC_SYNCHRONIZED); if (forcePublic.contains(MethodWrapper.create(method))) { modifiers = (modifiers & ~Constants.ACC_PROTECTED) | Constants.ACC_PUBLIC; } return ReflectUtils.getMethodInfo(method, modifiers); } }); ClassEmitter e = new ClassEmitter(v); e.begin_class(Constants.V1_2, Constants.ACC_PUBLIC, getClassName(), Type.getType(sc), (useFactory ? TypeUtils.add(TypeUtils.getTypes(interfaces), FACTORY) : TypeUtils.getTypes(interfaces)), Constants.SOURCE_FILE); List constructorInfo = CollectionUtils.transform(constructors, MethodInfoTransformer.getInstance()); e.declare_field(Constants.ACC_PRIVATE, BOUND_FIELD, Type.BOOLEAN_TYPE, null, null); if (!interceptDuringConstruction) { e.declare_field(Constants.ACC_PRIVATE, CONSTRUCTED_FIELD, Type.BOOLEAN_TYPE, null, null); } e.declare_field(Constants.PRIVATE_FINAL_STATIC, THREAD_CALLBACKS_FIELD, THREAD_LOCAL, null, null); e.declare_field(Constants.PRIVATE_FINAL_STATIC, STATIC_CALLBACKS_FIELD, CALLBACK_ARRAY, null, null); if (serialVersionUID != null) { e.declare_field(Constants.PRIVATE_FINAL_STATIC, Constants.SUID_FIELD_NAME, Type.LONG_TYPE, serialVersionUID, null); } for (int i = 0; i < callbackTypes.length; i++) { e.declare_field(Constants.ACC_PRIVATE, getCallbackField(i), callbackTypes[i], null, null); } emitMethods(e, methods, actualMethods); emitConstructors(e, constructorInfo); emitSetThreadCallbacks(e); emitSetStaticCallbacks(e); emitBindCallbacks(e); if (useFactory) { int[] keys = getCallbackKeys(); emitNewInstanceCallbacks(e); emitNewInstanceCallback(e); emitNewInstanceMultiarg(e, constructorInfo); emitGetCallback(e, keys); emitSetCallback(e, keys); emitGetCallbacks(e); emitSetCallbacks(e); } e.end_class(); }
56598 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/56598/4c632c609488fb8900f7eb5390cd16cbaaf04adf/AdvancedEnhancer.java/buggy/source/net/sf/cglib/proxy/AdvancedEnhancer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 797, 12, 797, 7413, 331, 13, 1216, 1185, 288, 3639, 1659, 888, 273, 261, 9565, 1106, 422, 446, 13, 692, 1033, 18, 1106, 294, 12098, 31, 1377, 309, 261, 559, 1989, 18, 291, 7951, 12, 1017, 18, 588, 11948, 1435, 3719, 288, 3639, 604, 394, 2754, 2932, 4515, 10177, 727, 667, 315, 397, 888, 1769, 1377, 289, 3639, 987, 32, 6293, 34, 19874, 273, 394, 2407, 32, 6293, 34, 12, 12726, 18, 345, 682, 12, 1017, 18, 588, 18888, 29590, 1435, 10019, 3639, 1034, 29590, 12, 1017, 16, 19874, 1769, 3639, 368, 4347, 353, 8572, 10802, 30, 1297, 527, 12098, 16, 1508, 3639, 368, 2097, 12098, 2687, 16, 1508, 1517, 1560, 471, 3639, 368, 2097, 2240, 15898, 18, 3639, 727, 1000, 2944, 4782, 273, 394, 6847, 5621, 3639, 987, 32, 1305, 34, 3214, 4712, 273, 394, 2407, 32, 1305, 34, 5621, 1377, 15429, 12, 1017, 16, 7349, 16, 3214, 4712, 16, 394, 2407, 32, 1305, 34, 9334, 2944, 4782, 1769, 1377, 368, 7173, 635, 453, 847, 611, 520, 1527, 1377, 727, 1000, 32, 5852, 1305, 5374, 34, 727, 4712, 273, 394, 6847, 32, 5852, 1305, 5374, 34, 5621, 1377, 1659, 20148, 273, 888, 31, 1377, 1323, 16051, 921, 18, 1106, 18, 14963, 12, 69, 797, 3719, 288, 3639, 364, 261, 6385, 2985, 707, 294, 20148, 18, 588, 18888, 4712, 10756, 288, 1850, 727, 509, 10429, 273, 707, 18, 588, 11948, 5621, 1850, 727, 5110, 1305, 5374, 3372, 273, 5110, 1305, 5374, 18, 588, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 2103, 797, 12, 797, 7413, 331, 13, 1216, 1185, 288, 3639, 1659, 888, 273, 261, 9565, 1106, 422, 446, 13, 692, 1033, 18, 1106, 294, 12098, 31, 1377, 309, 261, 559, 1989, 18, 291, 7951, 12, 1017, 18, 588, 11948, 1435, 3719, 288, 3639, 604, 394, 2754, 2932, 4515, 10177, 727, 667, 315, 397, 888, 1769, 1377, 289, 3639, 987, 32, 6293, 34, 19874, 273, 394, 2407, 32, 6293, 34, 12, 12726, 18, 345, 682, 12, 1017, 18, 588, 18888, 29590, 1435, 10019, 3639, 1034, 29590, 12, 1017, 16, 19874, 1769, 3639, 368, 4347, 353, 8572, 10802, 30, 1297, 527, 12098, 16, 1508, 3639, 368, 2097, 12098, 2687, 16, 1508, 1517, 1560, 471, 3639, 368, 2097, 2 ]
public static boolean variableIsUsed(PsiElement statement, PsiVariable variable) {
public static boolean variableIsUsed(PsiVariable variable, PsiElement context){
public static boolean variableIsUsed(PsiElement statement, PsiVariable variable) { final VariableUsedVisitor visitor = new VariableUsedVisitor(variable); statement.accept(visitor); return visitor.isUsed(); }
17306 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/17306/3a38706cda7adfde8de9d23e33827a8df31f8dde/VariableAccessUtils.java/buggy/plugins/InspectionGadgets/src/com/siyeh/ig/psiutils/VariableAccessUtils.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 2190, 2520, 6668, 12, 52, 7722, 1046, 3021, 16, 29159, 453, 7722, 3092, 2190, 13, 288, 3639, 727, 7110, 6668, 7413, 8000, 7734, 273, 394, 7110, 6668, 7413, 12, 6105, 1769, 3639, 3021, 18, 9436, 12, 3516, 1811, 1769, 3639, 327, 8000, 18, 291, 6668, 5621, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 1250, 2190, 2520, 6668, 12, 52, 7722, 1046, 3021, 16, 29159, 453, 7722, 3092, 2190, 13, 288, 3639, 727, 7110, 6668, 7413, 8000, 7734, 273, 394, 7110, 6668, 7413, 12, 6105, 1769, 3639, 3021, 18, 9436, 12, 3516, 1811, 1769, 3639, 327, 8000, 18, 291, 6668, 5621, 565, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100 ]
jarsToBeCopied.add( jarInfo );
jarsToBeCopied.put( dlg.getFileName( ), jarInfo );
private void addJar( ) { jarChanged=true; FileDialog dlg = new FileDialog( getShell( ) ); dlg.setFilterExtensions( new String[]{ "*.jar", "*.zip" //$NON-NLS-1$, $NON-NLS-2$ } ); if ( dlg.open( ) != null ) { String fn = dlg.getFilterPath( ) + File.separator + dlg.getFileName( ); if ( jarMap.containsKey( dlg.getFileName( ) ) && !( (JarFile) jarMap.get( dlg.getFileName( ) ) ).getState( ) .equals( JarFile.ODA_FILE_NOT_EXIST_TOKEN ) ) { // duplicate,can not add a driver ExceptionHandler.openErrorMessageBox( JdbcPlugin.getResourceString( "driverManagerDialog.text.DriverError" ), JdbcPlugin.getResourceString( "driverManagerDialog.error.CanNotAddDriver" ) ); return; } if ( jarsToBeDeleted.contains( dlg.getFileName( ) ) ) { jarsToBeDeleted.remove( dlg.getFileName( ) ); } JarFile jarInfo = new JarFile( fn, "", false ); jarsToBeCopied.add( jarInfo ); jarMap.put( dlg.getFileName( ), jarInfo ); refreshJarViewer( ); updateJarButtons( ); } }
15160 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/15160/13cfb242c5196f005c6528c6af196f445609aa48/JdbcDriverManagerDialog.java/clean/data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/dialogs/JdbcDriverManagerDialog.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 10813, 12, 262, 202, 95, 202, 202, 11930, 5033, 33, 3767, 31, 202, 202, 812, 6353, 25840, 273, 394, 1387, 6353, 12, 7932, 1165, 12, 262, 11272, 202, 202, 5761, 75, 18, 542, 1586, 7513, 12, 394, 514, 63, 7073, 1082, 202, 6, 11146, 11930, 3113, 315, 11146, 4450, 6, 4329, 3993, 17, 5106, 17, 21, 8, 16, 271, 3993, 17, 5106, 17, 22, 8, 1082, 202, 97, 11272, 202, 202, 430, 261, 25840, 18, 3190, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 2295, 273, 25840, 18, 588, 1586, 743, 12, 262, 6862, 202, 15, 1387, 18, 11287, 6862, 202, 15, 25840, 18, 588, 4771, 12, 11272, 1082, 202, 430, 261, 7334, 863, 18, 12298, 653, 12, 25840, 18, 588, 4771, 12, 262, 262, 6862, 202, 10, 10, 401, 12, 261, 10813, 812, 13, 7334, 863, 18, 588, 12, 25840, 18, 588, 4771, 12, 262, 262, 262, 18, 588, 1119, 12, 262, 6862, 1082, 202, 18, 14963, 12, 15644, 812, 18, 1212, 37, 67, 3776, 67, 4400, 67, 11838, 67, 8412, 262, 262, 1082, 202, 95, 9506, 202, 759, 6751, 16, 4169, 486, 527, 279, 3419, 9506, 202, 18894, 18, 3190, 14935, 3514, 12, 24209, 3773, 18, 588, 1420, 780, 12, 315, 7407, 1318, 6353, 18, 955, 18, 4668, 668, 6, 262, 16, 25083, 202, 25316, 3773, 18, 588, 1420, 780, 12, 315, 7407, 1318, 6353, 18, 1636, 18, 2568, 1248, 986, 4668, 6, 262, 11272, 9506, 202, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 527, 10813, 12, 262, 202, 95, 202, 202, 11930, 5033, 33, 3767, 31, 202, 202, 812, 6353, 25840, 273, 394, 1387, 6353, 12, 7932, 1165, 12, 262, 11272, 202, 202, 5761, 75, 18, 542, 1586, 7513, 12, 394, 514, 63, 7073, 1082, 202, 6, 11146, 11930, 3113, 315, 11146, 4450, 6, 4329, 3993, 17, 5106, 17, 21, 8, 16, 271, 3993, 17, 5106, 17, 22, 8, 1082, 202, 97, 11272, 202, 202, 430, 261, 25840, 18, 3190, 12, 262, 480, 446, 262, 202, 202, 95, 1082, 202, 780, 2295, 273, 25840, 18, 588, 1586, 743, 12, 262, 6862, 202, 15, 1387, 18, 11287, 6862, 202, 15, 25840, 18, 588, 4771, 12, 11272, 1082, 202, 430, 2 ]
private void setState( String sType )
private void setState( AxisType sType )
private void setState( String sType ) { // Bugzilla#103961 Marker line and range only work for non-category // style X-axis, boolean bEnabled = !( getAxisForProcessing( ).isCategoryAxis( ) || sType.equals( AxisType.TEXT_LITERAL.getName( ) ) ); lblMin.setEnabled( bEnabled ); txtScaleMin.setEnabled( bEnabled ); lblMax.setEnabled( bEnabled ); txtScaleMax.setEnabled( bEnabled ); lblStep.setEnabled( bEnabled ); txtScaleStep.setEnabled( bEnabled ); // lblUnit.setEnabled( sType.equals( "DateTime" ) ); //$NON-NLS-1$ // cmbScaleUnit.setEnabled( sType.equals( "DateTime" ) ); //$NON-NLS-1$ lblStep.setEnabled( bEnabled && !sType.equals( AxisType.DATE_TIME_LITERAL.getName( ) ) ); txtScaleStep.setEnabled( bEnabled && !sType.equals( AxisType.DATE_TIME_LITERAL.getName( ) ) ); }
46013 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/46013/9a6a93b56830bdf48f15cc61314dffb17af14116/AxisScaleSheet.java/buggy/chart/org.eclipse.birt.chart.ui.extension/src/org/eclipse/birt/chart/ui/swt/wizard/format/popup/axis/AxisScaleSheet.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12947, 12, 514, 22907, 262, 202, 95, 202, 202, 759, 16907, 15990, 7, 2163, 5520, 9498, 14742, 980, 471, 1048, 1338, 1440, 364, 1661, 17, 4743, 202, 202, 759, 2154, 1139, 17, 4890, 16, 202, 202, 6494, 324, 1526, 273, 401, 12, 4506, 5674, 1290, 7798, 12, 262, 18, 291, 4457, 6558, 12, 262, 747, 22907, 18, 14963, 12, 15509, 559, 18, 5151, 67, 23225, 18, 17994, 12, 262, 262, 11272, 202, 202, 31885, 2930, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 5830, 5587, 2930, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 31885, 2747, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 5830, 5587, 2747, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 31885, 4160, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 5830, 5587, 4160, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 759, 14284, 2802, 18, 542, 1526, 12, 22907, 18, 14963, 12, 315, 5096, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 759, 276, 1627, 5587, 2802, 18, 542, 1526, 12, 22907, 18, 14963, 12, 315, 5096, 6, 262, 11272, 4329, 3993, 17, 5106, 17, 21, 8, 202, 202, 31885, 4160, 18, 542, 1526, 12, 324, 1526, 9506, 202, 10, 10, 401, 87, 559, 18, 14963, 12, 15509, 559, 18, 4594, 67, 4684, 67, 23225, 18, 17994, 12, 262, 262, 11272, 202, 202, 5830, 5587, 4160, 18, 542, 1526, 12, 324, 1526, 9506, 202, 10, 10, 401, 87, 2 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 1152, 918, 12947, 12, 514, 22907, 262, 202, 95, 202, 202, 759, 16907, 15990, 7, 2163, 5520, 9498, 14742, 980, 471, 1048, 1338, 1440, 364, 1661, 17, 4743, 202, 202, 759, 2154, 1139, 17, 4890, 16, 202, 202, 6494, 324, 1526, 273, 401, 12, 4506, 5674, 1290, 7798, 12, 262, 18, 291, 4457, 6558, 12, 262, 747, 22907, 18, 14963, 12, 15509, 559, 18, 5151, 67, 23225, 18, 17994, 12, 262, 262, 11272, 202, 202, 31885, 2930, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 5830, 5587, 2930, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 31885, 2747, 18, 542, 1526, 12, 324, 1526, 11272, 202, 202, 5830, 5587, 2747, 18, 542, 1526, 12, 324, 2 ]
list.add((Node)tail);
public Node literal_concat(ISourcePosition position, Node head, Object tail) { ListNode list; if (head == null) { list = new DStrNode(position); } else if (head instanceof EvStrNode) { list = new DStrNode(position).add(head); } else { list = (ListNode) head; } if (tail instanceof String) { tail = new StrNode(position, (String)tail); } list.add((Node)tail); return list; }
47134 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/47134/e9bf476d31a1adc390bf346977ba9fb6e8419f5b/ParserSupport.java/buggy/src/org/jruby/parser/ParserSupport.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 7158, 67, 16426, 12, 45, 1830, 2555, 1754, 16, 2029, 910, 16, 2398, 1033, 5798, 13, 288, 3639, 987, 907, 666, 31, 7734, 309, 261, 1978, 422, 446, 13, 288, 5411, 666, 273, 394, 463, 1585, 907, 12, 3276, 1769, 3639, 289, 469, 309, 261, 1978, 1276, 30964, 1585, 907, 13, 288, 5411, 666, 273, 394, 463, 1585, 907, 12, 3276, 2934, 1289, 12, 1978, 1769, 3639, 289, 469, 288, 5411, 666, 273, 261, 682, 907, 13, 910, 31, 3639, 289, 7734, 309, 261, 13101, 1276, 514, 13, 288, 5411, 5798, 273, 394, 3978, 907, 12, 3276, 16, 261, 780, 13, 13101, 1769, 3639, 289, 15604, 327, 666, 31, 565, 289, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 ]
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 2029, 7158, 67, 16426, 12, 45, 1830, 2555, 1754, 16, 2029, 910, 16, 2398, 1033, 5798, 13, 288, 3639, 987, 907, 666, 31, 7734, 309, 261, 1978, 422, 446, 13, 288, 5411, 666, 273, 394, 463, 1585, 907, 12, 3276, 1769, 3639, 289, 469, 309, 261, 1978, 1276, 30964, 1585, 907, 13, 288, 5411, 666, 273, 394, 463, 1585, 907, 12, 3276, 2934, 1289, 12, 1978, 1769, 3639, 289, 469, 288, 5411, 666, 273, 261, 682, 907, 13, 910, 31, 3639, 289, 7734, 309, 261, 13101, 1276, 514, 13, 288, 5411, 5798, 273, 394, 3978, 907, 12, 3276, 16, 261, 780, 13, 13101, 1769, 3639, 289, 15604, 327, 666, 31, 565, 289, 2, -100, -100, -100, -100, -100 ]