nus-yam/ex-repair huggingface dataset:
Program: 81648
Project: 81648
Buggy source:
/** 
 * Returns the name of the   {@code ComputeScriptBase} script.  By default,returns  {@code "com/google/gwt/core/ext/linker/impl/computeScriptBase.js"}.
 * @param context a LinkerContext
 */
protected String getJsComputeScriptBase(LinkerContext context){
  return "String_Node_Str";
}

Fixed version (ground truth):
/** 
 * Returns the name of the   {@code ComputeScriptBase} script.  By default,returns  {@code "com/google/gwt/core/ext/linker/impl/computeScriptBase.js"}.
 * @param context a LinkerContext
 */
protected String getJsComputeScriptBase(LinkerContext context){
  return getStringConfigurationProperty(context,"String_Node_Str","String_Node_Str");
}
Program: 81649
Project: 81649
Buggy source:
/** 
 * Verify that the given widget is not statically positioned on the page (relative to the document window), unless the widget is in fact directly attached to the document BODY. Note that the current use of this method is not comprehensive, since we can only verify the offsetParent if both parent (AbsolutePanel) and child widget are both visible and attached to the DOM when this test is executed.
 * @param child the widget whose position and placement should be tested
 */
private void verifyPositionNotStatic(Widget child){
  if (GWT.isProdMode()) {
    return;
  }
  if (child.getElement().getOffsetParent() == null) {
    return;
  }
  if (child.getElement().getOffsetParent() == getElement()) {
    return;
  }
  if ("String_Node_Str".equals(getElement().getNodeName().toLowerCase())) {
    return;
  }
  String className=getClass().getName();
  GWT.log("String_Node_Str" + className + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str",new IllegalStateException(className + "String_Node_Str"));
}

Fixed version (ground truth):
/** 
 * Verify that the given widget is not statically positioned on the page (relative to the document window), unless the widget is in fact directly attached to the document BODY. Note that the current use of this method is not comprehensive, since we can only verify the offsetParent if both parent (AbsolutePanel) and child widget are both visible and attached to the DOM when this test is executed.
 * @param child the widget whose position and placement should be tested
 */
private void verifyPositionNotStatic(Widget child){
  if (GWT.isProdMode()) {
    return;
  }
  if (!isAttached()) {
    return;
  }
  if (child.getElement().getOffsetParent() == null) {
    return;
  }
  if (child.getElement().getOffsetParent() == getElement()) {
    return;
  }
  if ("String_Node_Str".equals(getElement().getNodeName().toLowerCase())) {
    return;
  }
  String className=getClass().getName();
  GWT.log("String_Node_Str" + className + "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str"+ "String_Node_Str",new IllegalStateException(className + "String_Node_Str"));
}
Program: 81651
Project: 81651
Buggy source:
/** 
 * Compute deltas for each entity seen by the context.
 */
private List<OperationMessage> makePayloadOperations(){
  List<OperationMessage> operations=new ArrayList<OperationMessage>();
  for (  AutoBean<? extends BaseProxy> currentView : state.editedProxies.values()) {
    OperationMessage operation=makeOperationMessage(BaseProxyCategory.stableId(currentView),currentView,true).as();
    operations.add(operation);
  }
  return operations;
}

Fixed version (ground truth):
/** 
 * Compute deltas for each entity seen by the context. <p> TODO(t.broyer): reduce payload size by only sending proxies that are directly referenced by invocation arguments or by other proxies. For backwards-compatibility with no-op requests and operation-only requests, only do so when there's at least one invocation (or we can choose to break backwards compatibility for those edge-cases).
 */
private List<OperationMessage> makePayloadOperations(){
}
Program: 81652
Project: 81652
Buggy source:
public boolean isChanged(){
  for (  AutoBean<? extends BaseProxy> bean : state.editedProxies.values()) {
    AutoBean<?> previous=bean.getTag(Constants.PARENT_OBJECT);
    if (previous == null) {
      Class<?> proxyClass=stableId(bean).getProxyClass();
      previous=getAutoBeanFactory().create(proxyClass);
    }
    if (!AutoBeanUtils.diff(previous,bean).isEmpty()) {
      return true;
    }
  }
  return false;
}

Fixed version (ground truth):
public boolean isChanged(){
}
Program: 81653
Project: 81653
Buggy source:
/** 
 * Sniff all return values and ensure that if the current bean is a mutable EntityProxy, that its return values are mutable.
 */
public static <T>T __intercept(AutoBean<?> bean,T returnValue){
  AbstractRequestContext context=requestContext(bean);
  if (context == null || context.isLocked()) {
    return returnValue;
  }
  if (returnValue instanceof BaseProxy) {
    @SuppressWarnings("String_Node_Str") T toReturn=(T)context.editProxy((BaseProxy)returnValue);
    return toReturn;
  }
  if (returnValue instanceof Poser<?>) {
    ((Poser<?>)returnValue).setFrozen(false);
  }
  AutoBean<T> otherBean=AutoBeanUtils.getAutoBean(returnValue);
  if (otherBean != null) {
    otherBean.setTag(REQUEST_CONTEXT_STATE,bean.getTag(REQUEST_CONTEXT_STATE));
  }
  return returnValue;
}

Fixed version (ground truth):
/** 
 * Sniff all return values and ensure that if the current bean is a mutable EntityProxy, that its return values are mutable.
 */
public static <T>T __intercept(AutoBean<?> bean,T returnValue){
  AbstractRequestContext context=requestContext(bean);
  if (context == null || context.isLocked() || context.isDiffing()) {
    return returnValue;
  }
  if (returnValue instanceof BaseProxy) {
    @SuppressWarnings("String_Node_Str") T toReturn=(T)context.editProxy((BaseProxy)returnValue);
    return toReturn;
  }
  if (returnValue instanceof Poser<?>) {
    ((Poser<?>)returnValue).setFrozen(false);
  }
  AutoBean<T> otherBean=AutoBeanUtils.getAutoBean(returnValue);
  if (otherBean != null) {
    otherBean.setTag(REQUEST_CONTEXT_STATE,bean.getTag(REQUEST_CONTEXT_STATE));
  }
  return returnValue;
}
Program: 81654
Project: 81654
Buggy source:
/** 
 * EntityProxies are equal if they are from the same RequestContext and their stableIds are equal.
 */
public static boolean equals(AutoBean<? extends EntityProxy> bean,Object o){
  if (!(o instanceof EntityProxy)) {
    return false;
  }
  AutoBean<EntityProxy> other=AutoBeanUtils.getAutoBean((EntityProxy)o);
  if (other == null) {
    return false;
  }
  return stableId(bean).equals(stableId(other)) && requestContext(bean) == requestContext(other);
}

Fixed version (ground truth):
/** 
 * EntityProxies are equal if they are from the same RequestContext and their stableIds are equal.
 */
public static boolean equals(AutoBean<? extends EntityProxy> bean,Object o){
  if (!(o instanceof EntityProxy)) {
    return false;
  }
  AutoBean<EntityProxy> other=AutoBeanUtils.getAutoBean((EntityProxy)o);
  if (other == null) {
    return false;
  }
  return stableId(bean).equals(stableId(other)) && nonDiffingRequestContext(bean) == nonDiffingRequestContext(other);
}
Program: 81655
Project: 81655
Buggy source:
public static Test suite(){
  GWTTestSuite suite=new GWTTestSuite("String_Node_Str");
  suite.addTestSuite(RequestBatcherTest.class);
  suite.addTestSuite(BoxesAndPrimitivesTest.class);
  suite.addTestSuite(ComplexKeysTest.class);
  suite.addTestSuite(EditorTest.class);
  suite.addTestSuite(FanoutReceiverTest.class);
  suite.addTestSuite(FindServiceTest.class);
  suite.addTestSuite(LocatorTest.class);
  suite.addTestSuite(RequestFactoryTest.class);
  suite.addTestSuite(RequestFactoryChainedContextTest.class);
  suite.addTestSuite(RequestFactoryExceptionHandlerTest.class);
  suite.addTestSuite(RequestFactoryExceptionPropagationTest.class);
  suite.addTestSuite(RequestFactoryPolymorphicTest.class);
  suite.addTestSuite(RequestFactoryUnicodeEscapingTest.class);
  suite.addTestSuite(ServiceInheritanceTest.class);
  return suite;
}

Fixed version (ground truth):
public static Test suite(){
  GWTTestSuite suite=new GWTTestSuite("String_Node_Str");
  suite.addTestSuite(RequestBatcherTest.class);
  suite.addTestSuite(BoxesAndPrimitivesTest.class);
  suite.addTestSuite(ComplexKeysTest.class);
  suite.addTestSuite(EditorTest.class);
  suite.addTestSuite(FanoutReceiverTest.class);
  suite.addTestSuite(FindServiceTest.class);
  suite.addTestSuite(LocatorTest.class);
  suite.addTestSuite(RequestFactoryTest.class);
  suite.addTestSuite(RequestFactoryChainedContextTest.class);
  suite.addTestSuite(RequestFactoryExceptionHandlerTest.class);
  suite.addTestSuite(RequestFactoryExceptionPropagationTest.class);
  suite.addTestSuite(RequestFactoryPolymorphicTest.class);
  suite.addTestSuite(RequestFactoryUnicodeEscapingTest.class);
  suite.addTestSuite(RequestPayloadTest.class);
  suite.addTestSuite(ServiceInheritanceTest.class);
  return suite;
}
Program: 81656
Project: 81656
Buggy source:
public native void selectRemoveOption(SelectElement select,int index);

Fixed version (ground truth):
@Override public native void selectRemoveOption(SelectElement select,int index);
Program: 81657
Project: 81657
Buggy source:
public int getScrollLeft(Element elem){
  int left=getScrollLeftImpl(elem);
  if (isRTL(elem)) {
    left=-left;
  }
  return left;
}

Fixed version (ground truth):
@Override public int getScrollLeft(Element elem){
  int left=getScrollLeftImpl(elem);
  if (isRTL(elem)) {
    left=-left;
  }
  return left;
}
Program: 81658
Project: 81658
Buggy source:
/** 
 * Get the z-index css property.
 */
public final String getZIndex(){
  return getProperty(STYLE_Z_INDEX);
}

Fixed version (ground truth):
/** 
 * Get the z-index css property.
 */
public final String getZIndex(){
  return DOMImpl.impl.getNumericStyleProperty(this,STYLE_Z_INDEX);
}
Program: 81659
Project: 81659
Buggy source:
/** 
 * Gets the value of a named property.
 */
private native String getPropertyImpl(String name);

Fixed version (ground truth):
/** 
 * Gets the value of a named property.
 */
private String getPropertyImpl(String name){
  return DOMImpl.impl.getStyleProperty(this,name);
}
Program: 81660
Project: 81660
Buggy source:
/** 
 * Returns true if the given object should be selected by default. Subclasses implement this method in order to define the default selection behavior.
 * @param object an object of this {@link SelectionModel}'s type
 * @return true if the object should be selected by default
 */
public abstract boolean isDefaultSelected(T object);

Fixed version (ground truth):
/** 
 * Returns true if the given item should be selected by default. Subclasses implement this method in order to define the default selection behavior.
 * @param item an object of this {@link SelectionModel}'s type
 * @return true if the item should be selected by default
 */
public abstract boolean isDefaultSelected(T item);
Program: 81661
Project: 81661
Buggy source:
/** 
 * Sets an object's selection state. If the object is currently marked as an exception, and the new selected state differs from the previous selected state, the object is removed from the list of exceptions. Otherwise, the object is added to the list of exceptions with the given selected state.
 */
public void setSelected(T object,boolean selected){
  selectionChanges.put(object,selected);
  scheduleSelectionChangeEvent();
}

Fixed version (ground truth):
/** 
 * Sets an item's selection state. If the item is currently marked as an exception, and the new selected state differs from the previous selected state, the object is removed from the list of exceptions. Otherwise, the object is added to the list of exceptions with the given selected state.
 */
@Override public void setSelected(T item,boolean selected){
  selectionChanges.put(getKey(item),new SelectionChange<T>(item,selected));
  scheduleSelectionChangeEvent();
}
Program: 81662
Project: 81662
Buggy source:
/** 
 * If the given object is marked as an exception, return the exception value. Otherwise, return the value of isDefaultSelected for the given object.
 */
public boolean isSelected(T object){
  resolveChanges();
  Object key=getKey(object);
  Boolean exception=exceptions.get(key);
  if (exception != null) {
    return exception.booleanValue();
  }
  return isDefaultSelected(object);
}

Fixed version (ground truth):
/** 
 * If the given item is marked as an exception, return the exception value. Otherwise, return the value of isDefaultSelected for the given item.
 */
@Override public boolean isSelected(T item){
  resolveChanges();
  Object key=getKey(item);
  Boolean exception=exceptions.get(key);
  if (exception != null) {
    return exception.booleanValue();
  }
  return isDefaultSelected(item);
}
Program: 81663
Project: 81663
Buggy source:
private void resolveChanges(){
  boolean changed=false;
  for (  Map.Entry<T,Boolean> entry : selectionChanges.entrySet()) {
    T object=entry.getKey();
    boolean selected=entry.getValue();
    boolean defaultSelected=isDefaultSelected(object);
    Object key=getKey(object);
    Boolean previousException=exceptions.get(key);
    if (defaultSelected == selected) {
      if (previousException != null) {
        exceptions.remove(key);
        changed=true;
      }
    }
 else {
      if (previousException != Boolean.valueOf(selected)) {
        exceptions.put(key,selected);
        changed=true;
      }
    }
  }
  selectionChanges.clear();
  if (changed) {
    SelectionChangeEvent.fire(this);
  }
}

Fixed version (ground truth):
private void resolveChanges(){
  boolean changed=false;
  for (  Map.Entry<Object,SelectionChange<T>> entry : selectionChanges.entrySet()) {
    Object key=entry.getKey();
    SelectionChange<T> value=entry.getValue();
    T item=value.getItem();
    boolean selected=value.isSelected();
    boolean defaultSelected=isDefaultSelected(item);
    Boolean previousException=exceptions.get(key);
    if (defaultSelected == selected) {
      if (previousException != null) {
        exceptions.remove(key);
        changed=true;
      }
    }
 else {
      if (previousException != Boolean.valueOf(selected)) {
        exceptions.put(key,selected);
        changed=true;
      }
    }
  }
  selectionChanges.clear();
  if (changed) {
    SelectionChangeEvent.fire(this);
  }
}
Program: 81664
Project: 81664
Buggy source:
/** 
 * Constructs a DefaultSelectionModel with the given key provider.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the recordobject should act as its own key
 */
public DefaultSelectionModel(ProvidesKey<T> keyProvider){
  super(keyProvider);
}

Fixed version (ground truth):
/** 
 * Constructs a DefaultSelectionModel with the given key provider.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the itemshould act as its own key
 */
public DefaultSelectionModel(ProvidesKey<T> keyProvider){
  super(keyProvider);
}
Program: 81665
Project: 81665
Buggy source:
@Override public void setSelected(T object,boolean selected){
  selectionChanges.put(object,selected);
  scheduleSelectionChangeEvent();
}

Fixed version (ground truth):
@Override public void setSelected(T item,boolean selected){
  selectionChanges.put(getKey(item),new SelectionChange<T>(item,selected));
  scheduleSelectionChangeEvent();
}
Program: 81666
Project: 81666
Buggy source:
/** 
 * Construct a MultiSelectionModel with the given key provider and implementations of selectedSet and selectionChanges. Different implementations allow for enforcing order on selection.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the recordobject should act as its own key
 * @param selectedSet an instance of Map
 * @param selectionChanges an instance of Map
 */
MultiSelectionModel(ProvidesKey<T> keyProvider,Map<Object,T> selectedSet,Map<T,Boolean> selectionChanges){
  super(keyProvider);
  this.selectedSet=selectedSet;
  this.selectionChanges=selectionChanges;
}

Fixed version (ground truth):
/** 
 * Construct a MultiSelectionModel with the given key provider and implementations of selectedSet and selectionChanges. Different implementations allow for enforcing order on selection.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the itemshould act as its own key
 * @param selectedSet an instance of Map
 * @param selectionChanges an instance of Map
 */
MultiSelectionModel(ProvidesKey<T> keyProvider,Map<Object,T> selectedSet,Map<Object,SelectionChange<T>> selectionChanges){
  super(keyProvider);
  this.selectedSet=selectedSet;
  this.selectionChanges=selectionChanges;
}
Program: 81667
Project: 81667
Buggy source:
/** 
 * Deselect all selected values.
 */
public void clear(){
  selectionChanges.clear();
  for (  T value : selectedSet.values()) {
    selectionChanges.put(value,false);
  }
  scheduleSelectionChangeEvent();
}

Fixed version (ground truth):
/** 
 * Deselect all selected values.
 */
public void clear(){
  selectionChanges.clear();
  for (  T value : selectedSet.values()) {
    selectionChanges.put(getKey(value),new SelectionChange<T>(value,false));
  }
  scheduleSelectionChangeEvent();
}
Program: 81668
Project: 81668
Buggy source:
@Override public boolean isSelected(T object){
  resolveChanges();
  return selectedSet.containsKey(getKey(object));
}

Fixed version (ground truth):
@Override public boolean isSelected(T item){
  resolveChanges();
  return selectedSet.containsKey(getKey(item));
}
Program: 81669
Project: 81669
Buggy source:
void resolveChanges(){
  if (selectionChanges.isEmpty()) {
    return;
  }
  boolean changed=false;
  for (  Map.Entry<T,Boolean> entry : selectionChanges.entrySet()) {
    T object=entry.getKey();
    boolean selected=entry.getValue();
    Object key=getKey(object);
    T oldValue=selectedSet.get(key);
    if (selected) {
      selectedSet.put(key,object);
      Object oldKey=getKey(oldValue);
      if (!changed) {
        changed=(oldKey == null) ? (key != null) : !oldKey.equals(key);
      }
    }
 else {
      if (oldValue != null) {
        selectedSet.remove(key);
        changed=true;
      }
    }
  }
  selectionChanges.clear();
  if (changed) {
    SelectionChangeEvent.fire(this);
  }
}

Fixed version (ground truth):
void resolveChanges(){
  if (selectionChanges.isEmpty()) {
    return;
  }
  boolean changed=false;
  for (  Map.Entry<Object,SelectionChange<T>> entry : selectionChanges.entrySet()) {
    Object key=entry.getKey();
    SelectionChange<T> value=entry.getValue();
    boolean selected=value.isSelected;
    T oldValue=selectedSet.get(key);
    if (selected) {
      selectedSet.put(key,value.item);
      Object oldKey=getKey(oldValue);
      if (!changed) {
        changed=(oldKey == null) ? (key != null) : !oldKey.equals(key);
      }
    }
 else {
      if (oldValue != null) {
        selectedSet.remove(key);
        changed=true;
      }
    }
  }
  selectionChanges.clear();
  if (changed) {
    SelectionChangeEvent.fire(this);
  }
}
Program: 81670
Project: 81670
Buggy source:
/** 
 * Get the set of selected items as a copy.
 * @return the set of selected items
 */
public Set<T> getSelectedSet(){
  resolveChanges();
  return new HashSet<T>(selectedSet.values());
}

Fixed version (ground truth):
/** 
 * Get the set of selected items as a copy. If multiple selected items share the same key, only the last selected item is included in the set.
 * @return the set of selected items
 */
public Set<T> getSelectedSet(){
  resolveChanges();
  return new HashSet<T>(selectedSet.values());
}
Program: 81671
Project: 81671
Buggy source:
/** 
 * Gets the object that was last selected.
 * @return the last selected object
 */
public T getLastSelectedObject(){
  return lastSelection;
}

Fixed version (ground truth):
/** 
 * Gets the item that was last selected.
 * @return the last selected item
 */
public T getLastSelectedObject(){
  return lastSelection;
}
Program: 81672
Project: 81672
Buggy source:
public void setSelected(T object,boolean selected){
  Object key=getKey(object);
  if (selected) {
    lastSelection=object;
    lastKey=key;
  }
 else   if (lastKey != null && lastKey.equals(key)) {
    lastSelection=null;
    lastKey=null;
  }
  scheduleSelectionChangeEvent();
}

Fixed version (ground truth):
@Override public void setSelected(T item,boolean selected){
  Object key=getKey(item);
  if (selected) {
    lastSelection=item;
    lastKey=key;
  }
 else   if (lastKey != null && lastKey.equals(key)) {
    lastSelection=null;
    lastKey=null;
  }
  scheduleSelectionChangeEvent();
}
Program: 81673
Project: 81673
Buggy source:
/** 
 * Constructs a NoSelectionModel with the given key provider.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the recordobject should act as its own key
 */
public NoSelectionModel(ProvidesKey<T> keyProvider){
  super(keyProvider);
}

Fixed version (ground truth):
/** 
 * Constructs a NoSelectionModel with the given key provider.
 * @param keyProvider an instance of ProvidesKey<T>, or null if the itemshould act as its own key
 */
public NoSelectionModel(ProvidesKey<T> keyProvider){
  super(keyProvider);
}
Program: 81674
Project: 81674
Buggy source:
public boolean isSelected(T object){
  return false;
}

Fixed version (ground truth):
@Override public boolean isSelected(T item){
  return false;
}
Program: 81675
Project: 81675
Buggy source:
public List<SimpleValue> getSimpleValues(){
  return Arrays.asList(simpleValueField);
}

Fixed version (ground truth):
public List<SimpleValue> getSimpleValues(){
  return simpleValueField;
}
Program: 81676
Project: 81676
Buggy source:
public SimpleValue getSimpleValue(){
  return simpleValueField;
}

Fixed version (ground truth):
public SimpleValue getSimpleValue(){
  return simpleValueField != null && simpleValueField.size() > 0 ? simpleValueField.get(0) : null;
}
Program: 81677
Project: 81677
Buggy source:
public void setSimpleValue(SimpleValue simpleValueField){
  this.simpleValueField=simpleValueField;
}

Fixed version (ground truth):
public void setSimpleValue(SimpleValue simpleValueField){
  this.simpleValueField=Collections.singletonList(simpleValueField);
}
Program: 81678
Project: 81678
Buggy source:
public void setSimpleValues(List<SimpleValue> simpleValueField){
  this.simpleValueField=simpleValueField.get(0);
}

Fixed version (ground truth):
public void setSimpleValues(List<SimpleValue> simpleValueField){
  this.simpleValueField=simpleValueField;
}
Program: 81679
Project: 81679
Buggy source:
/** 
 * Does all of the work necessary to do the dispatch to the appropriate variant of   {@link JavaScriptHost#invokeNativeVoid JavaScriptHost.invokeNative*}. And example output: <pre> return JavaScriptHost.invokeNativeInt( "@com.google.gwt.sample.hello.client.Hello::echo(I)", null, new Class[] {int.class,}, new Object[] {x,}); </pre>
 */
@Override public void visitCode(){
  super.visitCode();
  String jsniTarget=getJsniSignature(name,descriptor);
  visitLdcInsn(jsniTarget);
  if (isStatic) {
    visitInsn(Opcodes.ACONST_NULL);
  }
 else {
    loadThis();
    visitMethodInsn(Opcodes.INVOKESTATIC,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
  loadClassArray();
  loadArgArray();
  Type returnType=Type.getReturnType(descriptor);
  JavaScriptHostInfo info=JavaScriptHostInfo.get(returnType.getSort());
  invokeStatic(JavaScriptHostInfo.TYPE,info.getMethod());
  if (info.requiresCast()) {
    checkCast(returnType);
  }
  returnValue();
}

Fixed version (ground truth):
/** 
 * Does all of the work necessary to do the dispatch to the appropriate variant of   {@link JavaScriptHost#invokeNativeVoid JavaScriptHost.invokeNative*}. And example output: <pre> return JavaScriptHost.invokeNativeInt( "@com.google.gwt.sample.hello.client.Hello::echo(I)", null, new Class[] {int.class,}, new Object[] {x,}); </pre>
 */
@Override public void visitCode(){
  super.visitCode();
  String jsniTarget=getJsniSignature(name,descriptor);
  visitLdcInsn(jsniTarget);
  if (isStatic) {
    visitInsn(Opcodes.ACONST_NULL);
  }
 else {
    loadThis();
  }
  loadClassArray();
  loadArgArray();
  Type returnType=Type.getReturnType(descriptor);
  JavaScriptHostInfo info=JavaScriptHostInfo.get(returnType.getSort());
  invokeStatic(JavaScriptHostInfo.TYPE,info.getMethod());
  if (info.requiresCast()) {
    checkCast(returnType);
  }
  returnValue();
}
Program: 81680
Project: 81680
Buggy source:
/** 
 * Does all of the work necessary to do the dispatch to the appropriate variant of   {@link JavaScriptHost#invokeNativeVoid JavaScriptHost.invokeNative*}. And example output: <pre> return JavaScriptHost.invokeNativeInt( "@com.google.gwt.sample.hello.client.Hello::echo(I)", null, new Class[] {int.class,}, new Object[] {x,}); </pre>
 */
@Override public void visitCode(){
  super.visitCode();
  String jsniTarget=getJsniSignature(name,descriptor);
  visitLdcInsn(jsniTarget);
  if (isStatic) {
    visitInsn(Opcodes.ACONST_NULL);
  }
 else {
    loadThis();
  }
  loadClassArray();
  loadArgArray();
  Type returnType=Type.getReturnType(descriptor);
  JavaScriptHostInfo info=JavaScriptHostInfo.get(returnType.getSort());
  invokeStatic(JavaScriptHostInfo.TYPE,info.getMethod());
  if (info.requiresCast()) {
    checkCast(returnType);
  }
  returnValue();
}

Fixed version (ground truth):
/** 
 * Does all of the work necessary to do the dispatch to the appropriate variant of   {@link JavaScriptHost#invokeNativeVoid JavaScriptHost.invokeNative*}. And example output: <pre> return JavaScriptHost.invokeNativeInt( "@com.google.gwt.sample.hello.client.Hello::echo(I)", null, new Class[] {int.class,}, new Object[] {x,}); </pre>
 */
@Override public void visitCode(){
  super.visitCode();
  String jsniTarget=getJsniSignature(name,descriptor);
  visitLdcInsn(jsniTarget);
  if (isStatic) {
    visitInsn(Opcodes.ACONST_NULL);
  }
 else {
    loadThis();
    visitMethodInsn(Opcodes.INVOKESTATIC,"String_Node_Str","String_Node_Str","String_Node_Str");
  }
  loadClassArray();
  loadArgArray();
  Type returnType=Type.getReturnType(descriptor);
  JavaScriptHostInfo info=JavaScriptHostInfo.get(returnType.getSort());
  invokeStatic(JavaScriptHostInfo.TYPE,info.getMethod());
  if (info.requiresCast()) {
    checkCast(returnType);
  }
  returnValue();
}
Program: 81681
Project: 81681
Buggy source:
/** 
 * Creates a   {@link CellWidget} with the specified cell, initial value, keyprovider, using the specified element as the wrapper around the cell.
 * @param cell the cell to wrap
 * @param initialValue the initial value of the Cell
 * @param keyProvider the key provider used to get keys from values
 * @param elem the browser element to use
 */
protected CellWidget(Cell<C> cell,C initialValue,ProvidesKey<C> keyProvider,Element elem){
  this.cell=cell;
  this.keyProvider=keyProvider;
  setElement(elem);
  CellBasedWidgetImpl.get().sinkEvents(this,cell.getConsumedEvents());
  setValue(initialValue);
}

Fixed version (ground truth):
/** 
 * Creates a   {@link CellWidget} with the specified cell, initial value, keyprovider, using the specified element as the wrapper around the cell.
 * @param cell the cell to wrap
 * @param initialValue the initial value of the Cell
 * @param keyProvider the key provider used to get keys from values
 * @param elem the browser element to use
 */
protected CellWidget(Cell<C> cell,C initialValue,ProvidesKey<C> keyProvider,Element elem){
  this.cell=cell;
  this.keyProvider=keyProvider;
  setElement(elem);
  CellBasedWidgetImpl.get().sinkEvents(this,cell.getConsumedEvents());
  this.value=initialValue;
  redraw();
}
Program: 81682
Project: 81682
Buggy source:
public ProvidesKey<C> getKeyProvider(){
  return keyProvider;
}

Fixed version (ground truth):
@Override public ProvidesKey<C> getKeyProvider(){
  return keyProvider;
}
Program: 81683
Project: 81683
Buggy source:
public void update(C value){
  setValue(value,true,false);
}

Fixed version (ground truth):
@Override public void update(C value){
  setValue(value,true,false);
}
Program: 81684
Project: 81684
Buggy source:
public LeafValueEditor<C> asEditor(){
  if (editor == null) {
    editor=TakesValueEditor.of(this);
  }
  return editor;
}

Fixed version (ground truth):
@Override public LeafValueEditor<C> asEditor(){
  if (editor == null) {
    editor=TakesValueEditor.of(this);
  }
  return editor;
}
Program: 81685
Project: 81685
Buggy source:
public HandlerRegistration addValueChangeHandler(ValueChangeHandler<C> handler){
  return addHandler(handler,ValueChangeEvent.getType());
}

Fixed version (ground truth):
@Override public HandlerRegistration addValueChangeHandler(ValueChangeHandler<C> handler){
  return addHandler(handler,ValueChangeEvent.getType());
}
Program: 81686
Project: 81686
Buggy source:
public C getValue(){
  return value;
}

Fixed version (ground truth):
@Override public C getValue(){
  return value;
}
Program: 81687
Project: 81687
Buggy source:
public Object getKey(String item){
  return (item == null) ? null : item.substring(0,1);
}

Fixed version (ground truth):
@Override public Object getKey(String item){
  return (item == null) ? null : item.substring(0,1);
}
Program: 81688
Project: 81688
Buggy source:
public void onValueChange(ValueChangeEvent<C> event){
  assertFalse("String_Node_Str",onValueChangeCalled);
  onValueChangeCalled=true;
  lastValue=event.getValue();
}

Fixed version (ground truth):
@Override public void onValueChange(ValueChangeEvent<C> event){
  assertFalse("String_Node_Str",onValueChangeCalled);
  onValueChangeCalled=true;
  lastValue=event.getValue();
}
Program: 81689
Project: 81689
Buggy source:
public void testOnBrowserEventWithKeyProvider(){
  ProvidesKey<String> keyProvider=new ProvidesKey<String>(){
    public Object getKey(    String item){
      return (item == null) ? null : item.substring(0,1);
    }
  }
;
  CustomCell cell=new CustomCell();
  final CellWidget<String> cw=new CellWidget<String>(cell,"String_Node_Str",keyProvider);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals(keyProvider,cw.getKeyProvider());
  Event event=Document.get().createChangeEvent().cast();
  cw.onBrowserEvent(event);
  cell.assertLastEventKey("String_Node_Str");
  cell.assertLastEventValue("String_Node_Str");
  assertEquals("String_Node_Str",cw.getValue());
}

Fixed version (ground truth):
public void testOnBrowserEventWithKeyProvider(){
  ProvidesKey<String> keyProvider=new ProvidesKey<String>(){
    @Override public Object getKey(    String item){
      return (item == null) ? null : item.substring(0,1);
    }
  }
;
  CustomCell cell=new CustomCell();
  final CellWidget<String> cw=new CellWidget<String>(cell,"String_Node_Str",keyProvider);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals(keyProvider,cw.getKeyProvider());
  Event event=Document.get().createChangeEvent().cast();
  cw.onBrowserEvent(event);
  cell.assertLastEventKey("String_Node_Str");
  cell.assertLastEventValue("String_Node_Str");
  assertEquals("String_Node_Str",cw.getValue());
}
Program: 81690
Project: 81690
Buggy source:
public void testSetValue(){
  CustomCell cell=new CustomCell();
  CellWidget<String> cw=new CellWidget<String>(cell,"String_Node_Str");
  MockValueChangeHandler<String> handler=new MockValueChangeHandler<String>();
  cw.addValueChangeHandler(handler);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cw.setValue("String_Node_Str");
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  handler.assertOnValueChangeNotCalled();
  cw.setValue("String_Node_Str",true);
  handler.assertOnValueChangeNotCalled();
  cw.setValue("String_Node_Str",true);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  handler.assertLastValue("String_Node_Str");
  cw.setValue("String_Node_Str",true,false);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  handler.assertLastValue("String_Node_Str");
}

Fixed version (ground truth):
public void testSetValue(){
  CustomCell cell=new CustomCell();
  CellWidget<String> cw=new CellWidget<String>(cell,"String_Node_Str");
  MockValueChangeHandler<String> handler=new MockValueChangeHandler<String>();
  cw.addValueChangeHandler(handler);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cell.assertLastRenderedValue("String_Node_Str");
  cw.setValue("String_Node_Str");
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cell.assertLastRenderedValue("String_Node_Str");
  handler.assertOnValueChangeNotCalled();
  cw.setValue("String_Node_Str",true);
  handler.assertOnValueChangeNotCalled();
  cw.setValue("String_Node_Str",true);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cell.assertLastRenderedValue("String_Node_Str");
  handler.assertLastValue("String_Node_Str");
  cw.setValue("String_Node_Str",true,false);
  assertEquals("String_Node_Str",cw.getValue());
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  handler.assertLastValue("String_Node_Str");
}
Program: 81691
Project: 81691
Buggy source:
@Override public void render(com.google.gwt.cell.client.Cell.Context context,String value,SafeHtmlBuilder sb){
  sb.appendHtmlConstant("String_Node_Str").appendEscaped(value).appendHtmlConstant("String_Node_Str");
  sb.appendHtmlConstant("String_Node_Str");
}

Fixed version (ground truth):
@Override public void render(com.google.gwt.cell.client.Cell.Context context,String value,SafeHtmlBuilder sb){
  if (value != null) {
    sb.appendHtmlConstant("String_Node_Str").appendEscaped(value).appendHtmlConstant("String_Node_Str");
    sb.appendHtmlConstant("String_Node_Str");
  }
}
Program: 81692
Project: 81692
Buggy source:
/** 
 * Test that a cell that defines an HTML elment can be rendered.
 */
public void testRedrawWithMultipleInnerChildren(){
  Cell<String> cell=new AbstractCell<String>(){
    @Override public void render(    com.google.gwt.cell.client.Cell.Context context,    String value,    SafeHtmlBuilder sb){
      sb.appendHtmlConstant("String_Node_Str").appendEscaped(value).appendHtmlConstant("String_Node_Str");
      sb.appendHtmlConstant("String_Node_Str");
    }
  }
;
  CellWidget<String> cw=new CellWidget<String>(cell);
  cw.setValue("String_Node_Str",false,false);
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cw.redraw();
  assertTrue(cw.getElement().getInnerText().contains("String_Node_Str"));
  Style firstChildStyle=cw.getElement().getFirstChildElement().getStyle();
  assertFalse(firstChildStyle.getHeight().matches("String_Node_Str"));
  assertFalse(firstChildStyle.getWidth().matches("String_Node_Str"));
}

Fixed version (ground truth):
/** 
 * Test that a cell that defines an HTML elment can be rendered.
 */
public void testRedrawWithMultipleInnerChildren(){
  Cell<String> cell=new AbstractCell<String>(){
    @Override public void render(    com.google.gwt.cell.client.Cell.Context context,    String value,    SafeHtmlBuilder sb){
      if (value != null) {
        sb.appendHtmlConstant("String_Node_Str").appendEscaped(value).appendHtmlConstant("String_Node_Str");
        sb.appendHtmlConstant("String_Node_Str");
      }
    }
  }
;
  CellWidget<String> cw=new CellWidget<String>(cell);
  cw.setValue("String_Node_Str",false,false);
  assertEquals("String_Node_Str",cw.getElement().getInnerText());
  cw.redraw();
  assertTrue(cw.getElement().getInnerText().contains("String_Node_Str"));
  Style firstChildStyle=cw.getElement().getFirstChildElement().getStyle();
  assertFalse(firstChildStyle.getHeight().matches("String_Node_Str"));
  assertFalse(firstChildStyle.getWidth().matches("String_Node_Str"));
}
Program: 81693
Project: 81693
Buggy source:
public static void recordSourceMap(List<Map<Range,SourceInfo>> sourceInfoMaps,List<SyntheticArtifact> artifacts,int permutationId){
  ByteArrayOutputStream baos=new ByteArrayOutputStream();
  SourceMapGenerator generator=SourceMapGeneratorFactory.getInstance(SourceMapFormat.V3);
  OutputStreamWriter out=new OutputStreamWriter(baos);
  int fragment=0;
  if (!sourceInfoMaps.isEmpty()) {
    for (    Map<Range,SourceInfo> sourceMap : sourceInfoMaps) {
      generator.reset();
      Set<Range> rangeSet=sourceMap.keySet();
      Range[] ranges=rangeSet.toArray(new Range[rangeSet.size()]);
      Arrays.sort(ranges,Range.DEPENDENCY_ORDER_COMPARATOR);
      for (      Range r : ranges) {
        SourceInfo si=sourceMap.get(r);
        if (si.getFileName() == null || si.getStartLine() < 0) {
          continue;
        }
        if (r.getStartLine() == 0 || r.getEndLine() == 0) {
          continue;
        }
        generator.addMapping(si.getFileName(),null,new FilePosition(si.getStartLine(),0),new FilePosition(r.getStartLine(),r.getStartColumn()),new FilePosition(r.getEndLine(),r.getEndColumn()));
      }
      try {
        baos.reset();
        generator.appendTo(out,"String_Node_Str" + fragment);
        out.flush();
        artifacts.add(new SymbolMapsLinker.SourceMapArtifact(permutationId,fragment,baos.toByteArray()));
        fragment++;
      }
 catch (      IOException e) {
        throw new InternalCompilerException(e.toString(),e);
      }
    }
  }
}

Fixed version (ground truth):
public static void recordSourceMap(List<Map<Range,SourceInfo>> sourceInfoMaps,List<SyntheticArtifact> artifacts,int permutationId){
  ByteArrayOutputStream baos=new ByteArrayOutputStream();
  SourceMapGenerator generator=SourceMapGeneratorFactory.getInstance(SourceMapFormat.V3);
  OutputStreamWriter out=new OutputStreamWriter(baos);
  int fragment=0;
  if (!sourceInfoMaps.isEmpty()) {
    for (    Map<Range,SourceInfo> sourceMap : sourceInfoMaps) {
      generator.reset();
      Set<Range> rangeSet=sourceMap.keySet();
      Range[] ranges=rangeSet.toArray(new Range[rangeSet.size()]);
      Arrays.sort(ranges,Range.DEPENDENCY_ORDER_COMPARATOR);
      for (      Range r : ranges) {
        SourceInfo si=sourceMap.get(r);
        if (si.getFileName() == null || si.getStartLine() < 0) {
          continue;
        }
        if (r.getStartLine() == 0 || r.getEndLine() == 0) {
          continue;
        }
        generator.addMapping(si.getFileName(),null,new FilePosition(si.getStartLine() - 1,0),new FilePosition(r.getStartLine(),r.getStartColumn()),new FilePosition(r.getEndLine(),r.getEndColumn()));
      }
      try {
        baos.reset();
        generator.appendTo(out,"String_Node_Str" + fragment);
        out.flush();
        artifacts.add(new SymbolMapsLinker.SourceMapArtifact(permutationId,fragment,baos.toByteArray()));
        fragment++;
      }
 catch (      IOException e) {
        throw new InternalCompilerException(e.toString(),e);
      }
    }
  }
}
Program: 81694
Project: 81694
Buggy source:
public static Test suite(){
  GWTTestSuite suite=new GWTTestSuite("String_Node_Str");
  suite.addTestSuite(AuthorTest.class);
  return suite;
}

Fixed version (ground truth):
public static Test suite(){
  GWTTestSuite suite=new GWTTestSuite("String_Node_Str");
  suite.addTestSuite(AuthorTest.class);
  suite.addTestSuite(BookTest.class);
  return suite;
}
Program: 81695
Project: 81695
Buggy source:
private SourceMapping loadSourceMap(String permutationStrongName,int fragmentId){
  SourceMapping toReturn=sourceMaps.get(permutationStrongName + fragmentId);
  if (toReturn == null) {
    try {
      SourceMapConsumerV3 consumer=new SourceMapConsumerV3();
      String sourceMapString=loadStreamAsString(getSourceMapInputStream(permutationStrongName,fragmentId));
      JSONObject obj=new JSONObject(sourceMapString);
      toReturn=SourceMapConsumerFactory.parse(sourceMapString);
      sourceMaps.put(permutationStrongName + fragmentId,toReturn);
    }
 catch (    Exception e) {
    }
  }
  return toReturn;
}

Fixed version (ground truth):
private SourceMapping loadSourceMap(String permutationStrongName,int fragmentId){
  SourceMapping toReturn=sourceMaps.get(permutationStrongName + fragmentId);
  if (toReturn == null) {
    try {
      String sourceMapString=loadStreamAsString(getSourceMapInputStream(permutationStrongName,fragmentId));
      toReturn=SourceMapConsumerFactory.parse(sourceMapString);
      sourceMaps.put(permutationStrongName + fragmentId,toReturn);
    }
 catch (    Exception e) {
    }
  }
  return toReturn;
}
Program: 81697
Project: 81697
Buggy source:
public ImageResource cellListSelectedBackground(){
  return delegate.cellBrowserSelectedBackground();
}

Fixed version (ground truth):
@Override public ImageResource cellListSelectedBackground(){
  return delegate.cellBrowserSelectedBackground();
}
Program: 81698
Project: 81698
Buggy source:
public String getName(){
  return delegate.getName();
}

Fixed version (ground truth):
@Override public String getName(){
  return delegate.getName();
}
Program: 81699
Project: 81699
Buggy source:
public void onValueChange(ValueChangeEvent<List<C>> event){
  Object focusedKey=display.focusedKey;
  if (focusedKey != null) {
    boolean stillExists=false;
    List<C> displayValues=event.getValue();
    for (    C displayValue : displayValues) {
      if (focusedKey.equals(display.getValueKey(displayValue))) {
        stillExists=true;
        break;
      }
    }
    if (!stillExists) {
      trimToLevel(display.level);
    }
  }
}

Fixed version (ground truth):
@Override public void onValueChange(ValueChangeEvent<List<C>> event){
  Object focusedKey=display.focusedKey;
  if (focusedKey != null) {
    boolean stillExists=false;
    List<C> displayValues=event.getValue();
    for (    C displayValue : displayValues) {
      if (focusedKey.equals(display.getValueKey(displayValue))) {
        stillExists=true;
        break;
      }
    }
    if (!stillExists) {
      trimToLevel(display.level);
    }
  }
}
Program: 81700
Project: 81700
Buggy source:
public int getIndex(){
  assertNotDestroyed();
  TreeNodeImpl<?> parent=getParent();
  return (parent == null) ? 0 : parent.getOpenIndex();
}

Fixed version (ground truth):
@Override public int getIndex(){
  assertNotDestroyed();
  TreeNodeImpl<?> parent=getParent();
  return (parent == null) ? 0 : parent.getOpenIndex();
}
Program: 81701
Project: 81701
Buggy source:
public String cellListSelectedItem(){
  return delegate.cellBrowserSelectedItem();
}

Fixed version (ground truth):
@Override public String cellListSelectedItem(){
  return delegate.cellBrowserSelectedItem();
}
Program: 81702
Project: 81702
Buggy source:
public String cellListOddItem(){
  return delegate.cellBrowserOddItem();
}

Fixed version (ground truth):
@Override public String cellListOddItem(){
  return delegate.cellBrowserOddItem();
}
Program: 81703
Project: 81703
Buggy source:
public boolean isAnimationEnabled(){
  return isAnimationEnabled;
}

Fixed version (ground truth):
@Override public boolean isAnimationEnabled(){
  return isAnimationEnabled;
}
Program: 81704
Project: 81704
Buggy source:
public boolean isChildLeaf(int index){
  assertNotDestroyed();
  checkChildBounds(index);
  return isLeaf(getChildValue(index));
}

Fixed version (ground truth):
@Override public boolean isChildLeaf(int index){
  assertNotDestroyed();
  checkChildBounds(index);
  return isLeaf(getChildValue(index));
}
Program: 81705
Project: 81705
Buggy source:
public String cellListKeyboardSelectedItem(){
  return delegate.cellBrowserKeyboardSelectedItem();
}

Fixed version (ground truth):
@Override public String cellListKeyboardSelectedItem(){
  return delegate.cellBrowserKeyboardSelectedItem();
}
Program: 81706
Project: 81706
Buggy source:
public String getText(){
  return delegate.getText();
}

Fixed version (ground truth):
@Override public String getText(){
  return delegate.getText();
}
Program: 81707
Project: 81707
Buggy source:
public boolean isDestroyed(){
  if (nodeInfo != null) {
    TreeNodeImpl<?> parent=getParentImpl();
    if (parent != null && !parent.isDestroyed()) {
      parent.display.getPresenter().flush();
    }
  }
  return nodeInfo == null;
}

Fixed version (ground truth):
@Override public boolean isDestroyed(){
  if (nodeInfo != null) {
    TreeNodeImpl<?> parent=getParentImpl();
    if (parent != null && !parent.isDestroyed()) {
      parent.display.getPresenter().flush();
    }
  }
  return nodeInfo == null;
}
Program: 81708
Project: 81708
Buggy source:
/** 
 * Unregister the list view and remove it from the widget.
 */
private void destroy(){
  display.isDestroyed=true;
  valueChangeHandler.removeHandler();
  display.setSelectionModel(null);
  nodeInfo.unsetDataDisplay();
  getSplitLayoutPanel().remove(widget);
  nodeInfo=null;
}

Fixed version (ground truth):
/** 
 * Unregister the list view and remove it from the widget.
 */
private void destroy(){
  display.isDestroyed=true;
  valueChangeHandler.removeHandler();
  display.deselectValue();
  display.setSelectionModel(null);
  nodeInfo.unsetDataDisplay();
  getSplitLayoutPanel().remove(widget);
  nodeInfo=null;
}
Program: 81709
Project: 81709
Buggy source:
/** 
 * Create a   {@link HasData} that will display items. The {@link HasData} mustextend  {@link Widget}.
 * @param < C > the item type in the list view
 * @param nodeInfo the node info with child data
 * @param level the level of the list
 * @return the {@link HasData}
 */
private <C>BrowserCellList<C> createDisplay(NodeInfo<C> nodeInfo,int level){
  BrowserCellList<C> display=new BrowserCellList<C>(nodeInfo.getCell(),level,nodeInfo.getProvidesKey());
  display.setValueUpdater(nodeInfo.getValueUpdater());
  KeyboardSelectionPolicy keyboardPolicy=getKeyboardSelectionPolicyForLists();
  display.setKeyboardSelectionPolicy(keyboardPolicy);
  return display;
}

Fixed version (ground truth):
/** 
 * Create a   {@link HasData} that will display items. The {@link HasData} mustextend  {@link Widget}.
 * @param < C > the item type in the list view
 * @param nodeInfo the node info with child data
 * @param level the level of the list
 * @return the {@link HasData}
 */
private <C>BrowserCellList<C> createDisplay(NodeInfo<C> nodeInfo,int level){
  BrowserCellList<C> display=new BrowserCellList<C>(nodeInfo.getCell(),level,nodeInfo.getProvidesKey());
  display.setValueUpdater(nodeInfo.getValueUpdater());
  display.setKeyboardSelectionPolicy(KeyboardSelectionPolicy.ENABLED);
  return display;
}
Program: 81710
Project: 81710
Buggy source:
public String cellListWidget(){
  return null;
}

Fixed version (ground truth):
@Override public String cellListWidget(){
  return null;
}
Program: 81711
Project: 81711
Buggy source:
public int getChildCount(){
  assertNotDestroyed();
  return display.getPresenter().getVisibleItemCount();
}

Fixed version (ground truth):
@Override public int getChildCount(){
  assertNotDestroyed();
  return display.getPresenter().getVisibleItemCount();
}
Program: 81712
Project: 81712
Buggy source:
public void onResize(){
  getSplitLayoutPanel().onResize();
}

Fixed version (ground truth):
@Override public void onResize(){
  getSplitLayoutPanel().onResize();
}
Program: 81713
Project: 81713
Buggy source:
public String cellListEvenItem(){
  return delegate.cellBrowserEvenItem();
}

Fixed version (ground truth):
@Override public String cellListEvenItem(){
  return delegate.cellBrowserEvenItem();
}