Dataset Viewer
Auto-converted to Parquet Duplicate
rem
stringlengths
1
53.3k
add
stringlengths
0
80.5k
context
stringlengths
6
326k
meta
stringlengths
141
403
input_ids
sequence
attention_mask
sequence
labels
sequence
_t = __t357;
_t = __t863;
public final Expression generalComp(AST _t, PathExpr path ) throws RecognitionException, PermissionDeniedException,EXistException,XPathException { Expression step; AST generalComp_AST_in = (AST)_t; step= null; PathExpr left= new PathExpr(context); PathExpr right= new PathExpr(context); if (_t==null) _t=ASTNULL; switch ( _t.getType()) { case EQ: { AST __t354 = _t; AST tmp45_AST_in = (AST)_t; match(_t,EQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.EQ); path.add(step); _t = __t354; _t = _t.getNextSibling(); break; } case NEQ: { AST __t355 = _t; AST tmp46_AST_in = (AST)_t; match(_t,NEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.NEQ); path.add(step); _t = __t355; _t = _t.getNextSibling(); break; } case LT: { AST __t356 = _t; AST tmp47_AST_in = (AST)_t; match(_t,LT); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.LT); path.add(step); _t = __t356; _t = _t.getNextSibling(); break; } case LTEQ: { AST __t357 = _t; AST tmp48_AST_in = (AST)_t; match(_t,LTEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.LTEQ); path.add(step); _t = __t357; _t = _t.getNextSibling(); break; } case GT: { AST __t358 = _t; AST tmp49_AST_in = (AST)_t; match(_t,GT); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.GT); path.add(step); _t = __t358; _t = _t.getNextSibling(); break; } case GTEQ: { AST __t359 = _t; AST tmp50_AST_in = (AST)_t; match(_t,GTEQ); _t = _t.getFirstChild(); step=expr(_t,left); _t = _retTree; step=expr(_t,right); _t = _retTree; step= new GeneralComparison(context, left, right, Constants.GTEQ); path.add(step); _t = __t359; _t = _t.getNextSibling(); break; } default: { throw new NoViableAltException(_t); } } _retTree = _t; return step; }
2909 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2909/78bd70965f202738e2ca56dacfd71f5d58c0db69/XPathTreeParser2.java/clean/src/org/exist/parser/XPathTreeParser2.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 7470, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 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, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 727, 5371, 225, 7470, 2945, 12, 9053, 389, 88, 16, 202, 202, 743, 4742, 589, 202, 13, 1216, 9539, 16, 8509, 15877, 16, 2294, 376, 503, 16, 14124, 503, 288, 202, 202, 2300, 2...
List getChoicesList(final String choiceString, final PlayerCharacter aPC)
List<String> getChoicesList(final String choiceString, final PlayerCharacter aPC)
List getChoicesList(final String choiceString, final PlayerCharacter aPC) { final List split = Arrays.asList(choiceString.split("(", 2)); /* Ignore the empty List returned by the Super class we've built the * list in local state variables */ super.getChoicesList((String) split.get(1), aPC); // The private state variable useNameMap is set whenever a choice is added // to the lists of those available, if it becomes necessary to use the // category to uniquely identify a choice it will be set false final List aList = useNameMap ? Arrays.asList(nameMap.keySet().toArray()) : Arrays.asList(catMap.keySet().toArray()); Collections.sort(aList); return aList; }
48301 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/48301/935adc4060b045f379db1f27f0825679f0299b30/LevelAbilityAbility.java/buggy/code/src/java/pcgen/core/levelability/LevelAbilityAbility.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 682, 336, 17442, 682, 12, 6385, 514, 6023, 780, 16, 727, 19185, 7069, 279, 3513, 13, 202, 95, 202, 202, 6385, 987, 1416, 273, 5647, 18, 345, 682, 12, 11569, 780, 18, 4939, 2932, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 682, 336, 17442, 682, 12, 6385, 514, 6023, 780, 16, 727, 19185, 7069, 279, 3513, 13, 202, 95, 202, 202, 6385, 987, 1416, 273, 5647, 18, 345, 682, 12, 11569, 780, 18, 4939, 2932, ...
averagePriceViewer.setInput(input.getAveragePriceHistory()); asyncRefresh();
final FIXMessageHistory avgPxHistory = input.getAveragePriceHistory(); asyncExec(new Runnable(){ public void run() { try { averagePriceViewer.setInput(avgPxHistory); refresh(); } catch (Throwable ex){ ex.printStackTrace(); } } });
public void incomingMessage(Message message) { averagePriceViewer.setInput(input.getAveragePriceHistory()); asyncRefresh(); }
52787 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/52787/b8c700cda905c4e84961a6d74c519385526853c4/OrderHistoryEditor.java/buggy/source/trunk/src/main/java/org/marketcetera/photon/editors/OrderHistoryEditor.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 918, 6935, 1079, 12, 1079, 883, 13, 288, 202, 202, 15621, 5147, 18415, 18, 542, 1210, 12, 2630, 18, 588, 17115, 5147, 5623, 10663, 202, 202, 3810, 8323, 5621, 202, 97, 2, 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, 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, 6935, 1079, 12, 1079, 883, 13, 288, 202, 202, 15621, 5147, 18415, 18, 542, 1210, 12, 2630, 18, 588, 17115, 5147, 5623, 10663, 202, 202, 3810, 8323, 5621, 202, 97, 2, -100...
if (model.isArmed() && model.isPressed())
if ((model.isArmed() && model.isPressed()) || (comboBox.isFocusOwner() && !comboBox.isPopupVisible()))
public void paintComponent(Graphics g) { super.paintComponent(g); Insets insets = this.getInsets(); int w = getWidth() - (insets.left + insets.right); int h = getHeight() - (insets.top + insets.bottom); if (h > 0 && w > 0) { int x1 = insets.left; int y1 = insets.top; int x2 = x1 + (w - 1); int y2 = y1 + (h - 1); int iconWidth = 0; int iconX = x2; if (comboIcon != null) { iconWidth = comboIcon.getIconWidth(); int iconHeight = comboIcon.getIconHeight(); int iconY; if (iconOnly) { iconX = getWidth() / 2 - iconWidth / 2; iconY = getHeight() / 2 - iconHeight / 2; } else { iconX = x1 + (w - 1) - iconWidth; iconY = y1 + (y2 - y1) / 2 - iconHeight / 2; } comboIcon.paintIcon(this, g, iconX, iconY); if (this.hasFocus()) { g.setColor(MetalLookAndFeel.getFocusColor()); g.drawRect(x1 - 1, y1 - 1, w + 3, h + 1); } } if (! iconOnly && comboBox != null) { ListCellRenderer renderer = comboBox.getRenderer(); boolean pressed = this.getModel().isPressed(); Component comp = renderer.getListCellRendererComponent(listBox, comboBox.getSelectedItem(), -1, false, false); comp.setFont(rendererPane.getFont()); if (model.isArmed() && model.isPressed()) { if (isOpaque()) { comp.setBackground(UIManager.getColor("Button.select")); comp.setForeground(comboBox.getForeground()); } } else if (! comboBox.isEnabled()) { if (this.isOpaque()) { Color dbg = UIManager.getColor("ComboBox.disabledBackground"); comp.setBackground(dbg); Color dfg = UIManager.getColor("ComboBox.disabledForeground"); comp.setForeground(dfg); } } else { comp.setForeground(comboBox.getForeground()); comp.setBackground(comboBox.getBackground()); } int wr = w - (insets.right + iconWidth); rendererPane.paintComponent(g, comp, this, x1, y1, wr, h); } } }
1056 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1056/ff4d557efcee4a2c3a25a9cac2252bc626fb10fe/MetalComboBoxButton.java/clean/core/src/classpath/javax/javax/swing/plaf/metal/MetalComboBoxButton.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 918, 12574, 1841, 12, 17558, 314, 13, 225, 288, 565, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 565, 22300, 23576, 273, 333, 18, 588, 382, 4424, 5621, 565, 509, 341, 273, 8557, 1435,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 918, 12574, 1841, 12, 17558, 314, 13, 225, 288, 565, 2240, 18, 84, 1598, 1841, 12, 75, 1769, 565, 22300, 23576, 273, 333, 18, 588, 382, 4424, 5621, 565, 509, 341, 273, 8557, 1435,...
}
}
protected void receiveDownEvent(Event evt) { }
3550 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/3550/de11e563cde19970f8491cbb8d689fbc8fd53f0f/MessageDispatcher.java/clean/src/org/jgroups/blocks/MessageDispatcher.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 6798, 4164, 1133, 12, 1133, 6324, 13, 288, 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, ...
[ 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 540, 4750, 918, 6798, 4164, 1133, 12, 1133, 6324, 13, 288, 3639, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Set<JavaClass> both = new HashSet<JavaClass>(xSubtypes); both.retainAll(ySubtypes); Set<JavaClass> xButNotY = new HashSet<JavaClass>(xSubtypes); xButNotY.removeAll(ySubtypes);
boolean emptyIntersection = true; boolean concreteClassesInXButNotY = false; for(JavaClass s : xSubtypes) { if (ySubtypes.contains(s)) emptyIntersection = false; else if (!s.isInterface() && !s.isAbstract()) concreteClassesInXButNotY = true; }
public static double deepInstanceOf(JavaClass x, JavaClass y) throws ClassNotFoundException { if (x.equals(y)) return 1.0; boolean xIsSubtypeOfY = Repository.instanceOf(x, y); if (xIsSubtypeOfY) return 1.0; boolean yIsSubtypeOfX = Repository.instanceOf(y, x); if (!yIsSubtypeOfX) { if (x.isFinal() || y.isFinal()) return 0.0; if (!x.isInterface() && !y.isInterface()) return 0.0; } Subtypes subtypes = AnalysisContext.currentAnalysisContext() .getSubtypes(); subtypes.addClass(x); subtypes.addClass(y); Set<JavaClass> xSubtypes = subtypes.getTransitiveSubtypes(x); Set<JavaClass> ySubtypes = subtypes.getTransitiveSubtypes(y); Set<JavaClass> both = new HashSet<JavaClass>(xSubtypes); both.retainAll(ySubtypes); Set<JavaClass> xButNotY = new HashSet<JavaClass>(xSubtypes); xButNotY.removeAll(ySubtypes); if (false && yIsSubtypeOfX && both.isEmpty()) { System.out.println("Strange: y is subtype of x, but no classes in both"); System.out.println("X : " + x.getClassName()); System.out.println("Immediate subtypes:"); for(JavaClass c : subtypes.getImmediateSubtypes(x)) System.out.println(" " + c.getClassName()); System.out.println("transitive subtypes:"); for(JavaClass c : xSubtypes) System.out.println(" " + c.getClassName()); System.out.println("Y : " + y.getClassName()); System.out.println("Immediate subtypes:"); for(JavaClass c : subtypes.getImmediateSubtypes(y)) System.out.println(" " + c.getClassName()); System.out.println("transitive subtypes:"); for(JavaClass c : ySubtypes) System.out.println(" " + c.getClassName()); } boolean concreteClassesInXButNotY = containsConcreteClasses(xButNotY); if (both.isEmpty()) { if (concreteClassesInXButNotY) { if (x.isAbstract() || x.isInterface()) return 0.2; return 0.1; } return 0.3; } // exist classes that are both X and Y if (!concreteClassesInXButNotY) { // only abstract/interfaces that are X but not Y return 0.99; } // Concrete classes in X but not Y return 0.7; }
10715 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/10715/221bff1ad664bd11caf0ffa53e3d15302f42497a/Analyze.java/buggy/findbugs/src/java/edu/umd/cs/findbugs/detect/Analyze.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 225, 202, 482, 760, 1645, 4608, 1442, 951, 12, 5852, 797, 619, 16, 29491, 677, 13, 1082, 202, 15069, 10403, 288, 202, 202, 430, 261, 92, 18, 14963, 12, 93, 3719, 1082, 202, 2463, 404, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1645, 4608, 1442, 951, 12, 5852, 797, 619, 16, 29491, 677, 13, 1082, 202, 15069, 10403, 288, 202, 202, 430, 261, 92, 18, 14963, 12, 93, 3719, 1082, 202, 2463, 404, 18, ...
alt1=24;
alt1=23;
public void mMISC() throws RecognitionException { try { int type = MISC; int start = getCharIndex(); int line = getLine(); int charPosition = getCharPositionInLine(); int channel = Token.DEFAULT_CHANNEL; // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:17: ( '!' | '@' | '$' | '%' | '^' | '&' | '*' | '_' | '-' | '+' | '|' | ',' | '{' | '}' | '[' | ']' | ';' | '=' | '/' | '(' | ')' | '\'' | '\\' | '||' | '&&' | '<<<' | '++' | '--' | '>>>' | '==' | '+=' | '=+' | '-=' | '=-' | '*=' | '=*' | '/=' | '=/' ) int alt1=38; switch ( input.LA(1) ) { case '!': alt1=1; break; case '@': alt1=2; break; case '$': alt1=3; break; case '%': alt1=4; break; case '^': alt1=5; break; case '&': int LA1_6 = input.LA(2); if ( LA1_6=='&' ) { alt1=25; } else { alt1=6;} break; case '*': int LA1_7 = input.LA(2); if ( LA1_7=='=' ) { alt1=35; } else { alt1=7;} break; case '_': alt1=8; break; case '-': switch ( input.LA(2) ) { case '-': alt1=28; break; case '=': alt1=33; break; default: alt1=9;} break; case '+': switch ( input.LA(2) ) { case '+': alt1=27; break; case '=': alt1=31; break; default: alt1=10;} break; case '|': int LA1_11 = input.LA(2); if ( LA1_11=='|' ) { alt1=24; } else { alt1=11;} break; case ',': alt1=12; break; case '{': alt1=13; break; case '}': alt1=14; break; case '[': alt1=15; break; case ']': alt1=16; break; case ';': alt1=17; break; case '=': switch ( input.LA(2) ) { case '*': alt1=36; break; case '-': alt1=34; break; case '/': alt1=38; break; case '=': alt1=30; break; case '+': alt1=32; break; default: alt1=18;} break; case '/': int LA1_19 = input.LA(2); if ( LA1_19=='=' ) { alt1=37; } else { alt1=19;} break; case '(': alt1=20; break; case ')': alt1=21; break; case '\'': alt1=22; break; case '\\': alt1=23; break; case '<': alt1=26; break; case '>': alt1=29; break; default: NoViableAltException nvae = new NoViableAltException("750:1: MISC : ( \'!\' | \'@\' | \'$\' | \'%\' | \'^\' | \'&\' | \'*\' | \'_\' | \'-\' | \'+\' | \'|\' | \',\' | \'{\' | \'}\' | \'[\' | \']\' | \';\' | \'=\' | \'/\' | \'(\' | \')\' | \'\\\'\' | \'\\\\\' | \'||\' | \'&&\' | \'<<<\' | \'++\' | \'--\' | \'>>>\' | \'==\' | \'+=\' | \'=+\' | \'-=\' | \'=-\' | \'*=\' | \'=*\' | \'/=\' | \'=/\' );", 1, 0, input); throw nvae; } switch (alt1) { case 1 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:17: '!' { match('!'); } break; case 2 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:23: '@' { match('@'); } break; case 3 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:29: '$' { match('$'); } break; case 4 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:35: '%' { match('%'); } break; case 5 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:41: '^' { match('^'); } break; case 6 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:47: '&' { match('&'); } break; case 7 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:53: '*' { match('*'); } break; case 8 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:59: '_' { match('_'); } break; case 9 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:65: '-' { match('-'); } break; case 10 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:751:71: '+' { match('+'); } break; case 11 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:19: '|' { match('|'); } break; case 12 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:25: ',' { match(','); } break; case 13 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:31: '{' { match('{'); } break; case 14 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:37: '}' { match('}'); } break; case 15 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:43: '[' { match('['); } break; case 16 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:49: ']' { match(']'); } break; case 17 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:55: ';' { match(';'); } break; case 18 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:62: '=' { match('='); } break; case 19 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:68: '/' { match('/'); } break; case 20 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:74: '(' { match('('); } break; case 21 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:80: ')' { match(')'); } break; case 22 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:86: '\'' { match('\''); } break; case 23 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:752:93: '\\' { match('\\'); } break; case 24 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:19: '||' { match("||"); } break; case 25 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:26: '&&' { match("&&"); } break; case 26 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:33: '<<<' { match("<<<"); } break; case 27 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:41: '++' { match("++"); } break; case 28 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:48: '--' { match("--"); } break; case 29 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:55: '>>>' { match(">>>"); } break; case 30 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:63: '==' { match("=="); } break; case 31 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:70: '+=' { match("+="); } break; case 32 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:77: '=+' { match("=+"); } break; case 33 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:84: '-=' { match("-="); } break; case 34 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:91: '=-' { match("=-"); } break; case 35 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:97: '*=' { match("*="); } break; case 36 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:753:104: '=*' { match("=*"); } break; case 37 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:754:19: '/=' { match("/="); } break; case 38 : // C:\Projects\jboss-rules\drools-compiler\src\main\resources\org\drools\lang\drl.g:754:26: '=/' { match("=/"); } break; } if ( token==null ) {emit(type,line,charPosition,channel,start,getCharIndex()-1);} } finally { } }
5490 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/5490/9c6423b7a31fdc4a1317e71a6d2850c94e2140e0/RuleParserLexer.java/buggy/drools-compiler/src/main/java/org/drools/lang/RuleParserLexer.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 312, 7492, 2312, 1435, 1216, 9539, 288, 3639, 775, 288, 5411, 509, 618, 273, 20806, 2312, 31, 5411, 509, 787, 273, 23577, 1016, 5621, 5411, 509, 980, 273, 9851, 5621, 5411, 509...
ctData.setProperty(tokfan.nextToken(), tokfan.nextToken());
ctData.setProperty(tokfan.nextToken().trim(), tokfan.nextToken());
private Object[] parseContentTypeAuxItem() { Object[] r = new Object[2]; Hollerith[] _data = getAuxData(AuxItem.tagContentType); String contentType = "text/x-kom-basic"; if (_data != null && _data.length > 0) { contentType = _data[0].getContentString(); } StringTokenizer toker = new StringTokenizer(contentType, ";"); contentType = toker.nextToken(); Properties ctData = new Properties(); while (toker.hasMoreTokens()) { StringTokenizer tokfan = new StringTokenizer(toker.nextToken(), "="); ctData.setProperty(tokfan.nextToken(), tokfan.nextToken()); } if (contentType.equals("x-kom/text")) contentType = "text/x-kom-basic"; return new Object[] { contentType, ctData }; }
49589 /local/tlutelli/issta_data/temp/all_java4context/java/2006_temp/2006/49589/c8ecb1cb0c020499f92f68a3fa4f1cd6ab0daa7b/TextStat.java/buggy/nu/dll/lyskom/TextStat.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 3238, 1033, 8526, 1109, 8046, 21981, 1180, 1435, 288, 202, 921, 8526, 436, 273, 394, 1033, 63, 22, 15533, 202, 44, 355, 749, 483, 8526, 389, 892, 273, 4506, 2616, 751, 12, 21981, 1180, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8526, 1109, 8046, 21981, 1180, 1435, 288, 202, 921, 8526, 436, 273, 394, 1033, 63, 22, 15533, 202, 44, 355, 749, 483, 8526, 389, 892, 273, 4506, 2616, 751, 12, 21981, 1180, ...
localityDescription = o.getHabitat().getDescription();
habitatDescription = o.getHabitat().getDescription();
public void setRecord(Integer occurrenceId) { DBLayerUtils dlu = new DBLayerUtils(database); this.o = (Occurrence) dlu.getObjectFor(occurrenceId, Occurrence.class); coordinateSystem = WGS84; authorList = getAuthorsOf(o); originalAuthors = new HashSet<Pair<Integer,String>>(); Pair<Pair<String,Integer>,String> p; Pair<String,Integer> a; for (int i = 0; i < authorList.size(); i++) { p = authorList.get(i); a = p.getFirst(); Integer id = a.getSecond(); String role = p.getSecond(); originalAuthors.add(new Pair<Integer,String>(id,role)); } Iterator it = originalAuthors.iterator(); System.out.println("Original authors are: "); while (it.hasNext()) { Pair<Integer,String> pOA = (Pair<Integer,String>)it.next(); System.out.println(""+pOA.getFirst()+":"+pOA.getSecond()); } village = new Pair(o.getHabitat().getNearestVillage().getName(), o.getHabitat().getNearestVillage().getId()); taxonList = new ArrayList(); taxonOriginal = o.getPlant().getTaxon(); taxonList.add(taxonOriginal); localityDescription = o.getHabitat().getDescription(); year = o.getYearCollected(); occurrenceNote = o.getNote(); habitatNote = o.getHabitat().getNote(); territoryName = new Pair(o.getHabitat().getTerritory().getName(),o.getHabitat().getTerritory().getId()); phytName = new Pair(o.getHabitat().getPhytochorion().getName(), o.getHabitat().getPhytochorion().getId()); phytCode = new Pair(o.getHabitat().getPhytochorion().getCode(), o.getHabitat().getPhytochorion().getId()); phytCountry = o.getHabitat().getCountry(); quadrant = o.getHabitat().getQuadrant(); altitude = o.getHabitat().getAltitude(); longitude = o.getHabitat().getLongitude(); latitude = o.getHabitat().getLatitude(); source = o.getDataSource(); publication = new Pair(o.getPublication().getReferenceCitation(), o.getPublication().getId()); herbarium = o.getHerbarium(); month = o.getMonthCollected(); day = o.getDayCollected(); time = o.getTimeCollected(); //we also must determine (again) who shares habitat data with us loadHabitatSharingOccurrences(); }
57211 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/57211/47cf8d2d1d579f652f528d6db60db4442acb8279/AddEdit.java/clean/trunk/src/net/sf/plantlore/client/AddEdit.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 444, 2115, 12, 4522, 13083, 548, 13, 288, 3639, 2383, 4576, 1989, 8910, 89, 273, 394, 2383, 4576, 1989, 12, 6231, 1769, 3639, 333, 18, 83, 273, 261, 24267, 13, 8910, 89, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 444, 2115, 12, 4522, 13083, 548, 13, 288, 3639, 2383, 4576, 1989, 8910, 89, 273, 394, 2383, 4576, 1989, 12, 6231, 1769, 3639, 333, 18, 83, 273, 261, 24267, 13, 8910, 89, 18, ...
KJASAppletStub stub = new KJASAppletStub( this, appletID, app, codeBase, docBase, name );
KJASAppletStub stub = new KJASAppletStub( this, appletID, app, codeBase, docBase, name );
public void createApplet( String appletID, String className, URL codeBase, URL docBase, String jars, String name, Dimension size ) { try { URL real_codeBase = codeBase; if( real_codeBase == null ) real_codeBase = docBase; if( real_codeBase == null ) { //we have a serious problem- where do we get classes from ??? Main.kjas_debug( "Can't create URLClassLoader with a valid url" ); throw new IllegalArgumentException( "no codeBase for applet" ); } else { Main.kjas_debug( "checking the url for validity" ); Main.kjas_debug( "real_codeBase.getFile() == " + real_codeBase.getFile() ); //if this is a url like http://www.foo.com, it needs a slash on //the end otherwise URLClassLoader thinks it's a jar file ?? if( ( real_codeBase.getFile().trim().length() == 0 || real_codeBase.getFile() == null ) && !real_codeBase.toString().endsWith(".jar") ) { Main.kjas_debug( "real_codeBase has no file, adding a /" ); real_codeBase = new URL( real_codeBase.toString().concat( "/" ) ); } } if( loader == null ) { Main.kjas_debug( "Creating class loader with url = " + real_codeBase ); loader = KJASAppletClassLoader.createLoader( real_codeBase ); } else { loader.addCodeBase( real_codeBase ); } if( jars != null ) { StringTokenizer parser = new StringTokenizer( jars, ",", false ); while( parser.hasMoreTokens() ) { String jar = parser.nextToken().trim(); loader.addJar( codeBase, jar ); } } Class appletClass = loader.loadClass( className ); // Load and instantiate applet Applet app = (Applet) appletClass.newInstance(); app.setSize( size ); KJASAppletStub stub = new KJASAppletStub( this, appletID, app, codeBase, docBase, name ); appletNames.put( name, app ); appletIDs.put( appletID, app ); stubs.put( appletID, stub ); } catch ( ClassNotFoundException e ) { Main.kjas_err( "Could not find the needed class" + e, e ); } catch ( Exception e ) { Main.kjas_err( "Something bad happened: " + e, e ); } }
1818 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/1818/8dcc505deceab8358b453199c9111352bb93146e/KJASAppletContext.java/clean/khtml/java/org/kde/kjas/server/KJASAppletContext.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 918, 752, 23696, 12, 514, 21853, 734, 16, 17311, 514, 2658, 16, 1976, 981, 2171, 16, 17311, 1976, 997, 2171, 16, 514, 28838, 16, 17311, 514, 508, 16, 13037, 963, 262, 565, 288, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 752, 23696, 12, 514, 21853, 734, 16, 17311, 514, 2658, 16, 1976, 981, 2171, 16, 17311, 1976, 997, 2171, 16, 514, 28838, 16, 17311, 514, 508, 16, 13037, 963, 262, 565, 288, 36...
treeEvent.setElement(psiFile);
treeEvent.setChild(psiFile);
public void run() { PsiTreeChangeEventImpl treeEvent = new PsiTreeChangeEventImpl(myManager); treeEvent.setParent(parentDir); if (VirtualFile.PROP_NAME.equals(propertyName)) { if (vFile.isDirectory()) { PsiDirectory psiDir = myVFileToPsiDirMap.get(vFile); if (psiDir != null) { if (myFileTypeManager.isFileIgnored(vFile.getName())) { removeFilesAndDirsRecursively(vFile); treeEvent.setChild(psiDir); myManager.childRemoved(treeEvent); } else { treeEvent.setElement(psiDir); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_DIRECTORY_NAME); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } } else { PsiDirectory psiDir1 = findDirectory(vFile); if (psiDir1 != null) { treeEvent.setChild(psiDir1); myManager.childAdded(treeEvent); } } } else { PsiFile psiFile = myVFileToPsiFileMap.get(vFile); if (psiFile != null) { PsiFile psiFile1 = createPsiFile(vFile, vFile.getName()); if (psiFile1 == null) { myVFileToPsiFileMap.remove(vFile); treeEvent.setChild(psiFile); myManager.childRemoved(treeEvent); } else if (!psiFile1.getClass().equals(psiFile.getClass())) { myVFileToPsiFileMap.remove(vFile); treeEvent.setOldChild(psiFile); treeEvent.setNewChild(psiFile1); myManager.childReplaced(treeEvent); } else { treeEvent.setElement(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_FILE_NAME); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } } else { PsiFile psiFile1 = findFile(vFile); if (psiFile1 != null) { treeEvent.setChild(psiFile1); myManager.childAdded(treeEvent); } } } } else if (VirtualFile.PROP_WRITABLE.equals(propertyName)) { PsiFile psiFile = myVFileToPsiFileMap.get(vFile); if (psiFile == null) return; treeEvent.setElement(psiFile); treeEvent.setPropertyName(PsiTreeChangeEvent.PROP_WRITABLE); treeEvent.setOldValue(event.getOldValue()); treeEvent.setNewValue(event.getNewValue()); myManager.propertyChanged(treeEvent); } }
12814 /local/tlutelli/issta_data/temp/all_java1context/java/2006_temp/2006/12814/671af53ecb4df5a36564759f83fd6c3b1163178f/FileManagerImpl.java/clean/source/com/intellij/psi/impl/file/impl/FileManagerImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 6647, 1071, 918, 1086, 1435, 288, 5411, 453, 7722, 2471, 20930, 2828, 2151, 1133, 273, 394, 453, 7722, 2471, 20930, 2828, 12, 4811, 1318, 1769, 5411, 2151, 1133, 18, 542, 3054, 12, 2938, 1621, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6647, 1071, 918, 1086, 1435, 288, 5411, 453, 7722, 2471, 20930, 2828, 2151, 1133, 273, 394, 453, 7722, 2471, 20930, 2828, 12, 4811, 1318, 1769, 5411, 2151, 1133, 18, 542, 3054, 12, 2938, 1621, ...
public int getLineWidth() { return _outCircle.getLineWidth(); }
public int getLineWidth() { return _outCircle.getLineWidth(); }
public int getLineWidth() { return _outCircle.getLineWidth(); }
7166 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/7166/95f6234681bd6630fac26a0dbc5c2b745d95f462/FigFinalState.java/buggy/src_new/org/argouml/uml/diagram/state/ui/FigFinalState.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9851, 2384, 1435, 288, 327, 389, 659, 19490, 18, 588, 1670, 2384, 5621, 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, ...
[ 1, 1, 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...
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 282, 1071, 509, 9851, 2384, 1435, 288, 327, 389, 659, 19490, 18, 588, 1670, 2384, 5621, 289, 2, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
void createBuiltInTypes() {
static synchronized void createBuiltInTypes() { if (fBuiltInTypes != null) return;
void createBuiltInTypes() { // all schema simple type names final String ANYSIMPLETYPE = "anySimpleType"; final String ANYURI = "anyURI"; final String BASE64BINARY = "base64Binary"; final String BOOLEAN = "boolean"; final String BYTE = "byte"; final String DATE = "date"; final String DATETIME = "dateTime"; final String DAY = "gDay"; final String DECIMAL = "decimal"; final String DOUBLE = "double"; final String DURATION = "duration"; final String ENTITY = "ENTITY"; final String ENTITIES = "ENTITIES"; final String FLOAT = "float"; final String HEXBINARY = "hexBinary"; final String ID = "ID"; final String IDREF = "IDREF"; final String IDREFS = "IDREFS"; final String INT = "int"; final String INTEGER = "integer"; final String LONG = "long"; final String NAME = "Name"; final String NEGATIVEINTEGER = "negativeInteger"; final String MONTH = "gMonth"; final String MONTHDAY = "gMonthDay"; final String NCNAME = "NCName"; final String NMTOKEN = "NMTOKEN"; final String NMTOKENS = "NMTOKENS"; final String LANGUAGE = "language"; final String NONNEGATIVEINTEGER= "nonNegativeInteger"; final String NONPOSITIVEINTEGER= "nonPositiveInteger"; final String NORMALIZEDSTRING = "normalizedString"; final String NOTATION = "NOTATION"; final String POSITIVEINTEGER = "positiveInteger"; final String QNAME = "QName"; final String SHORT = "short"; final String STRING = "string"; final String TIME = "time"; final String TOKEN = "token"; final String UNSIGNEDBYTE = "unsignedByte"; final String UNSIGNEDINT = "unsignedInt"; final String UNSIGNEDLONG = "unsignedLong"; final String UNSIGNEDSHORT = "unsignedShort"; final String YEAR = "gYear"; final String YEARMONTH = "gYearMonth"; final XSFacets facets = new XSFacets(); fBuiltInTypes = new Hashtable(); //REVISIT: passing "anyType" here. XSSimpleTypeDecl anySimpleType = XSSimpleTypeDecl.fAnySimpleType; fBuiltInTypes.put(ANYSIMPLETYPE, anySimpleType); XSSimpleTypeDecl stringDV = new XSSimpleTypeDecl(anySimpleType, STRING, XSSimpleTypeDecl.DV_STRING, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false ); fBuiltInTypes.put(STRING, stringDV); fBuiltInTypes.put(BOOLEAN, new XSSimpleTypeDecl(anySimpleType, STRING, XSSimpleTypeDecl.DV_BOOLEAN, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_FINITE, false)); XSSimpleTypeDecl decimalDV = new XSSimpleTypeDecl(anySimpleType, DECIMAL, XSSimpleTypeDecl.DV_DECIMAL, XSSimpleType.ORDERED_TOTAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, true); fBuiltInTypes.put(DECIMAL, decimalDV); fBuiltInTypes.put(ANYURI, new XSSimpleTypeDecl(anySimpleType, ANYURI, XSSimpleTypeDecl.DV_ANYURI, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(BASE64BINARY, new XSSimpleTypeDecl(anySimpleType, BASE64BINARY, XSSimpleTypeDecl.DV_BASE64BINARY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DURATION, new XSSimpleTypeDecl(anySimpleType, DURATION, XSSimpleTypeDecl.DV_DURATION, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DATETIME, new XSSimpleTypeDecl(anySimpleType, DATETIME, XSSimpleTypeDecl.DV_DATETIME, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(TIME, new XSSimpleTypeDecl(anySimpleType, TIME, XSSimpleTypeDecl.DV_TIME, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DATE, new XSSimpleTypeDecl(anySimpleType, DATE, XSSimpleTypeDecl.DV_DATE, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(YEARMONTH, new XSSimpleTypeDecl(anySimpleType, YEARMONTH, XSSimpleTypeDecl.DV_GYEARMONTH, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(YEAR, new XSSimpleTypeDecl(anySimpleType, YEAR, XSSimpleTypeDecl.DV_GYEAR, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(MONTHDAY, new XSSimpleTypeDecl(anySimpleType, MONTHDAY, XSSimpleTypeDecl.DV_GMONTHDAY, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(DAY, new XSSimpleTypeDecl(anySimpleType, DAY, XSSimpleTypeDecl.DV_GDAY, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(MONTH, new XSSimpleTypeDecl(anySimpleType, MONTH, XSSimpleTypeDecl.DV_GMONTH, XSSimpleType.ORDERED_PARTIAL, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); facets.fractionDigits = 0; XSSimpleTypeDecl integerDV = new XSSimpleTypeDecl(decimalDV, INTEGER, URI_SCHEMAFORSCHEMA, (short)0); integerDV.applyFacets1(facets , XSSimpleType.FACET_FRACTIONDIGITS, (short)0); fBuiltInTypes.put(INTEGER, integerDV); facets.maxInclusive = "0"; XSSimpleTypeDecl nonPositiveDV = new XSSimpleTypeDecl(integerDV, NONPOSITIVEINTEGER, URI_SCHEMAFORSCHEMA, (short)0); nonPositiveDV.applyFacets1(facets , XSSimpleType.FACET_MAXINCLUSIVE, (short)0); fBuiltInTypes.put(NONPOSITIVEINTEGER, nonPositiveDV); facets.maxInclusive = "-1"; XSSimpleTypeDecl negativeDV = new XSSimpleTypeDecl(integerDV, NEGATIVEINTEGER, URI_SCHEMAFORSCHEMA, (short)0); negativeDV.applyFacets1(facets , XSSimpleType.FACET_MAXINCLUSIVE, (short)0); fBuiltInTypes.put(NEGATIVEINTEGER, negativeDV); facets.maxInclusive = "9223372036854775807"; facets.minInclusive = "-9223372036854775808"; XSSimpleTypeDecl longDV = new XSSimpleTypeDecl(integerDV, LONG, URI_SCHEMAFORSCHEMA, (short)0); longDV.applyFacets1(facets , (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(LONG, longDV); facets.maxInclusive = "2147483647"; facets.minInclusive = "-2147483648"; XSSimpleTypeDecl intDV = new XSSimpleTypeDecl(longDV, INT, URI_SCHEMAFORSCHEMA, (short)0); intDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(INT, intDV); facets.maxInclusive = "32767"; facets.minInclusive = "-32768"; XSSimpleTypeDecl shortDV = new XSSimpleTypeDecl(intDV, SHORT , URI_SCHEMAFORSCHEMA, (short)0); shortDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(SHORT, shortDV); facets.maxInclusive = "127"; facets.minInclusive = "-128"; XSSimpleTypeDecl byteDV = new XSSimpleTypeDecl(shortDV, BYTE , URI_SCHEMAFORSCHEMA, (short)0); byteDV.applyFacets1(facets, (short)(XSSimpleType.FACET_MAXINCLUSIVE | XSSimpleType.FACET_MININCLUSIVE), (short)0 ); fBuiltInTypes.put(BYTE, byteDV); facets.minInclusive = "0" ; XSSimpleTypeDecl nonNegativeDV = new XSSimpleTypeDecl(integerDV, NONNEGATIVEINTEGER , URI_SCHEMAFORSCHEMA, (short)0); nonNegativeDV.applyFacets1(facets, XSSimpleType.FACET_MININCLUSIVE, (short)0 ); fBuiltInTypes.put(NONNEGATIVEINTEGER, nonNegativeDV); facets.maxInclusive = "18446744073709551615" ; XSSimpleTypeDecl unsignedLongDV = new XSSimpleTypeDecl(nonNegativeDV, UNSIGNEDLONG , URI_SCHEMAFORSCHEMA, (short)0); unsignedLongDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDLONG, unsignedLongDV); facets.maxInclusive = "4294967295" ; XSSimpleTypeDecl unsignedIntDV = new XSSimpleTypeDecl(unsignedLongDV, UNSIGNEDINT , URI_SCHEMAFORSCHEMA, (short)0); unsignedIntDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDINT, unsignedIntDV); facets.maxInclusive = "65535" ; XSSimpleTypeDecl unsignedShortDV = new XSSimpleTypeDecl(unsignedIntDV, UNSIGNEDSHORT , URI_SCHEMAFORSCHEMA, (short)0); unsignedShortDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDSHORT, unsignedShortDV); facets.maxInclusive = "255" ; XSSimpleTypeDecl unsignedByteDV = new XSSimpleTypeDecl(unsignedShortDV, UNSIGNEDBYTE , URI_SCHEMAFORSCHEMA, (short)0); unsignedByteDV.applyFacets1(facets, XSSimpleType.FACET_MAXINCLUSIVE, (short)0 ); fBuiltInTypes.put(UNSIGNEDBYTE, unsignedByteDV); facets.minInclusive = "1" ; XSSimpleTypeDecl positiveIntegerDV = new XSSimpleTypeDecl(nonNegativeDV, POSITIVEINTEGER , URI_SCHEMAFORSCHEMA, (short)0); positiveIntegerDV.applyFacets1(facets, XSSimpleType.FACET_MININCLUSIVE, (short)0 ); fBuiltInTypes.put(POSITIVEINTEGER, positiveIntegerDV); fBuiltInTypes.put(FLOAT, new XSSimpleTypeDecl(anySimpleType, FLOAT, XSSimpleTypeDecl.DV_FLOAT, XSSimpleType.ORDERED_TOTAL, true, XSSimpleType.CARDINALITY_FINITE, true)); fBuiltInTypes.put(DOUBLE, new XSSimpleTypeDecl(anySimpleType, DOUBLE, XSSimpleTypeDecl.DV_DOUBLE, XSSimpleType.ORDERED_TOTAL, true, XSSimpleType.CARDINALITY_FINITE, true)); fBuiltInTypes.put(HEXBINARY, new XSSimpleTypeDecl(anySimpleType, HEXBINARY, XSSimpleTypeDecl.DV_HEXBINARY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(NOTATION, new XSSimpleTypeDecl(anySimpleType, NOTATION, XSSimpleTypeDecl.DV_NOTATION, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); facets.whiteSpace = XSSimpleType.WS_REPLACE; XSSimpleTypeDecl normalizedDV = new XSSimpleTypeDecl(stringDV, NORMALIZEDSTRING , URI_SCHEMAFORSCHEMA, (short)0); normalizedDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0 ); fBuiltInTypes.put(NORMALIZEDSTRING, normalizedDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl tokenDV = new XSSimpleTypeDecl(normalizedDV, TOKEN , URI_SCHEMAFORSCHEMA, (short)0); tokenDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0 ); fBuiltInTypes.put(TOKEN, tokenDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; facets.pattern = "([a-zA-Z]{2}|[iI]-[a-zA-Z]+|[xX]-[a-zA-Z]+)(-[a-zA-Z]+)*"; XSSimpleTypeDecl languageDV = new XSSimpleTypeDecl(tokenDV, LANGUAGE , URI_SCHEMAFORSCHEMA, (short)0); languageDV.applyFacets1(facets, (short)(XSSimpleType.FACET_WHITESPACE | XSSimpleType.FACET_PATTERN) ,(short)0); fBuiltInTypes.put(LANGUAGE, languageDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl nameDV = new XSSimpleTypeDecl(tokenDV, NAME , URI_SCHEMAFORSCHEMA, (short)0); nameDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NAME); fBuiltInTypes.put(NAME, nameDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl ncnameDV = new XSSimpleTypeDecl(nameDV, NCNAME , URI_SCHEMAFORSCHEMA, (short)0) ; ncnameDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NCNAME); fBuiltInTypes.put(NCNAME, ncnameDV); fBuiltInTypes.put(QNAME, new XSSimpleTypeDecl(anySimpleType, QNAME, XSSimpleTypeDecl.DV_QNAME, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false)); fBuiltInTypes.put(ID, new XSSimpleTypeDecl(ncnameDV, ID, XSSimpleTypeDecl.DV_ID, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false )); XSSimpleTypeDecl idrefDV = new XSSimpleTypeDecl(ncnameDV, IDREF , XSSimpleTypeDecl.DV_IDREF, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false); fBuiltInTypes.put(IDREF, idrefDV); facets.minLength = 1; XSSimpleTypeDecl tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, idrefDV); XSSimpleTypeDecl idrefsDV = new XSSimpleTypeDecl(tempDV, IDREFS, URI_SCHEMAFORSCHEMA, (short)0); idrefsDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(IDREFS, idrefsDV); XSSimpleTypeDecl entityDV = new XSSimpleTypeDecl(ncnameDV, ENTITY , XSSimpleTypeDecl.DV_ENTITY, XSSimpleType.ORDERED_FALSE, false, XSSimpleType.CARDINALITY_COUNTABLY_INFINITE, false); fBuiltInTypes.put(ENTITY, entityDV); facets.minLength = 1; tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, entityDV); XSSimpleTypeDecl entitiesDV = new XSSimpleTypeDecl(tempDV, ENTITIES, URI_SCHEMAFORSCHEMA, (short)0); entitiesDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(ENTITIES, entitiesDV); facets.whiteSpace = XSSimpleType.WS_COLLAPSE; XSSimpleTypeDecl nmtokenDV = new XSSimpleTypeDecl(tokenDV, NMTOKEN, URI_SCHEMAFORSCHEMA, (short)0); nmtokenDV.applyFacets1(facets, XSSimpleType.FACET_WHITESPACE, (short)0, XSSimpleTypeDecl.SPECIAL_TOKEN_NMTOKEN); fBuiltInTypes.put(NMTOKEN, nmtokenDV); facets.minLength = 1; tempDV = new XSSimpleTypeDecl(null, URI_SCHEMAFORSCHEMA, (short)0, nmtokenDV); XSSimpleTypeDecl nmtokensDV = new XSSimpleTypeDecl(tempDV, NMTOKENS, URI_SCHEMAFORSCHEMA, (short)0); nmtokensDV.applyFacets1(facets, XSSimpleType.FACET_MINLENGTH, (short)0); fBuiltInTypes.put(NMTOKENS, nmtokensDV); }//createBuiltInTypes()
4434 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/4434/8878baf15277284e47b284a45edff4668430692e/SchemaDVFactoryImpl.java/buggy/src/org/apache/xerces/impl/dv/xs/SchemaDVFactoryImpl.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 760, 3852, 918, 752, 16409, 382, 2016, 1435, 288, 309, 261, 74, 16409, 382, 2016, 480, 446, 13, 327, 31, 3639, 368, 777, 1963, 4143, 618, 1257, 3639, 727, 514, 16743, 31669, 900, 2399, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3852, 918, 752, 16409, 382, 2016, 1435, 288, 309, 261, 74, 16409, 382, 2016, 480, 446, 13, 327, 31, 3639, 368, 777, 1963, 4143, 618, 1257, 3639, 727, 514, 16743, 31669, 900, 2399, ...
this.functionName = name;
if (arity < 0) throw new IllegalArgumentException();
public IdFunctionObject(IdFunctionCall idcall, Object tag, int id, String name, int arity, Scriptable scope) { super(scope, null); if (arity < 0) throw new IllegalArgumentException(); if (name == null) throw new IllegalArgumentException(); this.idcall = idcall; this.tag = tag; this.methodId = id; this.arity = arity; this.functionName = name; }
54155 /local/tlutelli/issta_data/temp/all_java5context/java/2006_temp/2006/54155/69072d60f2dff69483df81af0b7c4377af80f832/IdFunctionObject.java/buggy/js/rhino/src/org/mozilla/javascript/IdFunctionObject.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 3124, 2083, 921, 12, 548, 2083, 1477, 612, 1991, 16, 1033, 1047, 16, 509, 612, 16, 18701, 514, 508, 16, 509, 19353, 16, 22780, 2146, 13, 565, 288, 3639, 2240, 12, 4887, 16, 446, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3124, 2083, 921, 12, 548, 2083, 1477, 612, 1991, 16, 1033, 1047, 16, 509, 612, 16, 18701, 514, 508, 16, 509, 19353, 16, 22780, 2146, 13, 565, 288, 3639, 2240, 12, 4887, 16, 446, ...
SVNDirectory dir, SVNEntry entry) { return new SVNEvent(source, dir, entry.getName(), SVNEventAction.UPDATE_DELETE, entry.getKind(), entry .getRevision(), null, null, null, null, null, null);
SVNDirectory dir, String name) { return new SVNEvent(source, dir, name, SVNEventAction.UPDATE_DELETE, SVNNodeKind.UNKNOWN, -1, null, null, null, null, null, null);
public static SVNEvent createUpdateDeleteEvent(SVNWCAccess source, SVNDirectory dir, SVNEntry entry) { return new SVNEvent(source, dir, entry.getName(), SVNEventAction.UPDATE_DELETE, entry.getKind(), entry .getRevision(), null, null, null, null, null, null); }
2776 /local/tlutelli/issta_data/temp/all_java0context/java/2006_temp/2006/2776/28381179e464d7990498164d52693487f9dddb79/SVNEventFactory.java/buggy/javasvn/src/org/tmatesoft/svn/core/internal/wc/SVNEventFactory.java
[ 1, 8585, 326, 22398, 316, 326, 981, 30, 377, 1071, 760, 29537, 50, 1133, 752, 1891, 2613, 1133, 12, 23927, 50, 59, 39, 1862, 1084, 16, 5411, 29537, 50, 2853, 1577, 16, 29537, 50, 1622, 1241, 13, 288, 3639, 327, 394, 29537, 50, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29537, 50, 1133, 752, 1891, 2613, 1133, 12, 23927, 50, 59, 39, 1862, 1084, 16, 5411, 29537, 50, 2853, 1577, 16, 29537, 50, 1622, 1241, 13, 288, 3639, 327, 394, 29537, 50, 113...
End of preview. Expand in Data Studio

Dataset Card for "java_encoded_processed_APR"

More Information needed

Downloads last month
6