name
stringclasses 26
values | new_args
stringclasses 13
values | new_implementation
stringlengths 0
1.64k
| new_return_type
stringlengths 2
39
| new_signature
stringlengths 8
87
| old_args
stringclasses 11
values | old_implementation
stringlengths 0
1.91k
| old_return_type
stringlengths 2
48
| old_signature
stringlengths 8
105
|
---|---|---|---|---|---|---|---|---|
rvonmassow$xdoc | return cMULTI_NLTerminalRuleCall_3_0; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_3_0() | return cMULTI_NLTerminalRuleCall_5_0; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_5_0() |
||
rvonmassow$xdoc | return cMULTI_NLTerminalRuleCall_5; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_5() | return cMULTI_NLTerminalRuleCall_6; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_6() |
||
rvonmassow$xdoc | return cMULTI_NLTerminalRuleCall_4_0; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_4_0() | return cMULTI_NLTerminalRuleCall_6_0; | RuleCall | RuleCall getMULTI_NLTerminalRuleCall_6_0() |
||
rvonmassow$xdoc | return cNameAssignment_0_0_1; | Assignment | Assignment getNameAssignment_0_0_1() | return cNameAssignment_1_1; | Assignment | Assignment getNameAssignment_1_1() |
||
rvonmassow$xdoc | return cNameAssignment_0_0_2; | Assignment | Assignment getNameAssignment_0_0_2() | return cNameAssignment_2_2; | Assignment | Assignment getNameAssignment_2_2() |
||
rvonmassow$xdoc | return cNameIDTerminalRuleCall_0_0_1_0; | RuleCall | RuleCall getNameIDTerminalRuleCall_0_0_1_0() | return cNameIDTerminalRuleCall_1_1_0; | RuleCall | RuleCall getNameIDTerminalRuleCall_1_1_0() |
||
rvonmassow$xdoc | return cNameIDTerminalRuleCall_0_0_2_0; | RuleCall | RuleCall getNameIDTerminalRuleCall_0_0_2_0() | return cNameIDTerminalRuleCall_2_2_0; | RuleCall | RuleCall getNameIDTerminalRuleCall_2_2_0() |
||
rvonmassow$xdoc | return cPathAssignment_1; | Assignment | Assignment getPathAssignment_1() | return cPathAssignment_4; | Assignment | Assignment getPathAssignment_4() |
||
rvonmassow$xdoc | return cPathTextParserRuleCall_1_0; | RuleCall | RuleCall getPathTextParserRuleCall_1_0() | return cPathTextParserRuleCall_4_0; | RuleCall | RuleCall getPathTextParserRuleCall_4_0() |
||
rvonmassow$xdoc | return cRefAssignment_1; | Assignment | Assignment getRefAssignment_1() | return cRefAssignment_2; | Assignment | Assignment getRefAssignment_2() |
||
rvonmassow$xdoc | return cRefIdentifiableCrossReference_1_0; | CrossReference | CrossReference getRefIdentifiableCrossReference_1_0() | return cRefIdentifiableCrossReference_2_0; | CrossReference | CrossReference getRefIdentifiableCrossReference_2_0() |
||
rvonmassow$xdoc | return cRefIdentifiableIDTerminalRuleCall_1_0_1; | RuleCall | RuleCall getRefIdentifiableIDTerminalRuleCall_1_0_1() | return cRefIdentifiableIDTerminalRuleCall_2_0_1; | RuleCall | RuleCall getRefIdentifiableIDTerminalRuleCall_2_0_1() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_10; | Keyword | Keyword getRightSquareBracketKeyword_10() | return cRightSquareBracketKeyword_13; | Keyword | Keyword getRightSquareBracketKeyword_13() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_1_3; | Keyword | Keyword getRightSquareBracketKeyword_1_3() | return cRightSquareBracketKeyword_2_4; | Keyword | Keyword getRightSquareBracketKeyword_2_4() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_2; | Keyword | Keyword getRightSquareBracketKeyword_2() | return cRightSquareBracketKeyword_3_1; | Keyword | Keyword getRightSquareBracketKeyword_3_1() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_3; | Keyword | Keyword getRightSquareBracketKeyword_3() | return cRightSquareBracketKeyword_5; | Keyword | Keyword getRightSquareBracketKeyword_5() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_4; | Keyword | Keyword getRightSquareBracketKeyword_4() | return cRightSquareBracketKeyword_5; | Keyword | Keyword getRightSquareBracketKeyword_5() |
||
rvonmassow$xdoc | return cRightSquareBracketKeyword_6; | Keyword | Keyword getRightSquareBracketKeyword_6() | return cRightSquareBracketKeyword_7; | Keyword | Keyword getRightSquareBracketKeyword_7() |
||
rvonmassow$xdoc | return cSection3Keyword_0_1; | Keyword | Keyword getSection3Keyword_0_1() | return cSection3Keyword_0; | Keyword | Keyword getSection3Keyword_0() |
||
rvonmassow$xdoc | return cSection4Keyword_0_1; | Keyword | Keyword getSection4Keyword_0_1() | return cSection4Keyword_0; | Keyword | Keyword getSection4Keyword_0() |
||
rvonmassow$xdoc | return cSectionKeyword_0_1; | Keyword | Keyword getSectionKeyword_0_1() | return cSectionKeyword_0; | Keyword | Keyword getSectionKeyword_0() |
||
rvonmassow$xdoc | return cStyleAssignment_9; | Assignment | Assignment getStyleAssignment_9() | return cStyleAssignment_12; | Assignment | Assignment getStyleAssignment_12() |
||
rvonmassow$xdoc | return cCaptionTextParserRuleCall_13_0; | RuleCall | RuleCall getCaptionTextParserRuleCall_13_0() | return cStyleTextParserRuleCall_12_0; | RuleCall | RuleCall getStyleTextParserRuleCall_12_0() |
||
rvonmassow$xdoc | return cSubsectionKeyword_0_1; | Keyword | Keyword getSubsectionKeyword_0_1() | return cSubsectionKeyword_0; | Keyword | Keyword getSubsectionKeyword_0() |
||
rvonmassow$xdoc | return cTextAssignment_5; | Assignment | Assignment getTextAssignment_5() | return cTextAssignment_7; | Assignment | Assignment getTextAssignment_7() |
||
rvonmassow$xdoc | return cTextTextParserRuleCall_5_0; | RuleCall | RuleCall getTextTextParserRuleCall_5_0() | return cTextTextParserRuleCall_7_0; | RuleCall | RuleCall getTextTextParserRuleCall_7_0() |
||
rvonmassow$xdoc | return cTitleAssignment_1; | Assignment | Assignment getTitleAssignment_1() | return cTitleAssignment_3; | Assignment | Assignment getTitleAssignment_3() |
||
rvonmassow$xdoc | return cTitleTextOrMarkupParserRuleCall_1_0; | RuleCall | RuleCall getTitleTextOrMarkupParserRuleCall_1_0() | return cTitleTextOrMarkupParserRuleCall_3_0; | RuleCall | RuleCall getTitleTextOrMarkupParserRuleCall_3_0() |
||
rvonmassow$xdoc | return cUrlAssignment_1; | Assignment | Assignment getUrlAssignment_1() | return cUrlAssignment_3; | Assignment | Assignment getUrlAssignment_3() |
||
rvonmassow$xdoc | return cUrlTextParserRuleCall_1_0; | RuleCall | RuleCall getUrlTextParserRuleCall_1_0() | return cUrlTextParserRuleCall_3_0; | RuleCall | RuleCall getUrlTextParserRuleCall_3_0() |
||
internetarchive$heritrix3 | // wait up to 3 seconds for stop
for(int i = 0; i < 10; i++) {
try {
Thread.sleep(300); | boolean | boolean teardown() | void | void reset() |
|||
nhydock$ff1-battle-system | int lvl | return 2; | int | int getInt(int lvl) | int lvl | return 2; | int | int getEvd(int lvl) |
vainolo$object-process-programming | OPPObjectInstance value | if (compositeValues.size() > 0) {
lastKey = compositeValues.lastKey();
compositeValues.put(newKey, value);
compositeKeyToIndexMapping.put(UUID.randomUUID().toString(), newKey);
public void setPart(String name, OPPObjectInstance value) {
checkTypeForCompositeOnlyOperations();
if (compositeKeyToIndexMapping.containsKey(name)) {
compositeValues.remove(compositeKeyToIndexMapping.get(name));
compositeKeyToIndexMapping.remove(name);
int lastKey = 0;
if (compositeValues.size() > 0) {
lastKey = compositeValues.lastKey(); | void | void addLastPart(OPPObjectInstance value) | OPPObjectInstance value | checkTypeForCollectionOnlyOperations();
if(collectionValues.size() > 0) {
lastKey = collectionValues.lastKey();
collectionValues.put(newKey, value);
collectionNameToIndexMapping.put(UUID.randomUUID().toString(), newKey);
return newKey;
public void putCollectionElement(String name, OPPObjectInstance value) {
checkTypeForCollectionOnlyOperations();
if(collectionNameToIndexMapping.containsKey(name)) {
collectionValues.remove(collectionNameToIndexMapping.get(name));
collectionNameToIndexMapping.remove(name);
int index = appendCollectionElement(value);
collectionNameToIndexMapping.inverse().remove(index);
collectionNameToIndexMapping.put(name, index);
public void putCollectionElementAtIndex(int index, OPPObjectInstance value) {
checkTypeForCollectionOnlyOperations();
checkNotNull(value, "Cannot insert a null element to a collection.");
if(collectionValues.containsKey(index)) {
collectionValues.remove(index);
collectionNameToIndexMapping.inverse().remove(index); | int | int appendCollectionElement(OPPObjectInstance value) |
vainolo$object-process-programming | String key | checkTypeForCompositeOnlyOperations();
checkState((key != null) && (!"".equals(key)), "Key cannot be null or empty.");
return compositeValues.get(compositeKeyToIndexMapping.get(key)); | OPPObjectInstance | OPPObjectInstance getPart(String key) | String name | checkTypeForCollectionOnlyOperations();
checkState((name != null) && !("".equals(name)), "Named location of element must not be null or empty.");
checkState(collectionNameToIndexMapping.containsKey(name), "Collection does contain a value at index %s.", name);
return collectionValues.get(collectionNameToIndexMapping.get(name));
public OPPObjectInstance getCollectionElementAtIndex(int index) {
checkTypeForCollectionOnlyOperations();
return collectionValues.get(index);
public OPPObjectInstance getCollectionFirstElement() {
checkTypeForCollectionOnlyOperations();
return collectionValues.get(collectionValues.firstKey());
public OPPObjectInstance getLastCollectionElement() {
checkTypeForCollectionOnlyOperations();
return collectionValues.get(collectionValues.lastKey());
public Collection<OPPObjectInstance> getCollectionAllElements() {
checkTypeForCollectionOnlyOperations();
return Collections.unmodifiableCollection(collectionValues.values());
public Set<String> getCollectionAllIndexes() {
checkTypeForCollectionOnlyOperations();
return Collections.unmodifiableSet(collectionNameToIndexMapping.keySet());
if(InstanceType.STRING.equals(type) || InstanceType.NUMERICAL.equals(type))
else if(InstanceType.COMPOSITE.equals(type)) {
for(String partName : parts.keySet()) {
ret.append(partName + ":" + parts.get(partName) + ","); | OPPObjectInstance | OPPObjectInstance getCollectionElement(String name) |
pgroth$hbase-rdf | throws IOException {//we expect the pattern in the order SPOC
retrievalInit();
long start = System.currentTimeMillis();
byte[] startKey = buildRangeScanKeyFromQuad(quad);
long keyBuildOverhead = System.currentTimeMillis()-start;
long startSearch = System.currentTimeMillis();
ArrayList<Get> batchIdGets = doRangeScan(startKey);
start = System.currentTimeMillis();
Result[] id2StringResults = doBatchId2String(batchIdGets);
System.out.println("Search time: "+searchTime+"; Id2StringOverhead: "+id2StringOverhead+"; String2IdOverhead: "
+string2IdOverhead+"; KeyBuildOverhead: "+keyBuildOverhead);
updateId2ValueMap(id2StringResults);
return buildSPOCOrderResults();
System.err.println("Bound variable numerical not in expected range: "+e.getMessage());
return null; | void | void buildPattern2TableHashMap() | throws IOException {//we expect the pattern in the order SPOC
id2ValueMap.clear();
quadResults.clear();
boundElements.clear();
id2StringOverhead = 0;
byte[] startKey = buildKey(quad);
if (startKey == null) {
return new ArrayList<ArrayList<Value>>(); | void | void buildHashMap() |
||
d3scomp$jdeeco | TimeTriggerImpl timeTrigger = new TimeTriggerImpl();
return timeTrigger; | TimeTrigger | TimeTrigger createTimeTrigger() | PeriodicTriggerImpl periodicTrigger = new PeriodicTriggerImpl();
return periodicTrigger; | PeriodicTrigger | PeriodicTrigger createPeriodicTrigger() |
||
pentaho$modeler | return availableTables;
private void fireTablesChanged() {
firePropertyChange("availableTables", null, this.availableTables); //$NON-NLS-1$
// Add in new physical tables/columns
// see if the table is in the availableTables list
AvailableTable aTable = availableTables.findAvailableTable(table.getName(LocalizedString.DEFAULT_LOCALE));
if (aTable == null) {
// new table, make sure we add it
availableTables.add(new AvailableTable(table)); | AvailableItemCollection | AvailableItemCollection getAvailableTables() | return availableFields;
private void fireFieldsChanged() {
firePropertyChange("availableFields", null, this.availableFields); //$NON-NLS-1$
// Add in new physical columns
for(IPhysicalColumn column : table.getPhysicalColumns()) {
boolean exists = false;
inner:
for(AvailableField field : this.availableFields) {
if (field.isSameUnderlyingPhysicalColumn(column)) {
exists = true;
break inner; | AvailableFieldCollection | AvailableFieldCollection getAvailableFields() |
||
wocommunity$wonder | return false; | boolean | boolean synchronizesVariablesWithBindings() | return false; | boolean | boolean synchronizesBindingsWithVariables() |
||
nysenate$openlegislation | String baseBillPrintNo | this.baseBillPrintNo = baseBillPrintNo; | void | void setBaseBillPrintNo(String baseBillPrintNo) | String oid | this.oid = oid;
/**
* @return - The date of the action.
*/
public Date getDate() {
return date; | void | void setOid(String oid) |