nus-yam/ex-repair huggingface dataset:
Program: 102751
Project: 102751
Buggy source:
public static void main(String[] args){
  Scanner in=new Scanner(System.in);
  System.out.println("String_Node_Str");
  System.out.println("String_Node_Str");
  System.out.println("String_Node_Str");
  int decision=in.nextInt();
switch (decision) {
case 1:
    System.out.println("String_Node_Str" + SimulatedAnnealing.simulateAnnealing(10,10000,0.9995));
  break;
case 2:
SlopeOne.slopeOne(3);
break;
default :
System.out.println("String_Node_Str");
break;
}
in.close();
}

Fixed version (ground truth):
public static void main(String[] args){
  Scanner in=new Scanner(System.in);
  System.out.println("String_Node_Str");
  System.out.println("String_Node_Str");
  System.out.println("String_Node_Str");
  System.out.println("String_Node_Str");
  int decision=in.nextInt();
switch (decision) {
case 1:
    System.out.println("String_Node_Str" + SimulatedAnnealing.simulateAnnealing(10,10000,0.9995));
  break;
case 2:
SlopeOne.slopeOne(3);
break;
case 3:
SimpleGeneticAlgorithm.runAlgorithm(50,"String_Node_Str");
break;
default :
System.out.println("String_Node_Str");
break;
}
in.close();
}
Program: 102752
Project: 102752
Buggy source:
@Test public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvert_thenCorrect(){
  String dateTime="String_Node_Str";
  long timestamp=new Long("String_Node_Str");
  Person3 person=new Person3("String_Node_Str",dateTime);
  mapper.setMappingFiles(Arrays.asList(new String[]{"String_Node_Str"}));
  Personne3 person0=mapper.map(person,Personne3.class);
  assertEquals(timestamp,person0.getDtob());
}

Fixed version (ground truth):
@Test public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvert_thenCorrect(){
  String dateTime="String_Node_Str";
  long timestamp=new Long("String_Node_Str");
  Person3 person=new Person3("String_Node_Str",dateTime);
  mapper.setMappingFiles(Arrays.asList(new String[]{"String_Node_Str"}));
  Personne3 person0=mapper.map(person,Personne3.class);
  long timestampToTest=person0.getDtob();
  assertTrue(timestampToTest == timestamp || timestampToTest >= timestamp - GMT_DIFFERENCE || timestampToTest <= timestamp + GMT_DIFFERENCE);
}
Program: 102753
Project: 102753
Buggy source:
@Test public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvertBidirectionally_thenCorrect(){
  String dateTime="String_Node_Str";
  long timestamp=new Long("String_Node_Str");
  Personne3 person=new Personne3("String_Node_Str",timestamp);
  mapper.setMappingFiles(Arrays.asList(new String[]{"String_Node_Str"}));
  Person3 person0=mapper.map(person,Person3.class);
  assertEquals(dateTime,person0.getDtob());
}

Fixed version (ground truth):
@Test public void givenSrcAndDestWithDifferentFieldTypes_whenAbleToCustomConvertBidirectionally_thenCorrect(){
  String dateTime="String_Node_Str";
  long timestamp=new Long("String_Node_Str");
  Personne3 person=new Personne3("String_Node_Str",timestamp);
  mapper.setMappingFiles(Arrays.asList(new String[]{"String_Node_Str"}));
  Person3 person0=mapper.map(person,Person3.class);
  String timestampTest=person0.getDtob();
  assertTrue(timestampTest.charAt(10) == 'T' && timestampTest.charAt(19) == 'Z');
}
Program: 102754
Project: 102754
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102755
Project: 102755
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102756
Project: 102756
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102757
Project: 102757
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102758
Project: 102758
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102759
Project: 102759
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102760
Project: 102760
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102761
Project: 102761
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102762
Project: 102762
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102763
Project: 102763
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102764
Project: 102764
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102765
Project: 102765
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102766
Project: 102766
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102767
Project: 102767
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102768
Project: 102768
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102769
Project: 102769
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102770
Project: 102770
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102771
Project: 102771
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102772
Project: 102772
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102773
Project: 102773
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102774
Project: 102774
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102775
Project: 102775
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102776
Project: 102776
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102777
Project: 102777
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102778
Project: 102778
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102779
Project: 102779
Buggy source:
@Override public int hashCode(){
  int result=imdbID != null ? imdbID.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}

Fixed version (ground truth):
@Override public int hashCode(){
  int result=imdbId != null ? imdbId.hashCode() : 0;
  result=31 * result + (title != null ? title.hashCode() : 0);
  return result;
}
Program: 102780
Project: 102780
Buggy source:
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbID != null ? !imdbID.equals(movie.imdbID) : movie.imdbID != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}

Fixed version (ground truth):
@Override public boolean equals(Object o){
  if (this == o)   return true;
  if (o == null || getClass() != o.getClass())   return false;
  Movie movie=(Movie)o;
  if (imdbId != null ? !imdbId.equals(movie.imdbId) : movie.imdbId != null)   return false;
  return title != null ? title.equals(movie.title) : movie.title == null;
}
Program: 102781
Project: 102781
Buggy source:
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbID+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}

Fixed version (ground truth):
@Override public String toString(){
  return "String_Node_Str" + "String_Node_Str" + actors + '\''+ "String_Node_Str"+ awards+ '\''+ "String_Node_Str"+ country+ '\''+ "String_Node_Str"+ director+ '\''+ "String_Node_Str"+ genre+ '\''+ "String_Node_Str"+ imdbId+ '\''+ "String_Node_Str"+ imdbRating+ '\''+ "String_Node_Str"+ imdbVotes+ '\''+ "String_Node_Str"+ language+ '\''+ "String_Node_Str"+ metascore+ '\''+ "String_Node_Str"+ poster+ '\''+ "String_Node_Str"+ rated+ '\''+ "String_Node_Str"+ released+ '\''+ "String_Node_Str"+ response+ '\''+ "String_Node_Str"+ runtime+ '\''+ "String_Node_Str"+ title+ '\''+ "String_Node_Str"+ type+ '\''+ "String_Node_Str"+ writer+ '\''+ "String_Node_Str"+ year+ '\''+ '}';
}
Program: 102782
Project: 102782
Buggy source:
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.OK).build();
}

Fixed version (ground truth):
@PUT @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response updateMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null == inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.OK).build();
}
Program: 102783
Project: 102783
Buggy source:
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbID())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbID(),movie);
  return Response.status(Response.Status.CREATED).build();
}

Fixed version (ground truth):
@POST @Path("String_Node_Str") @Consumes({MediaType.APPLICATION_JSON,MediaType.APPLICATION_XML}) public Response addMovie(Movie movie){
  System.out.println("String_Node_Str");
  if (null != inventory.get(movie.getImdbId())) {
    return Response.status(Response.Status.NOT_MODIFIED).entity("String_Node_Str").build();
  }
  inventory.put(movie.getImdbId(),movie);
  return Response.status(Response.Status.CREATED).build();
}
Program: 102784
Project: 102784
Buggy source:
/** 
 * Recupera il valore della propriet� imdbRating.
 * @return possible object is {@link String }
 */
public String getImdbRating(){
  return imdbRating;
}

Fixed version (ground truth):
public String getImdbRating(){
  return imdbRating;
}
Program: 102785
Project: 102785
Buggy source:
/** 
 * Imposta il valore della propriet� released.
 * @param value allowed object is {@link String }
 */
public void setReleased(String value){
  this.released=value;
}

Fixed version (ground truth):
public void setReleased(String value){
  this.released=value;
}
Program: 102786
Project: 102786
Buggy source:
/** 
 * Imposta il valore della propriet� response.
 * @param value allowed object is {@link String }
 */
public void setResponse(String value){
  this.response=value;
}

Fixed version (ground truth):
public void setResponse(String value){
  this.response=value;
}
Program: 102787
Project: 102787
Buggy source:
/** 
 * Recupera il valore della propriet� poster.
 * @return possible object is {@link String }
 */
public String getPoster(){
  return poster;
}

Fixed version (ground truth):
public String getPoster(){
  return poster;
}
Program: 102788
Project: 102788
Buggy source:
/** 
 * Recupera il valore della propriet� released.
 * @return possible object is {@link String }
 */
public String getReleased(){
  return released;
}

Fixed version (ground truth):
public String getReleased(){
  return released;
}
Program: 102789
Project: 102789
Buggy source:
/** 
 * Recupera il valore della propriet� title.
 * @return possible object is {@link String }
 */
public String getTitle(){
  return title;
}

Fixed version (ground truth):
public String getTitle(){
  return title;
}
Program: 102790
Project: 102790
Buggy source:
/** 
 * Recupera il valore della propriet� plot.
 * @return possible object is {@link String }
 */
public String getPlot(){
  return plot;
}

Fixed version (ground truth):
public String getPlot(){
  return plot;
}
Program: 102791
Project: 102791
Buggy source:
/** 
 * Imposta il valore della propriet� imdbRating.
 * @param value allowed object is {@link String }
 */
public void setImdbRating(String value){
  this.imdbRating=value;
}

Fixed version (ground truth):
public void setImdbRating(String value){
  this.imdbRating=value;
}
Program: 102792
Project: 102792
Buggy source:
/** 
 * Recupera il valore della propriet� runtime.
 * @return possible object is {@link String }
 */
public String getRuntime(){
  return runtime;
}

Fixed version (ground truth):
public String getRuntime(){
  return runtime;
}
Program: 102793
Project: 102793
Buggy source:
/** 
 * Recupera il valore della propriet� rated.
 * @return possible object is {@link String }
 */
public String getRated(){
  return rated;
}

Fixed version (ground truth):
public String getRated(){
  return rated;
}
Program: 102794
Project: 102794
Buggy source:
/** 
 * Recupera il valore della propriet� imdbId.
 * @return possible object is {@link String }
 */
public String getImdbId(){
  return imdbId;
}

Fixed version (ground truth):
public String getImdbId(){
  return imdbId;
}
Program: 102795
Project: 102795
Buggy source:
/** 
 * Imposta il valore della propriet� writer.
 * @param value allowed object is {@link String }
 */
public void setWriter(String value){
  this.writer=value;
}

Fixed version (ground truth):
public void setWriter(String value){
  this.writer=value;
}
Program: 102796
Project: 102796
Buggy source:
/** 
 * Imposta il valore della propriet� imdbVotes.
 * @param value allowed object is {@link String }
 */
public String getLanguage(){
  return language;
}

Fixed version (ground truth):
public String getLanguage(){
  return language;
}
Program: 102797
Project: 102797
Buggy source:
/** 
 * Imposta il valore della propriet� rated.
 * @param value allowed object is {@link String }
 */
public void setRated(String value){
  this.rated=value;
}

Fixed version (ground truth):
public void setRated(String value){
  this.rated=value;
}
Program: 102798
Project: 102798
Buggy source:
/** 
 * Recupera il valore della propriet� response.
 * @return possible object is {@link String }
 */
public String getResponse(){
  return response;
}

Fixed version (ground truth):
public String getResponse(){
  return response;
}
Program: 102799
Project: 102799
Buggy source:
/** 
 * Imposta il valore della propriet� runtime.
 * @param value allowed object is {@link String }
 */
public void setRuntime(String value){
  this.runtime=value;
}

Fixed version (ground truth):
public void setRuntime(String value){
  this.runtime=value;
}
Program: 102800
Project: 102800
Buggy source:
/** 
 * Recupera il valore della propriet� imdbVotes.
 * @return possible object is {@link String }
 */
public String getImdbVotes(){
  return imdbVotes;
}

Fixed version (ground truth):
public String getImdbVotes(){
  return imdbVotes;
}
Program: 102801
Project: 102801
Buggy source:
/** 
 * Imposta il valore della propriet� title.
 * @param value allowed object is {@link String }
 */
public void setTitle(String value){
  this.title=value;
}

Fixed version (ground truth):
public void setTitle(String value){
  this.title=value;
}
Program: 102802
Project: 102802
Buggy source:
/** 
 * Imposta il valore della propriet� type.
 * @param value allowed object is {@link String }
 */
public void setType(String value){
  this.type=value;
}

Fixed version (ground truth):
public void setType(String value){
  this.type=value;
}
Program: 102803
Project: 102803
Buggy source:
/** 
 * Imposta il valore della propriet� plot.
 * @param value allowed object is {@link String }
 */
public void setPlot(String value){
  this.plot=value;
}

Fixed version (ground truth):
public void setPlot(String value){
  this.plot=value;
}
Program: 102804
Project: 102804
Buggy source:
/** 
 * Imposta il valore della propriet� year.
 * @param value allowed object is {@link String }
 */
public void setYear(String value){
  this.year=value;
}

Fixed version (ground truth):
public void setYear(String value){
  this.year=value;
}
Program: 102805
Project: 102805
Buggy source:
/** 
 * Imposta il valore della propriet� poster.
 * @param value allowed object is {@link String }
 */
public void setPoster(String value){
  this.poster=value;
}

Fixed version (ground truth):
public void setPoster(String value){
  this.poster=value;
}
Program: 102806
Project: 102806
Buggy source:
/** 
 * Recupera il valore della propriet� metascore.
 * @return possible object is {@link String }
 */
public String getMetascore(){
  return metascore;
}

Fixed version (ground truth):
public String getMetascore(){
  return metascore;
}
Program: 102807
Project: 102807
Buggy source:
/** 
 * Recupera il valore della propriet� year.
 * @return possible object is {@link String }
 */
public String getYear(){
  return year;
}

Fixed version (ground truth):
public String getYear(){
  return year;
}
Program: 102808
Project: 102808
Buggy source:
/** 
 * Recupera il valore della propriet� type.
 * @return possible object is {@link String }
 */
public String getType(){
  return type;
}

Fixed version (ground truth):
public String getType(){
  return type;
}
Program: 102809
Project: 102809
Buggy source:
/** 
 * Recupera il valore della propriet� writer.
 * @return possible object is {@link String }
 */
public String getWriter(){
  return writer;
}

Fixed version (ground truth):
public String getWriter(){
  return writer;
}
Program: 102810
Project: 102810
Buggy source:
/** 
 * Imposta il valore della propriet� imdbId.
 * @param value allowed object is {@link String }
 */
public void setImdbId(String value){
  this.imdbId=value;
}

Fixed version (ground truth):
public void setImdbId(String value){
  this.imdbId=value;
}
Program: 102811
Project: 102811
Buggy source:
/** 
 * Imposta il valore della propriet� metascore.
 * @param value allowed object is {@link String }
 */
public void setMetascore(String value){
  this.metascore=value;
}

Fixed version (ground truth):
public void setMetascore(String value){
  this.metascore=value;
}
Program: 102812
Project: 102812
Buggy source:
/** 
 * Imposta il valore della propriet� language.
 * @param value allowed object is {@link String }
 */
public void setLanguage(String value){
  this.language=value;
}

Fixed version (ground truth):
public void setLanguage(String value){
  this.language=value;
}
Program: 102813
Project: 102813
Buggy source:
@Override protected void configure(final HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}

Fixed version (ground truth):
@Override protected void configure(final HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).failureHandler(authenticationFailureHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}
Program: 102814
Project: 102814
Buggy source:
@Override protected void configure(final HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}

Fixed version (ground truth):
@Override protected void configure(final HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).failureHandler(authenticationFailureHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}
Program: 102815
Project: 102815
Buggy source:
public Integer getYearOfBirth(){
  return Calendar.getInstance().get(Calendar.YEAR) - age;
}

Fixed version (ground truth):
public Integer getYearOfBirth(){
  return yearOfBirth;
}
Program: 102816
Project: 102816
Buggy source:
@Test public void whenSavingUser_thenYearOfBirthIsCalculated(){
  final User user=new User();
  user.setName("String_Node_Str");
  mongoTemplate.insert(user);
  assertThat(mongoTemplate.findOne(Query.query(Criteria.where("String_Node_Str").is("String_Node_Str")),User.class).getYearOfBirth(),is(2015));
}

Fixed version (ground truth):
@Test public void whenSavingUser_thenYearOfBirthIsCalculated(){
  final User user=new User();
  user.setName("String_Node_Str");
  user.setYearOfBirth(1985);
  mongoTemplate.insert(user);
  assertThat(user.getYearOfBirth(),is(1985));
}
Program: 102817
Project: 102817
Buggy source:
@Bean public DaoAuthenticationProvider authProvider(){
  DaoAuthenticationProvider authProvider=new DaoAuthenticationProvider();
  authProvider.setUserDetailsService(userDetailsService);
  authProvider.setPasswordEncoder(encoder());
  return authProvider;
}

Fixed version (ground truth):
@Bean public DaoAuthenticationProvider authProvider(){
  final DaoAuthenticationProvider authProvider=new DaoAuthenticationProvider();
  authProvider.setUserDetailsService(userDetailsService);
  authProvider.setPasswordEncoder(encoder());
  return authProvider;
}
Program: 102818
Project: 102818
Buggy source:
@Override protected void configure(HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}

Fixed version (ground truth):
@Override protected void configure(final HttpSecurity http) throws Exception {
  http.csrf().disable().authorizeRequests().antMatchers("String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str","String_Node_Str").permitAll().antMatchers("String_Node_Str").anonymous().anyRequest().authenticated().and().formLogin().loginPage("String_Node_Str").loginProcessingUrl("String_Node_Str").defaultSuccessUrl("String_Node_Str").failureUrl("String_Node_Str").successHandler(myAuthenticationSuccessHandler).usernameParameter("String_Node_Str").passwordParameter("String_Node_Str").permitAll().and().sessionManagement().invalidSessionUrl("String_Node_Str").sessionFixation().none().and().logout().invalidateHttpSession(false).logoutUrl("String_Node_Str").logoutSuccessUrl("String_Node_Str").deleteCookies("String_Node_Str").permitAll();
}
Program: 102819
Project: 102819
Buggy source:
private final void addUser(final String name,final OAuth2AccessToken token){
  User user=userReopsitory.findByUsername(name);
  if (user == null) {
    user=new User();
    user.setUsername(name);
    user.setAccessToken(token.getValue());
    user.setRefreshToken(token.getRefreshToken().getValue());
    user.setTokenExpiration(token.getExpiration());
  }
  final String needsCaptchaResult=needsCaptcha();
  if (needsCaptchaResult.equalsIgnoreCase("String_Node_Str")) {
    user.setNeedCaptcha(true);
  }
 else {
    user.setNeedCaptcha(false);
  }
  userReopsitory.save(user);
}

Fixed version (ground truth):
private final void addUser(final String name,final OAuth2AccessToken token){
  User user=userReopsitory.findByUsername(name);
  if (user == null) {
    user=new User();
    user.setUsername(name);
    user.setAccessToken(token.getValue());
    user.setRefreshToken(token.getRefreshToken().getValue());
    user.setTokenExpiration(token.getExpiration());
  }
  final String needsCaptchaResult=needsCaptcha();
  if (needsCaptchaResult.equalsIgnoreCase("String_Node_Str")) {
    user.setNeedCaptcha(true);
  }
 else {
    user.setNeedCaptcha(false);
  }
  user.setAccessToken(token.getValue());
  user.setRefreshToken(token.getRefreshToken().getValue());
  userReopsitory.save(user);
}
Program: 102820
Project: 102820
Buggy source:
@ExceptionHandler({Exception.class}) public ResponseEntity<Object> handleInternal(final RuntimeException ex,final WebRequest request,final HttpServletResponse response){
  logger.info(response.getHeader("String_Node_Str"));
  logger.error("String_Node_Str",ex);
  final String message="String_Node_Str" + ex.getMessage();
  return handleExceptionInternal(ex,message,new HttpHeaders(),HttpStatus.INTERNAL_SERVER_ERROR,request);
}

Fixed version (ground truth):
@ExceptionHandler({Exception.class}) public ModelAndView handleInternal(final RuntimeException ex,final WebRequest request,final HttpServletResponse response){
  logger.info(response.getHeader("String_Node_Str"));
  logger.error("String_Node_Str",ex);
  final String message="String_Node_Str" + ex.getLocalizedMessage();
  final ModelAndView model=new ModelAndView("String_Node_Str");
  model.addObject("String_Node_Str",message);
  return model;
}