---
id: 9
createUser: addon:analyzer
createTime: 2024-07-22T06:22:27.135856198Z
application:
  id: 1
  name: ""
effort: 946

issues: 
- id: 35
  createTime: 2024-07-22T06:22:27.14985055Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00101
  name: ""
  description: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponse
    has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 2724
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 11
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2725
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 12
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class AirportCodeMapping
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String airportName;\n13
      \ \n14     public AirportCodeMapping() {\n15     }\n16  \n17     public AirportCodeMapping(String
      airportCode, String airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: airportName
      package: com.acmeair.entities
  - id: 2726
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n
      6  \n 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 2727
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 17
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 2728
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 22
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;\n28     }\n29  \n30     public
      String getAirportName() {\n31        return this.airportName;\n32     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportCode
      package: com.acmeair.entities
  - id: 2729
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16  \n17     public AirportCodeMapping(String airportCode, String airportName)
      {\n18        this.id = airportCode;\n19        this.airportName = airportName;\n20
      \    }\n21  \n22     public String getAirportCode() {\n23        return this.id;\n24
      \    }\n25  \n26     public void setAirportCode(String airportCode) {\n27        this.id
      = airportCode;\n28     }\n29  \n30     public String getAirportName() {\n31
      \       return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportCode
      package: com.acmeair.entities
  - id: 2730
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 30
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "20     }\n21  \n22     public String getAirportCode() {\n23        return
      this.id;\n24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportName
      package: com.acmeair.entities
  - id: 2731
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 34
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportName
      package: com.acmeair.entities
  - id: 2732
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 25
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "15     private FlightPK flightKey;\n16     private Date dateOfBooking;\n17
      \    @ManyToOne\n18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 2733
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 28
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ \n36     public BookingPK getPkey() {\n37        return this.pkey;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 2734
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 40
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "30        this.flightKey = flight.getPkey();\n31        this.dateOfBooking
      = dateOfFlight;\n32        this.customer = customer;\n33        this.flight
      = flight;\n34     }\n35  \n36     public BookingPK getPkey() {\n37        return
      this.pkey;\n38     }\n39  \n40     public String getCustomerId() {\n41        return
      this.pkey.getCustomerId();\n42     }\n43  \n44     public void setPkey(BookingPK
      pkey) {\n45        this.pkey = pkey;\n46     }\n47  \n48     public FlightPK
      getFlightKey() {\n49        return this.flightKey;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 2735
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 76
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "66     }\n67  \n68     public Customer getCustomer() {\n69        return
      this.customer;\n70     }\n71  \n72     public Flight getFlight() {\n73        return
      this.flight;\n74     }\n75  \n76     public String toString() {\n77        return
      \"Booking [key=\" + this.pkey + \", flightKey=\" + this.flightKey + \", dateOfBooking=\"
      + this.dateOfBooking + \", customer=\" + this.customer + \", flight=\" + this.flight
      + \"]\";\n78     }\n79  \n80     public boolean equals(Object obj) {\n81        if
      (this == obj) {\n82           return true;\n83        } else if (obj == null)
      {\n84           return false;\n85        } else if (this.getClass() != obj.getClass())
      {\n86           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2736
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      BookingPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"bookingId\"\n12     )\n13     private
      String id;\n14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2737
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: customerId
      package: com.acmeair.entities
  - id: 2738
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 2739
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 19
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 2740
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 24
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ \n24     public String getId() {\n25        return this.id;\n26     }\n27
      \ \n28     public void setId(String id) {\n29        this.id = id;\n30     }\n31
      \ \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2741
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 28
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "18  \n19     public BookingPK(String customerId, String id) {\n20        this.id
      = id;\n21        this.customerId = customerId;\n22     }\n23  \n24     public
      String getId() {\n25        return this.id;\n26     }\n27  \n28     public void
      setId(String id) {\n29        this.id = id;\n30     }\n31  \n32     public String
      getCustomerId() {\n33        return this.customerId;\n34     }\n35  \n36     public
      void setCustomerId(String customerId) {\n37        this.customerId = customerId;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2742
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 32
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }\n35  \n36     public void setCustomerId(String customerId) {\n37        this.customerId
      = customerId;\n38     }\n39  \n40     public int hashCode() {\n41        int
      prime = true;\n42        int result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 2743
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 36
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getCustomerId() {\n33        return
      this.customerId;\n34     }\n35  \n36     public void setCustomerId(String customerId)
      {\n37        this.customerId = customerId;\n38     }\n39  \n40     public int
      hashCode() {\n41        int prime = true;\n42        int result = 1;\n43        result
      = 31 * result + (this.customerId == null ? 0 : this.customerId.hashCode());\n44
      \       result = 31 * result + (this.id == null ? 0 : this.id.hashCode());\n45
      \       return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setCustomerId
      package: com.acmeair.entities
  - id: 2744
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 77
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"BookingPK [customerId=\" + this.customerId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2745
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;\n18
      \    private MemberShipStatus status;\n19     private int total_miles;\n20     private
      int miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23
      \    private String phoneNumber;\n24     private PhoneType phoneNumberType;\n25
      \ \n26     public Customer() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2746
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 17
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      Customer implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15
      \    )\n16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: password
      package: com.acmeair.entities
  - id: 2747
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 104
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 94     }\n 95  \n 96     public CustomerAddress getAddress() {\n 97
      \       return this.address;\n 98     }\n 99  \n100     public void setAddress(CustomerAddress
      address) {\n101        this.address = address;\n102     }\n103  \n104     public
      String toString() {\n105        return \"Customer [id=\" + this.id + \", password=\"
      + this.password + \", status=\" + this.status + \", total_miles=\" + this.total_miles
      + \", miles_ytd=\" + this.miles_ytd + \", address=\" + this.address + \", phoneNumber=\"
      + this.phoneNumber + \", phoneNumberType=\" + this.phoneNumberType + \"]\";\n106
      \    }\n107  \n108     public boolean equals(Object obj) {\n109        if (this
      == obj) {\n110           return true;\n111        } else if (obj == null) {\n112
      \          return false;\n113        } else if (this.getClass() != obj.getClass())
      {\n114           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2748
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 23
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16
      \    private String id;\n17     private String password;\n18     private MemberShipStatus
      status;\n19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: phoneNumber
      package: com.acmeair.entities
  - id: 2749
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 163
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "153                 return false;\n154              } else if (this.status
      != other.status) {\n155                 return false;\n156              } else
      {\n157                 return this.total_miles == other.total_miles;\n158              }\n159
      \          }\n160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 2750
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 2751
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 170
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,\n174        PLATINUM,\n175        EXEC_PLATINUM,\n176
      \       GRAPHITE;\n177     }\n178  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 2752
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 29
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;\n37
      \       this.phoneNumberType = phoneNumberType;\n38     }\n39  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 2753
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 40
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "30        this.id = username;\n31        this.password = password;\n32
      \       this.status = status;\n33        this.total_miles = total_miles;\n34
      \       this.miles_ytd = miles_ytd;\n35        this.address = address;\n36        this.phoneNumber
      = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38     }\n39
      \ \n40     public String getUsername() {\n41        return this.id;\n42     }\n43
      \ \n44     public void setUsername(String username) {\n45        this.id = username;\n46
      \    }\n47  \n48     public String getPassword() {\n49        return this.password;\n50
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getUsername
      package: com.acmeair.entities
  - id: 2754
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 44
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "34        this.miles_ytd = miles_ytd;\n35        this.address = address;\n36
      \       this.phoneNumber = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38
      \    }\n39  \n40     public String getUsername() {\n41        return this.id;\n42
      \    }\n43  \n44     public void setUsername(String username) {\n45        this.id
      = username;\n46     }\n47  \n48     public String getPassword() {\n49        return
      this.password;\n50     }\n51  \n52     public void setPassword(String password)
      {\n53        this.password = password;\n54     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setUsername
      package: com.acmeair.entities
  - id: 2755
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 48
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "38     }\n39  \n40     public String getUsername() {\n41        return
      this.id;\n42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPassword
      package: com.acmeair.entities
  - id: 2756
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 52
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }\n59
      \ \n60     public void setStatus(MemberShipStatus status) {\n61        this.status
      = status;\n62     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPassword
      package: com.acmeair.entities
  - id: 2757
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 80
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "70     }\n71  \n72     public int getMiles_ytd() {\n73        return
      this.miles_ytd;\n74     }\n75  \n76     public void setMiles_ytd(int miles_ytd)
      {\n77        this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String
      getPhoneNumber() {\n81        return this.phoneNumber;\n82     }\n83  \n84     public
      void setPhoneNumber(String phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86
      \    }\n87  \n88     public PhoneType getPhoneNumberType() {\n89        return
      this.phoneNumberType;\n90     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPhoneNumber
      package: com.acmeair.entities
  - id: 2758
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 84
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "74     }\n75  \n76     public void setMiles_ytd(int miles_ytd) {\n77
      \       this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String getPhoneNumber()
      {\n81        return this.phoneNumber;\n82     }\n83  \n84     public void setPhoneNumber(String
      phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86     }\n87  \n88
      \    public PhoneType getPhoneNumberType() {\n89        return this.phoneNumberType;\n90
      \    }\n91  \n92     public void setPhoneNumberType(PhoneType phoneNumberType)
      {\n93        this.phoneNumberType = phoneNumberType;\n94     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPhoneNumber
      package: com.acmeair.entities
  - id: 2759
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 44
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCity
      package: com.acmeair.entities
  - id: 2760
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 48
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCity
      package: com.acmeair.entities
  - id: 2761
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 52
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStateProvince
      package: com.acmeair.entities
  - id: 2762
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 56
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStateProvince
      package: com.acmeair.entities
  - id: 2763
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 60
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCountry
      package: com.acmeair.entities
  - id: 2764
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 64
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCountry
      package: com.acmeair.entities
  - id: 2765
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 68
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getPostalCode
      package: com.acmeair.entities
  - id: 2766
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 72
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setPostalCode
      package: com.acmeair.entities
  - id: 2767
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 76
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2768
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 9
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress1
      package: com.acmeair.entities
  - id: 2769
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 10
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress2
      package: com.acmeair.entities
  - id: 2770
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 11
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: city
      package: com.acmeair.entities
  - id: 2771
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 12
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: stateProvince
      package: com.acmeair.entities
  - id: 2772
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: country
      package: com.acmeair.entities
  - id: 2773
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7
      \ public class CustomerAddress implements Serializable {\n 8     private static
      final long serialVersionUID = 1L;\n 9     private String streetAddress1;\n10
      \    private String streetAddress2;\n11     private String city;\n12     private
      String stateProvince;\n13     private String country;\n14     private String
      postalCode;\n15  \n16     public CustomerAddress() {\n17     }\n18  \n19     public
      CustomerAddress(String streetAddress1, String streetAddress2, String city, String
      stateProvince, String country, String postalCode) {\n20        this.streetAddress1
      = streetAddress1;\n21        this.streetAddress2 = streetAddress2;\n22        this.city
      = city;\n23        this.stateProvince = stateProvince;\n24        this.country
      = country;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: postalCode
      package: com.acmeair.entities
  - id: 2774
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 2775
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 19
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 9     private String streetAddress1;\n10     private String streetAddress2;\n11
      \    private String city;\n12     private String stateProvince;\n13     private
      String country;\n14     private String postalCode;\n15  \n16     public CustomerAddress()
      {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1, String
      streetAddress2, String city, String stateProvince, String country, String postalCode)
      {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 2776
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 28
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress1
      package: com.acmeair.entities
  - id: 2777
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 32
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "22        this.city = city;\n23        this.stateProvince = stateProvince;\n24
      \       this.country = country;\n25        this.postalCode = postalCode;\n26
      \    }\n27  \n28     public String getStreetAddress1() {\n29        return this.streetAddress1;\n30
      \    }\n31  \n32     public void setStreetAddress1(String streetAddress1) {\n33
      \       this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress1
      package: com.acmeair.entities
  - id: 2778
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 36
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "26     }\n27  \n28     public String getStreetAddress1() {\n29        return
      this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }\n39  \n40     public void setStreetAddress2(String streetAddress2) {\n41
      \       this.streetAddress2 = streetAddress2;\n42     }\n43  \n44     public
      String getCity() {\n45        return this.city;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress2
      package: com.acmeair.entities
  - id: 2779
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 40
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "30     }\n31  \n32     public void setStreetAddress1(String streetAddress1)
      {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }\n43  \n44     public String getCity() {\n45        return
      this.city;\n46     }\n47  \n48     public void setCity(String city) {\n49        this.city
      = city;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress2
      package: com.acmeair.entities
  - id: 2780
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class CustomerSession implements Serializable {\n11
      \    private static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14
      \       columnDefinition = \"VARCHAR\"\n15     )\n16     private String id;\n17
      \    private String customerid;\n18     private Date lastAccessedTime;\n19     private
      Date timeoutTime;\n20  \n21     public CustomerSession() {\n22     }\n23  \n24
      \    public CustomerSession(String id, String customerid, Date lastAccessedTime,
      Date timeoutTime) {\n25        this.id = id;\n26        this.customerid = customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2781
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 17
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      CustomerSession implements Serializable {\n11     private static final long
      serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;\n18
      \    private Date lastAccessedTime;\n19     private Date timeoutTime;\n20  \n21
      \    public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: customerid
      package: com.acmeair.entities
  - id: 2782
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 21
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "11     private static final long serialVersionUID = 1L;\n12     @Id\n13
      \    @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 2783
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 24
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 2784
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 31
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "21     public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;\n28        this.timeoutTime = timeoutTime;\n29     }\n30
      \ \n31     public String getId() {\n32        return this.id;\n33     }\n34
      \ \n35     public void setId(String id) {\n36        this.id = id;\n37     }\n38
      \ \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2785
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 35
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "25        this.id = id;\n26        this.customerid = customerid;\n27
      \       this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2786
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 39
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "29     }\n30  \n31     public String getId() {\n32        return this.id;\n33
      \    }\n34  \n35     public void setId(String id) {\n36        this.id = id;\n37
      \    }\n38  \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }\n42  \n43     public void setCustomerid(String customerid) {\n44        this.customerid
      = customerid;\n45     }\n46  \n47     public Date getLastAccessedTime() {\n48
      \       return this.lastAccessedTime;\n49     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getCustomerid
      package: com.acmeair.entities
  - id: 2787
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 43
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }\n46  \n47     public Date
      getLastAccessedTime() {\n48        return this.lastAccessedTime;\n49     }\n50
      \ \n51     public void setLastAccessedTime(Date lastAccessedTime) {\n52        this.lastAccessedTime
      = lastAccessedTime;\n53     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setCustomerid
      package: com.acmeair.entities
  - id: 2788
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 63
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "53     }\n54  \n55     public Date getTimeoutTime() {\n56        return
      this.timeoutTime;\n57     }\n58  \n59     public void setTimeoutTime(Date timeoutTime)
      {\n60        this.timeoutTime = timeoutTime;\n61     }\n62  \n63     public
      String toString() {\n64        return \"CustomerSession [id=\" + this.id + \",
      customerid=\" + this.customerid + \", lastAccessedTime=\" + this.lastAccessedTime
      + \", timeoutTime=\" + this.timeoutTime + \"]\";\n65     }\n66  \n67     public
      boolean equals(Object obj) {\n68        if (this == obj) {\n69           return
      true;\n70        } else if (obj == null) {\n71           return false;\n72        }
      else if (this.getClass() != obj.getClass()) {\n73           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2789
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 97
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 87     }\n 88  \n 89     public int getNumEconomyClassSeats() {\n
      90        return this.numEconomyClassSeats;\n 91     }\n 92  \n 93     public
      void setNumEconomyClassSeats(int numEconomyClassSeats) {\n 94        this.numEconomyClassSeats
      = numEconomyClassSeats;\n 95     }\n 96  \n 97     public String getAirplaneTypeId()
      {\n 98        return this.airplaneTypeId;\n 99     }\n100  \n101     public
      void setAirplaneTypeId(String airplaneTypeId) {\n102        this.airplaneTypeId
      = airplaneTypeId;\n103     }\n104  \n105     public FlightSegment getFlightSegment()
      {\n106        return this.flightSegment;\n107     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getAirplaneTypeId
      package: com.acmeair.entities
  - id: 2790
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 101
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 91     }\n 92  \n 93     public void setNumEconomyClassSeats(int numEconomyClassSeats)
      {\n 94        this.numEconomyClassSeats = numEconomyClassSeats;\n 95     }\n
      96  \n 97     public String getAirplaneTypeId() {\n 98        return this.airplaneTypeId;\n
      99     }\n100  \n101     public void setAirplaneTypeId(String airplaneTypeId)
      {\n102        this.airplaneTypeId = airplaneTypeId;\n103     }\n104  \n105     public
      FlightSegment getFlightSegment() {\n106        return this.flightSegment;\n107
      \    }\n108  \n109     public void setFlightSegment(FlightSegment flightSegment)
      {\n110        this.flightSegment = flightSegment;\n111     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: setAirplaneTypeId
      package: com.acmeair.entities
  - id: 2791
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 20
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "10  public class Flight implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @EmbeddedId\n13     private FlightPK
      pkey;\n14     private Date scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16
      \    private BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;\n18
      \    private int numFirstClassSeats;\n19     private int numEconomyClassSeats;\n20
      \    private String airplaneTypeId;\n21     private FlightSegment flightSegment;\n22
      \ \n23     public Flight() {\n24     }\n25  \n26     public Flight(String id,
      String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n27        this.pkey = new
      FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime = scheduledDepartureTime;\n29
      \       this.scheduledArrivalTime = scheduledArrivalTime;\n30        this.firstClassBaseCost
      = firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Field
      name: airplaneTypeId
      package: com.acmeair.entities
  - id: 2792
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 113
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "103     }\n104  \n105     public FlightSegment getFlightSegment() {\n106
      \       return this.flightSegment;\n107     }\n108  \n109     public void setFlightSegment(FlightSegment
      flightSegment) {\n110        this.flightSegment = flightSegment;\n111     }\n112
      \ \n113     public String toString() {\n114        return \"Flight key=\" +
      this.pkey + \", scheduledDepartureTime=\" + this.scheduledDepartureTime + \",
      scheduledArrivalTime=\" + this.scheduledArrivalTime + \", firstClassBaseCost=\"
      + this.firstClassBaseCost + \", economyClassBaseCost=\" + this.economyClassBaseCost
      + \", numFirstClassSeats=\" + this.numFirstClassSeats + \", numEconomyClassSeats=\"
      + this.numEconomyClassSeats + \", airplaneTypeId=\" + this.airplaneTypeId +
      \"]\";\n115     }\n116  \n117     public boolean equals(Object obj) {\n118        if
      (this == obj) {\n119           return true;\n120        } else if (obj == null)
      {\n121           return false;\n122        } else if (this.getClass() != obj.getClass())
      {\n123           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2793
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 23
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "13     private FlightPK pkey;\n14     private Date scheduledDepartureTime;\n15
      \    private Date scheduledArrivalTime;\n16     private BigDecimal firstClassBaseCost;\n17
      \    private BigDecimal economyClassBaseCost;\n18     private int numFirstClassSeats;\n19
      \    private int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21
      \    private FlightSegment flightSegment;\n22  \n23     public Flight() {\n24
      \    }\n25  \n26     public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 2794
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16     private BigDecimal firstClassBaseCost;\n17     private BigDecimal
      economyClassBaseCost;\n18     private int numFirstClassSeats;\n19     private
      int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21     private
      FlightSegment flightSegment;\n22  \n23     public Flight() {\n24     }\n25  \n26
      \    public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;\n34        this.airplaneTypeId
      = airplaneTypeId;\n35     }\n36  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 2795
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 45
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "35     }\n36  \n37     public FlightPK getPkey() {\n38        return
      this.pkey;\n39     }\n40  \n41     public void setPkey(FlightPK pkey) {\n42
      \       this.pkey = pkey;\n43     }\n44  \n45     public String getFlightSegmentId()
      {\n46        return this.pkey.getFlightSegmentId();\n47     }\n48  \n49     public
      Date getScheduledDepartureTime() {\n50        return this.scheduledDepartureTime;\n51
      \    }\n52  \n53     public void setScheduledDepartureTime(Date scheduledDepartureTime)
      {\n54        this.scheduledDepartureTime = scheduledDepartureTime;\n55     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 2796
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      FlightPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"flightId\"\n12     )\n13     private
      String id;\n14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2797
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: flightSegmentId
      package: com.acmeair.entities
  - id: 2798
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 2799
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 19
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }\n27  \n28
      \    public void setId(String id) {\n29        this.id = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 2800
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 24
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2801
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 28
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "18  \n19     public FlightPK(String flightSegmentId, String id) {\n20
      \       this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2802
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 32
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 2803
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 36
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;\n43        result = 31 * result + (this.flightSegmentId == null
      ? 0 : this.flightSegmentId.hashCode());\n44        result = 31 * result + (this.id
      == null ? 0 : this.id.hashCode());\n45        return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setFlightSegmentId
      package: com.acmeair.entities
  - id: 2804
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 77
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"FlightPK [flightSegmentId=\" + this.flightSegmentId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2805
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 11
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2806
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 12
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: originPort
      package: com.acmeair.entities
  - id: 2807
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;\n23
      \       this.miles = miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: destPort
      package: com.acmeair.entities
  - id: 2808
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  \n 7  @Entity\n 8  public class FlightSegment implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 2809
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 19
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Id\n11
      \    private String id;\n12     private String originPort;\n13     private String
      destPort;\n14     private int miles;\n15  \n16     public FlightSegment() {\n17
      \    }\n18  \n19     public FlightSegment(String flightName, String origPort,
      String destPort, int miles) {\n20        this.id = flightName;\n21        this.originPort
      = origPort;\n22        this.destPort = destPort;\n23        this.miles = miles;\n24
      \    }\n25  \n26     public String getFlightName() {\n27        return this.id;\n28
      \    }\n29  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 2810
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16     public FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String
      flightName, String origPort, String destPort, int miles) {\n20        this.id
      = flightName;\n21        this.originPort = origPort;\n22        this.destPort
      = destPort;\n23        this.miles = miles;\n24     }\n25  \n26     public String
      getFlightName() {\n27        return this.id;\n28     }\n29  \n30     public
      void setFlightName(String flightName) {\n31        this.id = flightName;\n32
      \    }\n33  \n34     public String getOriginPort() {\n35        return this.originPort;\n36
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getFlightName
      package: com.acmeair.entities
  - id: 2811
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 30
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {\n27        return this.id;\n28     }\n29
      \ \n30     public void setFlightName(String flightName) {\n31        this.id
      = flightName;\n32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setFlightName
      package: com.acmeair.entities
  - id: 2812
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 34
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "24     }\n25  \n26     public String getFlightName() {\n27        return
      this.id;\n28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getOriginPort
      package: com.acmeair.entities
  - id: 2813
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 38
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46
      \    public void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setOriginPort
      package: com.acmeair.entities
  - id: 2814
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 42
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getDestPort
      package: com.acmeair.entities
  - id: 2815
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 46
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setDestPort
      package: com.acmeair.entities
  - id: 2816
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 58
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "48     }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }\n57  \n58     public String toString() {\n59        StringBuffer
      sb = new StringBuffer();\n60        sb.append(\"FlightSegment \").append(this.id).append(\"
      originating from:\\\"\").append(this.originPort).append(\"\\\" arriving at:\\\"\").append(this.destPort).append(\"\\\"\");\n61
      \       return sb.toString();\n62     }\n63  \n64     public boolean equals(Object
      obj) {\n65        if (this == obj) {\n66           return true;\n67        }
      else if (obj == null) {\n68           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2817
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 36
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "26     @Resource\n27     FlightService flightService;\n28     @Resource\n29
      \    CustomerService customerService;\n30     @Resource\n31     KeyGenerator
      keyGenerator;\n32  \n33     @Transactional(\n34        propagation = Propagation.REQUIRED\n35
      \    )\n36     public BookingPK bookFlight(String customerId, FlightPK flightId)
      {\n37        try {\n38           Flight f = this.flightService.getFlightByFlightKey(flightId);\n39
      \          Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: bookFlight
      package: com.acmeair.jpa.service
  - id: 2818
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 49
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "39           Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }\n47     }\n48  \n49     public Booking
      getBooking(String user, String id) {\n50        BookingPK key = new BookingPK(user,
      id);\n51        return (Booking)this.em.find(Booking.class, key);\n52     }\n53
      \ \n54     public List getBookingsByUser(String user) {\n55        Query q =
      this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBooking
      package: com.acmeair.jpa.service
  - id: 2819
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 54
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "44        } catch (Exception var7) {\n45           throw new RuntimeException(var7);\n46
      \       }\n47     }\n48  \n49     public Booking getBooking(String user, String
      id) {\n50        BookingPK key = new BookingPK(user, id);\n51        return
      (Booking)this.em.find(Booking.class, key);\n52     }\n53  \n54     public List
      getBookingsByUser(String user) {\n55        Query q = this.em.createQuery(\"SELECT
      obj FROM Booking obj where obj.customer.id=?1\");\n56        q.setParameter(1,
      user);\n57        List results = q.getResultList();\n58        return results;\n59
      \    }\n60  \n61     @Transactional(\n62        propagation = Propagation.REQUIRED\n63
      \    )\n64     public void cancelBooking(String user, String id) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.jpa.service
  - id: 2820
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 64
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "54     public List getBookingsByUser(String user) {\n55        Query
      q = this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }\n60  \n61     @Transactional(\n62        propagation
      = Propagation.REQUIRED\n63     )\n64     public void cancelBooking(String user,
      String id) {\n65        Booking booking = this.getBooking(user, id);\n66        if
      (booking != null) {\n67           this.em.remove(booking);\n68        }\n69
      \ \n70     }\n71  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.jpa.service
  - id: 2821
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 110
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "100              }\n101           }\n102        } catch (Exception
      var4) {\n103           throw new RuntimeException(var4);\n104        }\n105
      \    }\n106  \n107     @Transactional(\n108        propagation = Propagation.REQUIRED\n109
      \    )\n110     public CustomerSession createSession(String customerId) {\n111
      \       try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 2822
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 112
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "102        } catch (Exception var4) {\n103           throw new RuntimeException(var4);\n104
      \       }\n105     }\n106  \n107     @Transactional(\n108        propagation
      = Propagation.REQUIRED\n109     )\n110     public CustomerSession createSession(String
      customerId) {\n111        try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;\n121        } catch (Exception var7) {\n122           throw
      new RuntimeException(var7);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 2823
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 129
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "119           this.em.persist(cSession);\n120           return cSession;\n121
      \       } catch (Exception var7) {\n122           throw new RuntimeException(var7);\n123
      \       }\n124     }\n125  \n126     @Transactional(\n127        propagation
      = Propagation.REQUIRED\n128     )\n129     public void invalidateSession(String
      sessionid) {\n130        try {\n131           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n132           if (cSession != null) {\n133              this.em.remove(cSession);\n134
      \          }\n135  \n136        } catch (Exception var3) {\n137           throw
      new RuntimeException(var3);\n138        }\n139     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.jpa.service
  - id: 2824
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 28
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "18  public class CustomerServiceImpl implements CustomerService {\n19
      \    private static final int DAYS_TO_ALLOW_SESSION = 1;\n20     @Autowired\n21
      \    EntityManager em;\n22     @Resource\n23     KeyGenerator keyGenerator;\n24
      \ \n25     @Transactional(\n26        propagation = Propagation.REQUIRED\n27
      \    )\n28     public Customer createCustomer(String username, String password,
      Customer.MemberShipStatus status, int total_miles, int miles_ytd, String phoneNumber,
      Customer.PhoneType phoneNumberType, CustomerAddress address) {\n29        Customer
      customer = new Customer(username, password, status, total_miles, miles_ytd,
      address, phoneNumber, phoneNumberType);\n30  \n31        try {\n32           this.em.persist(customer);\n33
      \          return customer;\n34        } catch (Exception var11) {\n35           throw
      new RuntimeException(var11);\n36        }\n37     }\n38  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createCustomer
      package: com.acmeair.jpa.service
  - id: 2825
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 65
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "55           customer.setPhoneNumberType(updatedCustomer.getPhoneNumberType());\n56
      \          customer.setStatus(updatedCustomer.getStatus());\n57           customer.setTotal_miles(updatedCustomer.getTotal_miles());\n58
      \          this.em.persist(customer);\n59           return customer;\n60        }
      catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.jpa.service
  - id: 2826
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 70
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "60        } catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }\n76  \n77        return
      validatedCustomer;\n78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.jpa.service
  - id: 2827
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 80
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "70     public boolean validateCustomer(String username, String password)
      {\n71        boolean validatedCustomer = false;\n72        Customer customerToValidate
      = this.getCustomerByUsername(username);\n73        if (customerToValidate !=
      null) {\n74           validatedCustomer = password.equals(customerToValidate.getPassword());\n75
      \       }\n76  \n77        return validatedCustomer;\n78     }\n79  \n80     public
      Customer getCustomerByUsernameAndPassword(String username, String password)
      {\n81        Customer c = this.getCustomerByUsername(username);\n82        return
      !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85     @Transactional(\n86
      \       propagation = Propagation.REQUIRED\n87     )\n88     public CustomerSession
      validateSession(String sessionid) {\n89        try {\n90           CustomerSession
      cSession = (CustomerSession)this.em.find(CustomerSession.class, sessionid);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.jpa.service
  - id: 2828
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 88
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {\n81        Customer c = this.getCustomerByUsername(username);\n82
      \       return !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85
      \    @Transactional(\n86        propagation = Propagation.REQUIRED\n87     )\n88
      \    public CustomerSession validateSession(String sessionid) {\n89        try
      {\n90           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n91           if (cSession == null) {\n92              return null;\n93
      \          } else {\n94              Date now = new Date();\n95              if
      (cSession.getTimeoutTime().before(now)) {\n96                 this.em.remove(cSession);\n97
      \                return null;\n98              } else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateSession
      package: com.acmeair.jpa.service
  - id: 2829
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 104
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 94           } catch (Exception var4) {\n 95              throw new
      RuntimeException(var4);\n 96           }\n 97        }\n 98  \n 99     }\n100
      \ \n101     @Transactional(\n102        propagation = Propagation.REQUIRED\n103
      \    )\n104     public Flight createNewFlight(String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n105
      \       try {\n106           String id = this.keyGenerator.generate().toString();\n107
      \          Flight flight = new Flight(id, flightSegmentId, scheduledDepartureTime,
      scheduledArrivalTime, firstClassBaseCost, economyClassBaseCost, numFirstClassSeats,
      numEconomyClassSeats, airplaneTypeId);\n108           this.em.persist(flight);\n109
      \          return flight;\n110        } catch (Exception var11) {\n111           throw
      new RuntimeException(var11);\n112        }\n113     }\n114  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 2830
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 106
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 96           }\n 97        }\n 98  \n 99     }\n100  \n101     @Transactional(\n102
      \       propagation = Propagation.REQUIRED\n103     )\n104     public Flight
      createNewFlight(String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n105        try {\n106           String
      id = this.keyGenerator.generate().toString();\n107           Flight flight =
      new Flight(id, flightSegmentId, scheduledDepartureTime, scheduledArrivalTime,
      firstClassBaseCost, economyClassBaseCost, numFirstClassSeats, numEconomyClassSeats,
      airplaneTypeId);\n108           this.em.persist(flight);\n109           return
      flight;\n110        } catch (Exception var11) {\n111           throw new RuntimeException(var11);\n112
      \       }\n113     }\n114  \n115     @Transactional(\n116        propagation
      = Propagation.REQUIRED"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 2831
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 33
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "23  public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource\n27     KeyGenerator keyGenerator;\n28
      \ \n29     public Flight getFlightByFlightKey(FlightPK key) {\n30        return
      (Flight)this.em.find(Flight.class, key);\n31     }\n32  \n33     public List
      getFlightByAirportsAndDepartureDate(String fromAirport, String toAirport, Date
      deptDate) {\n34        List flights = new ArrayList();\n35        Query q =
      this.em.createQuery(\"SELECT obj FROM FlightSegment obj where obj.destPort=?1
      and obj.originPort=?2\");\n36        q.setParameter(1, toAirport);\n37        q.setParameter(2,
      fromAirport);\n38        List results = q.getResultList();\n39        Iterator
      var7 = results.iterator();\n40  \n41        while(var7.hasNext()) {\n42           FlightSegment
      seg = (FlightSegment)var7.next();\n43           Query qq = this.em.createQuery(\"SELECT
      obj FROM Flight obj where  obj.scheduledDepartureTime=?1 and obj.pkey.flightSegmentId=?2\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.jpa.service
  - id: 2832
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 59
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "49           while(var11.hasNext()) {\n50              Flight flight
      = (Flight)var11.next();\n51              flight.setFlightSegment(seg);\n52              flights.add(flight);\n53
      \          }\n54        }\n55  \n56        return flights;\n57     }\n58  \n59
      \    public List getFlightByAirports(String fromAirport, String toAirport) {\n60
      \       Query q = this.em.createQuery(\"SELECT obj FROM FlightSegment obj where
      obj.destPort=?1 and obj.originPort=?2\");\n61        q.setParameter(1, toAirport);\n62
      \       q.setParameter(2, fromAirport);\n63        List flights = new ArrayList();\n64
      \       List results = q.getResultList();\n65        Iterator var6 = results.iterator();\n66
      \ \n67        while(var6.hasNext()) {\n68           FlightSegment seg = (FlightSegment)var6.next();\n69
      \          Query qq = this.em.createQuery(\"SELECT obj FROM Flight obj where
      obj.pkey.flightSegmentId=?1\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.jpa.service
  - id: 2833
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 9
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: bookFlight
      package: com.acmeair.service
  - id: 2834
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 11
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBooking
      package: com.acmeair.service
  - id: 2835
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n 7  \n
      8  public interface BookingService {\n 9     BookingPK bookFlight(String var1,
      FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.service
  - id: 2836
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 15
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n
      7  \n 8  public interface BookingService {\n 9     BookingPK bookFlight(String
      var1, FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.service
  - id: 2837
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 8
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createCustomer
      package: com.acmeair.service
  - id: 2838
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 12
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.entities.CustomerSession;\n 6  \n 7  public interface
      CustomerService {\n 8     Customer createCustomer(String var1, String var2,
      Customer.MemberShipStatus var3, int var4, int var5, String var6, Customer.PhoneType
      var7, CustomerAddress var8);\n 9  \n10     Customer updateCustomer(Customer
      var1);\n11  \n12     Customer getCustomerByUsername(String var1);\n13  \n14
      \    boolean validateCustomer(String var1, String var2);\n15  \n16     Customer
      getCustomerByUsernameAndPassword(String var1, String var2);\n17  \n18     CustomerSession
      validateSession(String var1);\n19  \n20     CustomerSession createSession(String
      var1);\n21  \n22     void invalidateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.service
  - id: 2839
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.service
  - id: 2840
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.service
  - id: 2841
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 18
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 8     Customer createCustomer(String var1, String var2, Customer.MemberShipStatus
      var3, int var4, int var5, String var6, Customer.PhoneType var7, CustomerAddress
      var8);\n 9  \n10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateSession
      package: com.acmeair.service
  - id: 2842
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 20
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createSession
      package: com.acmeair.service
  - id: 2843
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 22
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "12     Customer getCustomerByUsername(String var1);\n13  \n14     boolean
      validateCustomer(String var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.service
  - id: 2844
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.service
  - id: 2845
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 16
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.service
  - id: 2846
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 20
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "10  \n11  public interface FlightService {\n12     Flight getFlightByFlightKey(FlightPK
      var1);\n13  \n14     List getFlightByAirportsAndDepartureDate(String var1, String
      var2, Date var3);\n15  \n16     List getFlightByAirports(String var1, String
      var2);\n17  \n18     void storeAirportMapping(AirportCodeMapping var1);\n19
      \ \n20     Flight createNewFlight(String var1, Date var2, Date var3, BigDecimal
      var4, BigDecimal var5, int var6, int var7, String var8);\n21  \n22     void
      storeFlightSegment(FlightSegment var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.service
  - id: 2847
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 4
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: departBookingId
      package: com.acmeair.web
  - id: 2848
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 5
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: returnBookingId
      package: com.acmeair.web
  - id: 2849
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 8
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 2850
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 14
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;\n19
      \    }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 2851
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 17
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 7  \n 8     public BookingInfo(String departBookingId, String returnBookingId,
      boolean oneWay) {\n 9        this.departBookingId = departBookingId;\n10        this.returnBookingId
      = returnBookingId;\n11        this.oneWay = oneWay;\n12     }\n13  \n14     public
      BookingInfo() {\n15     }\n16  \n17     public String getDepartBookingId() {\n18
      \       return this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getDepartBookingId
      package: com.acmeair.web
  - id: 2852
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 21
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "11        this.oneWay = oneWay;\n12     }\n13  \n14     public BookingInfo()
      {\n15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setDepartBookingId
      package: com.acmeair.web
  - id: 2853
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 25
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }\n32  \n33     public
      boolean isOneWay() {\n34        return this.oneWay;\n35     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getReturnBookingId
      package: com.acmeair.web
  - id: 2854
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 29
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "19     }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  \n25     public
      String getReturnBookingId() {\n26        return this.returnBookingId;\n27     }\n28
      \ \n29     public void setReturnBookingId(String returnBookingId) {\n30        this.returnBookingId
      = returnBookingId;\n31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setReturnBookingId
      package: com.acmeair.web
  - id: 2855
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 41
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }\n40  \n41     public String toString()
      {\n42        return \"BookingInfo [departBookingId=\" + this.departBookingId
      + \", returnBookingId=\" + this.returnBookingId + \", oneWay=\" + this.oneWay
      + \"]\";\n43     }\n44  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: toString
      package: com.acmeair.web
  - id: 2856
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16  import javax.ws.rs.core.Response.Status;\n17  \n18  @Path(\"/bookings\")\n19
      \ public class BookingsREST {\n20     private BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {\n27        try {\n28           BookingPK bookingIdTo = this.bs.bookFlight(userid,
      new FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 2857
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 38
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "28           BookingPK bookingIdTo = this.bs.bookFlight(userid, new
      FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);\n37           } else {\n38              bi
      = new BookingInfo(bookingIdTo.getId(), (String)null, oneWay);\n39           }\n40
      \ \n41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 2858
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 51
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET\n49     @Path(\"/bybookingnumber/{userid}/{number}\")\n50
      \    @Produces({\"application/json\"})\n51     public Booking getBookingByNumber(@PathParam(\"number\")
      String number, @FormParam(\"userid\") String userid) {\n52        try {\n53
      \          Booking b = this.bs.getBooking(userid, number);\n54           return
      b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingByNumber
      package: com.acmeair.web
  - id: 2859
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 64
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "54           return b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET\n62     @Path(\"/byuser/{user}\")\n63
      \    @Produces({\"application/json\"})\n64     public List getBookingsByUser(@PathParam(\"user\")
      String user) {\n65        try {\n66           return this.bs.getBookingsByUser(user);\n67
      \       } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.web
  - id: 2860
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 77
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "67        } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})\n75
      \    @Path(\"/cancelbooking\")\n76     @Produces({\"application/json\"})\n77
      \    public Response cancelBookingsByNumber(@FormParam(\"number\") String number,
      @FormParam(\"userid\") String userid) {\n78        try {\n79           this.bs.cancelBooking(userid,
      number);\n80           return Response.ok(\"booking \" + number + \" deleted.\").build();\n81
      \       } catch (Exception var4) {\n82           var4.printStackTrace();\n83
      \          return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n84
      \       }\n85     }\n86  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: cancelBookingsByNumber
      package: com.acmeair.web
  - id: 2861
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 25
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "15  import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 2862
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 26
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "16  import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 2863
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 33
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "23     private HttpServletRequest request;\n24  \n25     private boolean
      validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();\n37
      \          } else {\n38              Customer customer = this.customerService.getCustomerByUsername(customerid);\n39
      \             return Response.ok(customer).build();\n40           }\n41        }
      catch (Exception var4) {\n42           var4.printStackTrace();\n43           return
      null;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: getCustomer
      package: com.acmeair.web
  - id: 2864
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 50
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "40           }\n41        } catch (Exception var4) {\n42           var4.printStackTrace();\n43
      \          return null;\n44        }\n45     }\n46  \n47     @POST\n48     @Path(\"/byid/{custid}\")\n49
      \    @Produces({\"application/json\"})\n50     public Response putCustomer(@CookieParam(\"sessionid\")
      String sessionid, Customer customer) {\n51        if (!this.validate(customer.getUsername()))
      {\n52           return Response.status(Status.FORBIDDEN).build();\n53        }
      else {\n54           Customer customerFromDB = this.customerService.getCustomerByUsernameAndPassword(customer.getUsername(),
      customer.getPassword());\n55           if (customerFromDB == null) {\n56              return
      Response.status(Status.FORBIDDEN).build();\n57           } else {\n58              CustomerAddress
      addressFromDB = customerFromDB.getAddress();\n59              addressFromDB.setStreetAddress1(customer.getAddress().getStreetAddress1());\n60
      \             if (customer.getAddress().getStreetAddress2() != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 2865
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 71
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "61                 addressFromDB.setStreetAddress2(customer.getAddress().getStreetAddress2());\n62
      \             }\n63  \n64              addressFromDB.setCity(customer.getAddress().getCity());\n65
      \             addressFromDB.setStateProvince(customer.getAddress().getStateProvince());\n66
      \             addressFromDB.setCountry(customer.getAddress().getCountry());\n67
      \             addressFromDB.setPostalCode(customer.getAddress().getPostalCode());\n68
      \             customerFromDB.setPhoneNumber(customer.getPhoneNumber());\n69
      \             customerFromDB.setPhoneNumberType(customer.getPhoneNumberType());\n70
      \             this.customerService.updateCustomer(customerFromDB);\n71              customerFromDB.setPassword((String)null);\n72
      \             return Response.ok(customerFromDB).build();\n73           }\n74
      \       }\n75     }\n76  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 2866
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 21
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  \n13  @Path(\"/flights\")\n14
      \ public class FlightsREST {\n15     private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {\n22        TripFlightOptions options = new TripFlightOptions();\n23
      \       ArrayList legs = new ArrayList();\n24        TripLegInfo toInfo = new
      TripLegInfo();\n25        List toFlights = this.flightService.getFlightByAirportsAndDepartureDate(fromAirport,
      toAirport, fromDate);\n26        toInfo.setFlightsOptions(toFlights);\n27        legs.add(toInfo);\n28
      \       toInfo.setCurrentPage(0);\n29        toInfo.setHasMoreOptions(false);\n30
      \       toInfo.setNumPages(1);\n31        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: getTripFlights
      package: com.acmeair.web
  - id: 2867
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 54
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "44        }\n45  \n46        options.setTripFlights(legs);\n47        return
      options;\n48     }\n49  \n50     @POST\n51     @Path(\"/browseflights\")\n52
      \    @Consumes({\"application/x-www-form-urlencoded\"})\n53     @Produces({\"application/json\"})\n54
      \    public TripFlightOptions browseFlights(@FormParam(\"fromAirport\") String
      fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"oneWay\")
      boolean oneWay) {\n55        TripFlightOptions options = new TripFlightOptions();\n56
      \       ArrayList legs = new ArrayList();\n57        TripLegInfo toInfo = new
      TripLegInfo();\n58        List toFlights = this.flightService.getFlightByAirports(fromAirport,
      toAirport);\n59        toInfo.setFlightsOptions(toFlights);\n60        legs.add(toInfo);\n61
      \       toInfo.setCurrentPage(0);\n62        toInfo.setHasMoreOptions(false);\n63
      \       toInfo.setNumPages(1);\n64        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: browseFlights
      package: com.acmeair.web
  - id: 2868
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 99
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 89        String line1 = lnr.readLine();\n 90        StringTokenizer
      st = new StringTokenizer(line1, \",\");\n 91        ArrayList airports = new
      ArrayList();\n 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2869
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 102
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  \n110        label61:\n111
      \       while(true) {\n112           line = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2870
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 124
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "114              for(int jj = 0; jj < airports.size(); ++jj) {\n115
      \                this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2871
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 125
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "115                 this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  \n135           while(true)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2872
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 141
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "131           }\n132  \n133           int indexIntoTopLine = 0;\n134
      \ \n135           while(true) {\n136              while(true) {\n137                 if
      (!st.hasMoreTokens()) {\n138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2873
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 146
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "136              while(true) {\n137                 if (!st.hasMoreTokens())
      {\n138                    continue label61;\n139                 }\n140  \n141
      \                String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2874
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 148
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);\n157                          c.set(12,
      0);\n158                          c.set(13, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2875
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 187
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "177        double hours = (double)mileage / averageSpeed;\n178        double
      partsOfHour = hours % 1.0;\n179        int minutes = (int)(60.0 * partsOfHour);\n180
      \       Calendar c = Calendar.getInstance();\n181        c.setTime(departureTime);\n182
      \       c.add(10, (int)hours);\n183        c.add(12, minutes);\n184        return
      c.getTime();\n185     }\n186  \n187     private static boolean alreadyInCollection(String
      airportCode, ArrayList airports) {\n188        for(int ii = 0; ii < airports.size();
      ++ii) {\n189           if (((AirportCodeMapping)airports.get(ii)).getAirportCode().equals(airportCode))
      {\n190              return true;\n191           }\n192        }\n193  \n194
      \       return false;\n195     }\n196  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: alreadyInCollection
      package: com.acmeair.web
  - id: 2876
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 34
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST
      {\n27     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET\n32     @Path(\"/load\")\n33
      \    @Produces({\"text/plain\"})\n34     public String load() {\n35        return
      this.loadData(10L, 30);\n36     }\n37  \n38     @GET\n39     @Path(\"/loadSmall\")\n40
      \    @Produces({\"text/plain\"})\n41     public String loadSmall() {\n42        return
      this.loadData(5L, 5);\n43     }\n44  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: load
      package: com.acmeair.web
  - id: 2877
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 41
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "31     @GET\n32     @Path(\"/load\")\n33     @Produces({\"text/plain\"})\n34
      \    public String load() {\n35        return this.loadData(10L, 30);\n36     }\n37
      \ \n38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadSmall
      package: com.acmeair.web
  - id: 2878
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 48
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  \n52     private String loadData(long numCustomers, int segments)
      {\n53        synchronized(lock) {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadTiny
      package: com.acmeair.web
  - id: 2879
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 52
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "42        return this.loadData(5L, 5);\n43     }\n44  \n45     @GET\n46
      \    @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48     public
      String loadTiny() {\n49        return this.loadData(2L, 2);\n50     }\n51  \n52
      \    private String loadData(long numCustomers, int segments) {\n53        synchronized(lock)
      {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }\n59  \n60           try {\n61              this.loadFlights(segments);\n62
      \          } catch (Exception var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadData
      package: com.acmeair.web
  - id: 2880
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 72
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "62           } catch (Exception var7) {\n63              var7.printStackTrace();\n64
      \          }\n65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 2881
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 75
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 2882
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 89
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {\n86        System.out.println(\"Loading flight
      data...\");\n87        InputStream csvInputStream = this.getClass().getResourceAsStream(\"/mileage.csv\");\n88
      \       LineNumberReader lnr = new LineNumberReader(new InputStreamReader(csvInputStream));\n89
      \       String line1 = lnr.readLine();\n90        StringTokenizer st = new StringTokenizer(line1,
      \",\");\n91        ArrayList airports = new ArrayList();\n92  \n93        while(st.hasMoreTokens())
      {\n94           AirportCodeMapping acm = new AirportCodeMapping();\n95           acm.setAirportName(st.nextToken());\n96
      \          airports.add(acm);\n97        }\n98  \n99        String line2 = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 2883
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 21
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Field
      name: SESSIONID_COOKIE_NAME
      package: com.acmeair.web
  - id: 2884
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 27
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "17  \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST
      {\n21     public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();\n32
      \          } else {\n33              CustomerSession session = this.customerService.createSession(login);\n34
      \             NewCookie sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, session.getId());\n35
      \             return Response.ok(\"logged in\").cookie(new NewCookie[]{sessCookie}).build();\n36
      \          }\n37        } catch (Exception var6) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: login
      package: com.acmeair.web
  - id: 2885
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 46
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "36           }\n37        } catch (Exception var6) {\n38           var6.printStackTrace();\n39
      \          return null;\n40        }\n41     }\n42  \n43     @GET\n44     @Path(\"/logout\")\n45
      \    @Produces({\"text/plain\"})\n46     public Response logout(@QueryParam(\"login\")
      String login, @CookieParam(\"sessionid\") String sessionid) {\n47        try
      {\n48           this.customerService.invalidateSession(sessionid);\n49           NewCookie
      sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, \"\");\n50           return
      Response.ok(\"logged out\").cookie(new NewCookie[]{sessCookie}).build();\n51
      \       } catch (Exception var4) {\n52           var4.printStackTrace();\n53
      \          return null;\n54        }\n55     }\n56  }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: logout
      package: com.acmeair.web
  - id: 2886
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 19
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_USER
      package: com.acmeair.web
  - id: 2887
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 20
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "10  import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_PATH
      package: com.acmeair.web
  - id: 2888
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 21
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "11  import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }\n30  \n31     public void doFilter(ServletRequest
      req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGOUT_PATH
      package: com.acmeair.web
  - id: 2889
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 2890
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 55
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "45                 Cookie c = var9[var11];\n46                 if (c.getName().equals(LoginREST.SESSIONID_COOKIE_NAME))
      {\n47                    sessionCookie = c;\n48                 }\n49  \n50
      \                if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 2891
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 13
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: " 3  import com.acmeair.web.config.WXSDirectAppConfig;\n 4  import java.util.concurrent.atomic.AtomicReference;\n
      5  import java.util.logging.Logger;\n 6  import javax.naming.Context;\n 7  import
      javax.naming.InitialContext;\n 8  import javax.naming.NamingException;\n 9  import
      org.springframework.context.ApplicationContext;\n10  import org.springframework.context.annotation.AnnotationConfigApplicationContext;\n11
      \ \n12  public class ServiceLocator {\n13     public static String REPOSITORY_LOOKUP_KEY
      = \"com.acmeair.repository.type\";\n14     final ApplicationContext ctx;\n15
      \    private static Logger logger = Logger.getLogger(ServiceLocator.class.getName());\n16
      \    private static AtomicReference singletonServiceLocator = new AtomicReference();\n17
      \ \n18     static ServiceLocator instance() {\n19        if (singletonServiceLocator.get()
      == null) {\n20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Field
      name: REPOSITORY_LOOKUP_KEY
      package: com.acmeair.web
  - id: 2892
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 30
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 2893
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 31
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "21              if (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 2894
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 32
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "22                 singletonServiceLocator.set(new ServiceLocator());\n23
      \             }\n24           }\n25        }\n26  \n27        return (ServiceLocator)singletonServiceLocator.get();\n28
      \    }\n29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 2895
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 39
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 2896
    createTime: 2024-07-22T06:22:27.156720947Z
    issue: 35
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 48
    message: Method encodeRedirectUrl(String) in javax.servlet.http.HttpServletResponse
      has been removed. Use encodeRedirectURL(String) instead.
    codeSnip: "38           if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {\n50                 logger.info(\"Found repository in server.xml:\"
      + type);\n51              }\n52           } catch (NamingException var6) {\n53
      \          }\n54        }\n55  \n56        if (type == null) {\n57           type
      = System.getProperty(REPOSITORY_LOOKUP_KEY);\n58           if (type != null)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 36
  createTime: 2024-07-22T06:22:27.16975768Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00110
  name: ""
  description: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
    been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 2897
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 11
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2898
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 12
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class AirportCodeMapping
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String airportName;\n13
      \ \n14     public AirportCodeMapping() {\n15     }\n16  \n17     public AirportCodeMapping(String
      airportCode, String airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: airportName
      package: com.acmeair.entities
  - id: 2899
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n
      6  \n 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 2900
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 17
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 2901
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 22
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;\n28     }\n29  \n30     public
      String getAirportName() {\n31        return this.airportName;\n32     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportCode
      package: com.acmeair.entities
  - id: 2902
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16  \n17     public AirportCodeMapping(String airportCode, String airportName)
      {\n18        this.id = airportCode;\n19        this.airportName = airportName;\n20
      \    }\n21  \n22     public String getAirportCode() {\n23        return this.id;\n24
      \    }\n25  \n26     public void setAirportCode(String airportCode) {\n27        this.id
      = airportCode;\n28     }\n29  \n30     public String getAirportName() {\n31
      \       return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportCode
      package: com.acmeair.entities
  - id: 2903
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 30
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "20     }\n21  \n22     public String getAirportCode() {\n23        return
      this.id;\n24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportName
      package: com.acmeair.entities
  - id: 2904
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 34
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportName
      package: com.acmeair.entities
  - id: 2905
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 25
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "15     private FlightPK flightKey;\n16     private Date dateOfBooking;\n17
      \    @ManyToOne\n18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 2906
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 28
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ \n36     public BookingPK getPkey() {\n37        return this.pkey;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 2907
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 40
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "30        this.flightKey = flight.getPkey();\n31        this.dateOfBooking
      = dateOfFlight;\n32        this.customer = customer;\n33        this.flight
      = flight;\n34     }\n35  \n36     public BookingPK getPkey() {\n37        return
      this.pkey;\n38     }\n39  \n40     public String getCustomerId() {\n41        return
      this.pkey.getCustomerId();\n42     }\n43  \n44     public void setPkey(BookingPK
      pkey) {\n45        this.pkey = pkey;\n46     }\n47  \n48     public FlightPK
      getFlightKey() {\n49        return this.flightKey;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 2908
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 76
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "66     }\n67  \n68     public Customer getCustomer() {\n69        return
      this.customer;\n70     }\n71  \n72     public Flight getFlight() {\n73        return
      this.flight;\n74     }\n75  \n76     public String toString() {\n77        return
      \"Booking [key=\" + this.pkey + \", flightKey=\" + this.flightKey + \", dateOfBooking=\"
      + this.dateOfBooking + \", customer=\" + this.customer + \", flight=\" + this.flight
      + \"]\";\n78     }\n79  \n80     public boolean equals(Object obj) {\n81        if
      (this == obj) {\n82           return true;\n83        } else if (obj == null)
      {\n84           return false;\n85        } else if (this.getClass() != obj.getClass())
      {\n86           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2909
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      BookingPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"bookingId\"\n12     )\n13     private
      String id;\n14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2910
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: customerId
      package: com.acmeair.entities
  - id: 2911
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 2912
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 19
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 2913
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 24
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ \n24     public String getId() {\n25        return this.id;\n26     }\n27
      \ \n28     public void setId(String id) {\n29        this.id = id;\n30     }\n31
      \ \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2914
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 28
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "18  \n19     public BookingPK(String customerId, String id) {\n20        this.id
      = id;\n21        this.customerId = customerId;\n22     }\n23  \n24     public
      String getId() {\n25        return this.id;\n26     }\n27  \n28     public void
      setId(String id) {\n29        this.id = id;\n30     }\n31  \n32     public String
      getCustomerId() {\n33        return this.customerId;\n34     }\n35  \n36     public
      void setCustomerId(String customerId) {\n37        this.customerId = customerId;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2915
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 32
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }\n35  \n36     public void setCustomerId(String customerId) {\n37        this.customerId
      = customerId;\n38     }\n39  \n40     public int hashCode() {\n41        int
      prime = true;\n42        int result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 2916
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 36
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getCustomerId() {\n33        return
      this.customerId;\n34     }\n35  \n36     public void setCustomerId(String customerId)
      {\n37        this.customerId = customerId;\n38     }\n39  \n40     public int
      hashCode() {\n41        int prime = true;\n42        int result = 1;\n43        result
      = 31 * result + (this.customerId == null ? 0 : this.customerId.hashCode());\n44
      \       result = 31 * result + (this.id == null ? 0 : this.id.hashCode());\n45
      \       return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setCustomerId
      package: com.acmeair.entities
  - id: 2917
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 77
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"BookingPK [customerId=\" + this.customerId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2918
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;\n18
      \    private MemberShipStatus status;\n19     private int total_miles;\n20     private
      int miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23
      \    private String phoneNumber;\n24     private PhoneType phoneNumberType;\n25
      \ \n26     public Customer() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2919
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 17
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      Customer implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15
      \    )\n16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: password
      package: com.acmeair.entities
  - id: 2920
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 104
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 94     }\n 95  \n 96     public CustomerAddress getAddress() {\n 97
      \       return this.address;\n 98     }\n 99  \n100     public void setAddress(CustomerAddress
      address) {\n101        this.address = address;\n102     }\n103  \n104     public
      String toString() {\n105        return \"Customer [id=\" + this.id + \", password=\"
      + this.password + \", status=\" + this.status + \", total_miles=\" + this.total_miles
      + \", miles_ytd=\" + this.miles_ytd + \", address=\" + this.address + \", phoneNumber=\"
      + this.phoneNumber + \", phoneNumberType=\" + this.phoneNumberType + \"]\";\n106
      \    }\n107  \n108     public boolean equals(Object obj) {\n109        if (this
      == obj) {\n110           return true;\n111        } else if (obj == null) {\n112
      \          return false;\n113        } else if (this.getClass() != obj.getClass())
      {\n114           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2921
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 23
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16
      \    private String id;\n17     private String password;\n18     private MemberShipStatus
      status;\n19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: phoneNumber
      package: com.acmeair.entities
  - id: 2922
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 163
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "153                 return false;\n154              } else if (this.status
      != other.status) {\n155                 return false;\n156              } else
      {\n157                 return this.total_miles == other.total_miles;\n158              }\n159
      \          }\n160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 2923
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 2924
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 170
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,\n174        PLATINUM,\n175        EXEC_PLATINUM,\n176
      \       GRAPHITE;\n177     }\n178  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 2925
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 29
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;\n37
      \       this.phoneNumberType = phoneNumberType;\n38     }\n39  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 2926
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 40
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "30        this.id = username;\n31        this.password = password;\n32
      \       this.status = status;\n33        this.total_miles = total_miles;\n34
      \       this.miles_ytd = miles_ytd;\n35        this.address = address;\n36        this.phoneNumber
      = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38     }\n39
      \ \n40     public String getUsername() {\n41        return this.id;\n42     }\n43
      \ \n44     public void setUsername(String username) {\n45        this.id = username;\n46
      \    }\n47  \n48     public String getPassword() {\n49        return this.password;\n50
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getUsername
      package: com.acmeair.entities
  - id: 2927
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 44
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "34        this.miles_ytd = miles_ytd;\n35        this.address = address;\n36
      \       this.phoneNumber = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38
      \    }\n39  \n40     public String getUsername() {\n41        return this.id;\n42
      \    }\n43  \n44     public void setUsername(String username) {\n45        this.id
      = username;\n46     }\n47  \n48     public String getPassword() {\n49        return
      this.password;\n50     }\n51  \n52     public void setPassword(String password)
      {\n53        this.password = password;\n54     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setUsername
      package: com.acmeair.entities
  - id: 2928
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 48
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "38     }\n39  \n40     public String getUsername() {\n41        return
      this.id;\n42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPassword
      package: com.acmeair.entities
  - id: 2929
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 52
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }\n59
      \ \n60     public void setStatus(MemberShipStatus status) {\n61        this.status
      = status;\n62     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPassword
      package: com.acmeair.entities
  - id: 2930
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 80
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "70     }\n71  \n72     public int getMiles_ytd() {\n73        return
      this.miles_ytd;\n74     }\n75  \n76     public void setMiles_ytd(int miles_ytd)
      {\n77        this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String
      getPhoneNumber() {\n81        return this.phoneNumber;\n82     }\n83  \n84     public
      void setPhoneNumber(String phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86
      \    }\n87  \n88     public PhoneType getPhoneNumberType() {\n89        return
      this.phoneNumberType;\n90     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPhoneNumber
      package: com.acmeair.entities
  - id: 2931
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 84
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "74     }\n75  \n76     public void setMiles_ytd(int miles_ytd) {\n77
      \       this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String getPhoneNumber()
      {\n81        return this.phoneNumber;\n82     }\n83  \n84     public void setPhoneNumber(String
      phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86     }\n87  \n88
      \    public PhoneType getPhoneNumberType() {\n89        return this.phoneNumberType;\n90
      \    }\n91  \n92     public void setPhoneNumberType(PhoneType phoneNumberType)
      {\n93        this.phoneNumberType = phoneNumberType;\n94     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPhoneNumber
      package: com.acmeair.entities
  - id: 2932
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 44
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCity
      package: com.acmeair.entities
  - id: 2933
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 48
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCity
      package: com.acmeair.entities
  - id: 2934
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 52
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStateProvince
      package: com.acmeair.entities
  - id: 2935
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 56
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStateProvince
      package: com.acmeair.entities
  - id: 2936
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 60
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCountry
      package: com.acmeair.entities
  - id: 2937
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 64
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCountry
      package: com.acmeair.entities
  - id: 2938
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 68
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getPostalCode
      package: com.acmeair.entities
  - id: 2939
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 72
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setPostalCode
      package: com.acmeair.entities
  - id: 2940
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 76
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2941
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 9
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress1
      package: com.acmeair.entities
  - id: 2942
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 10
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress2
      package: com.acmeair.entities
  - id: 2943
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 11
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: city
      package: com.acmeair.entities
  - id: 2944
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 12
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: stateProvince
      package: com.acmeair.entities
  - id: 2945
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: country
      package: com.acmeair.entities
  - id: 2946
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7
      \ public class CustomerAddress implements Serializable {\n 8     private static
      final long serialVersionUID = 1L;\n 9     private String streetAddress1;\n10
      \    private String streetAddress2;\n11     private String city;\n12     private
      String stateProvince;\n13     private String country;\n14     private String
      postalCode;\n15  \n16     public CustomerAddress() {\n17     }\n18  \n19     public
      CustomerAddress(String streetAddress1, String streetAddress2, String city, String
      stateProvince, String country, String postalCode) {\n20        this.streetAddress1
      = streetAddress1;\n21        this.streetAddress2 = streetAddress2;\n22        this.city
      = city;\n23        this.stateProvince = stateProvince;\n24        this.country
      = country;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: postalCode
      package: com.acmeair.entities
  - id: 2947
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 2948
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 19
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 9     private String streetAddress1;\n10     private String streetAddress2;\n11
      \    private String city;\n12     private String stateProvince;\n13     private
      String country;\n14     private String postalCode;\n15  \n16     public CustomerAddress()
      {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1, String
      streetAddress2, String city, String stateProvince, String country, String postalCode)
      {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 2949
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 28
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress1
      package: com.acmeair.entities
  - id: 2950
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 32
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "22        this.city = city;\n23        this.stateProvince = stateProvince;\n24
      \       this.country = country;\n25        this.postalCode = postalCode;\n26
      \    }\n27  \n28     public String getStreetAddress1() {\n29        return this.streetAddress1;\n30
      \    }\n31  \n32     public void setStreetAddress1(String streetAddress1) {\n33
      \       this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress1
      package: com.acmeair.entities
  - id: 2951
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 36
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "26     }\n27  \n28     public String getStreetAddress1() {\n29        return
      this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }\n39  \n40     public void setStreetAddress2(String streetAddress2) {\n41
      \       this.streetAddress2 = streetAddress2;\n42     }\n43  \n44     public
      String getCity() {\n45        return this.city;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress2
      package: com.acmeair.entities
  - id: 2952
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 40
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "30     }\n31  \n32     public void setStreetAddress1(String streetAddress1)
      {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }\n43  \n44     public String getCity() {\n45        return
      this.city;\n46     }\n47  \n48     public void setCity(String city) {\n49        this.city
      = city;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress2
      package: com.acmeair.entities
  - id: 2953
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class CustomerSession implements Serializable {\n11
      \    private static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14
      \       columnDefinition = \"VARCHAR\"\n15     )\n16     private String id;\n17
      \    private String customerid;\n18     private Date lastAccessedTime;\n19     private
      Date timeoutTime;\n20  \n21     public CustomerSession() {\n22     }\n23  \n24
      \    public CustomerSession(String id, String customerid, Date lastAccessedTime,
      Date timeoutTime) {\n25        this.id = id;\n26        this.customerid = customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2954
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 17
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      CustomerSession implements Serializable {\n11     private static final long
      serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;\n18
      \    private Date lastAccessedTime;\n19     private Date timeoutTime;\n20  \n21
      \    public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: customerid
      package: com.acmeair.entities
  - id: 2955
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 21
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "11     private static final long serialVersionUID = 1L;\n12     @Id\n13
      \    @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 2956
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 24
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 2957
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 31
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "21     public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;\n28        this.timeoutTime = timeoutTime;\n29     }\n30
      \ \n31     public String getId() {\n32        return this.id;\n33     }\n34
      \ \n35     public void setId(String id) {\n36        this.id = id;\n37     }\n38
      \ \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2958
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 35
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "25        this.id = id;\n26        this.customerid = customerid;\n27
      \       this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2959
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 39
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "29     }\n30  \n31     public String getId() {\n32        return this.id;\n33
      \    }\n34  \n35     public void setId(String id) {\n36        this.id = id;\n37
      \    }\n38  \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }\n42  \n43     public void setCustomerid(String customerid) {\n44        this.customerid
      = customerid;\n45     }\n46  \n47     public Date getLastAccessedTime() {\n48
      \       return this.lastAccessedTime;\n49     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getCustomerid
      package: com.acmeair.entities
  - id: 2960
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 43
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }\n46  \n47     public Date
      getLastAccessedTime() {\n48        return this.lastAccessedTime;\n49     }\n50
      \ \n51     public void setLastAccessedTime(Date lastAccessedTime) {\n52        this.lastAccessedTime
      = lastAccessedTime;\n53     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setCustomerid
      package: com.acmeair.entities
  - id: 2961
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 63
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "53     }\n54  \n55     public Date getTimeoutTime() {\n56        return
      this.timeoutTime;\n57     }\n58  \n59     public void setTimeoutTime(Date timeoutTime)
      {\n60        this.timeoutTime = timeoutTime;\n61     }\n62  \n63     public
      String toString() {\n64        return \"CustomerSession [id=\" + this.id + \",
      customerid=\" + this.customerid + \", lastAccessedTime=\" + this.lastAccessedTime
      + \", timeoutTime=\" + this.timeoutTime + \"]\";\n65     }\n66  \n67     public
      boolean equals(Object obj) {\n68        if (this == obj) {\n69           return
      true;\n70        } else if (obj == null) {\n71           return false;\n72        }
      else if (this.getClass() != obj.getClass()) {\n73           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2962
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 97
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 87     }\n 88  \n 89     public int getNumEconomyClassSeats() {\n
      90        return this.numEconomyClassSeats;\n 91     }\n 92  \n 93     public
      void setNumEconomyClassSeats(int numEconomyClassSeats) {\n 94        this.numEconomyClassSeats
      = numEconomyClassSeats;\n 95     }\n 96  \n 97     public String getAirplaneTypeId()
      {\n 98        return this.airplaneTypeId;\n 99     }\n100  \n101     public
      void setAirplaneTypeId(String airplaneTypeId) {\n102        this.airplaneTypeId
      = airplaneTypeId;\n103     }\n104  \n105     public FlightSegment getFlightSegment()
      {\n106        return this.flightSegment;\n107     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getAirplaneTypeId
      package: com.acmeair.entities
  - id: 2963
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 101
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 91     }\n 92  \n 93     public void setNumEconomyClassSeats(int numEconomyClassSeats)
      {\n 94        this.numEconomyClassSeats = numEconomyClassSeats;\n 95     }\n
      96  \n 97     public String getAirplaneTypeId() {\n 98        return this.airplaneTypeId;\n
      99     }\n100  \n101     public void setAirplaneTypeId(String airplaneTypeId)
      {\n102        this.airplaneTypeId = airplaneTypeId;\n103     }\n104  \n105     public
      FlightSegment getFlightSegment() {\n106        return this.flightSegment;\n107
      \    }\n108  \n109     public void setFlightSegment(FlightSegment flightSegment)
      {\n110        this.flightSegment = flightSegment;\n111     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: setAirplaneTypeId
      package: com.acmeair.entities
  - id: 2964
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 20
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "10  public class Flight implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @EmbeddedId\n13     private FlightPK
      pkey;\n14     private Date scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16
      \    private BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;\n18
      \    private int numFirstClassSeats;\n19     private int numEconomyClassSeats;\n20
      \    private String airplaneTypeId;\n21     private FlightSegment flightSegment;\n22
      \ \n23     public Flight() {\n24     }\n25  \n26     public Flight(String id,
      String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n27        this.pkey = new
      FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime = scheduledDepartureTime;\n29
      \       this.scheduledArrivalTime = scheduledArrivalTime;\n30        this.firstClassBaseCost
      = firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Field
      name: airplaneTypeId
      package: com.acmeair.entities
  - id: 2965
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 113
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "103     }\n104  \n105     public FlightSegment getFlightSegment() {\n106
      \       return this.flightSegment;\n107     }\n108  \n109     public void setFlightSegment(FlightSegment
      flightSegment) {\n110        this.flightSegment = flightSegment;\n111     }\n112
      \ \n113     public String toString() {\n114        return \"Flight key=\" +
      this.pkey + \", scheduledDepartureTime=\" + this.scheduledDepartureTime + \",
      scheduledArrivalTime=\" + this.scheduledArrivalTime + \", firstClassBaseCost=\"
      + this.firstClassBaseCost + \", economyClassBaseCost=\" + this.economyClassBaseCost
      + \", numFirstClassSeats=\" + this.numFirstClassSeats + \", numEconomyClassSeats=\"
      + this.numEconomyClassSeats + \", airplaneTypeId=\" + this.airplaneTypeId +
      \"]\";\n115     }\n116  \n117     public boolean equals(Object obj) {\n118        if
      (this == obj) {\n119           return true;\n120        } else if (obj == null)
      {\n121           return false;\n122        } else if (this.getClass() != obj.getClass())
      {\n123           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2966
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 23
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "13     private FlightPK pkey;\n14     private Date scheduledDepartureTime;\n15
      \    private Date scheduledArrivalTime;\n16     private BigDecimal firstClassBaseCost;\n17
      \    private BigDecimal economyClassBaseCost;\n18     private int numFirstClassSeats;\n19
      \    private int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21
      \    private FlightSegment flightSegment;\n22  \n23     public Flight() {\n24
      \    }\n25  \n26     public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 2967
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16     private BigDecimal firstClassBaseCost;\n17     private BigDecimal
      economyClassBaseCost;\n18     private int numFirstClassSeats;\n19     private
      int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21     private
      FlightSegment flightSegment;\n22  \n23     public Flight() {\n24     }\n25  \n26
      \    public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;\n34        this.airplaneTypeId
      = airplaneTypeId;\n35     }\n36  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 2968
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 45
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "35     }\n36  \n37     public FlightPK getPkey() {\n38        return
      this.pkey;\n39     }\n40  \n41     public void setPkey(FlightPK pkey) {\n42
      \       this.pkey = pkey;\n43     }\n44  \n45     public String getFlightSegmentId()
      {\n46        return this.pkey.getFlightSegmentId();\n47     }\n48  \n49     public
      Date getScheduledDepartureTime() {\n50        return this.scheduledDepartureTime;\n51
      \    }\n52  \n53     public void setScheduledDepartureTime(Date scheduledDepartureTime)
      {\n54        this.scheduledDepartureTime = scheduledDepartureTime;\n55     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 2969
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      FlightPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"flightId\"\n12     )\n13     private
      String id;\n14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2970
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: flightSegmentId
      package: com.acmeair.entities
  - id: 2971
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 2972
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 19
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }\n27  \n28
      \    public void setId(String id) {\n29        this.id = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 2973
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 24
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 2974
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 28
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "18  \n19     public FlightPK(String flightSegmentId, String id) {\n20
      \       this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 2975
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 32
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 2976
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 36
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;\n43        result = 31 * result + (this.flightSegmentId == null
      ? 0 : this.flightSegmentId.hashCode());\n44        result = 31 * result + (this.id
      == null ? 0 : this.id.hashCode());\n45        return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setFlightSegmentId
      package: com.acmeair.entities
  - id: 2977
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 77
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"FlightPK [flightSegmentId=\" + this.flightSegmentId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2978
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 11
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 2979
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 12
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: originPort
      package: com.acmeair.entities
  - id: 2980
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;\n23
      \       this.miles = miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: destPort
      package: com.acmeair.entities
  - id: 2981
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  \n 7  @Entity\n 8  public class FlightSegment implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 2982
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 19
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Id\n11
      \    private String id;\n12     private String originPort;\n13     private String
      destPort;\n14     private int miles;\n15  \n16     public FlightSegment() {\n17
      \    }\n18  \n19     public FlightSegment(String flightName, String origPort,
      String destPort, int miles) {\n20        this.id = flightName;\n21        this.originPort
      = origPort;\n22        this.destPort = destPort;\n23        this.miles = miles;\n24
      \    }\n25  \n26     public String getFlightName() {\n27        return this.id;\n28
      \    }\n29  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 2983
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16     public FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String
      flightName, String origPort, String destPort, int miles) {\n20        this.id
      = flightName;\n21        this.originPort = origPort;\n22        this.destPort
      = destPort;\n23        this.miles = miles;\n24     }\n25  \n26     public String
      getFlightName() {\n27        return this.id;\n28     }\n29  \n30     public
      void setFlightName(String flightName) {\n31        this.id = flightName;\n32
      \    }\n33  \n34     public String getOriginPort() {\n35        return this.originPort;\n36
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getFlightName
      package: com.acmeair.entities
  - id: 2984
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 30
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {\n27        return this.id;\n28     }\n29
      \ \n30     public void setFlightName(String flightName) {\n31        this.id
      = flightName;\n32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setFlightName
      package: com.acmeair.entities
  - id: 2985
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 34
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "24     }\n25  \n26     public String getFlightName() {\n27        return
      this.id;\n28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getOriginPort
      package: com.acmeair.entities
  - id: 2986
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 38
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46
      \    public void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setOriginPort
      package: com.acmeair.entities
  - id: 2987
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 42
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getDestPort
      package: com.acmeair.entities
  - id: 2988
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 46
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setDestPort
      package: com.acmeair.entities
  - id: 2989
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 58
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "48     }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }\n57  \n58     public String toString() {\n59        StringBuffer
      sb = new StringBuffer();\n60        sb.append(\"FlightSegment \").append(this.id).append(\"
      originating from:\\\"\").append(this.originPort).append(\"\\\" arriving at:\\\"\").append(this.destPort).append(\"\\\"\");\n61
      \       return sb.toString();\n62     }\n63  \n64     public boolean equals(Object
      obj) {\n65        if (this == obj) {\n66           return true;\n67        }
      else if (obj == null) {\n68           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 2990
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 36
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "26     @Resource\n27     FlightService flightService;\n28     @Resource\n29
      \    CustomerService customerService;\n30     @Resource\n31     KeyGenerator
      keyGenerator;\n32  \n33     @Transactional(\n34        propagation = Propagation.REQUIRED\n35
      \    )\n36     public BookingPK bookFlight(String customerId, FlightPK flightId)
      {\n37        try {\n38           Flight f = this.flightService.getFlightByFlightKey(flightId);\n39
      \          Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: bookFlight
      package: com.acmeair.jpa.service
  - id: 2991
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 49
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "39           Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }\n47     }\n48  \n49     public Booking
      getBooking(String user, String id) {\n50        BookingPK key = new BookingPK(user,
      id);\n51        return (Booking)this.em.find(Booking.class, key);\n52     }\n53
      \ \n54     public List getBookingsByUser(String user) {\n55        Query q =
      this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBooking
      package: com.acmeair.jpa.service
  - id: 2992
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 54
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "44        } catch (Exception var7) {\n45           throw new RuntimeException(var7);\n46
      \       }\n47     }\n48  \n49     public Booking getBooking(String user, String
      id) {\n50        BookingPK key = new BookingPK(user, id);\n51        return
      (Booking)this.em.find(Booking.class, key);\n52     }\n53  \n54     public List
      getBookingsByUser(String user) {\n55        Query q = this.em.createQuery(\"SELECT
      obj FROM Booking obj where obj.customer.id=?1\");\n56        q.setParameter(1,
      user);\n57        List results = q.getResultList();\n58        return results;\n59
      \    }\n60  \n61     @Transactional(\n62        propagation = Propagation.REQUIRED\n63
      \    )\n64     public void cancelBooking(String user, String id) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.jpa.service
  - id: 2993
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 64
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "54     public List getBookingsByUser(String user) {\n55        Query
      q = this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }\n60  \n61     @Transactional(\n62        propagation
      = Propagation.REQUIRED\n63     )\n64     public void cancelBooking(String user,
      String id) {\n65        Booking booking = this.getBooking(user, id);\n66        if
      (booking != null) {\n67           this.em.remove(booking);\n68        }\n69
      \ \n70     }\n71  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.jpa.service
  - id: 2994
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 110
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "100              }\n101           }\n102        } catch (Exception
      var4) {\n103           throw new RuntimeException(var4);\n104        }\n105
      \    }\n106  \n107     @Transactional(\n108        propagation = Propagation.REQUIRED\n109
      \    )\n110     public CustomerSession createSession(String customerId) {\n111
      \       try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 2995
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 112
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "102        } catch (Exception var4) {\n103           throw new RuntimeException(var4);\n104
      \       }\n105     }\n106  \n107     @Transactional(\n108        propagation
      = Propagation.REQUIRED\n109     )\n110     public CustomerSession createSession(String
      customerId) {\n111        try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;\n121        } catch (Exception var7) {\n122           throw
      new RuntimeException(var7);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 2996
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 129
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "119           this.em.persist(cSession);\n120           return cSession;\n121
      \       } catch (Exception var7) {\n122           throw new RuntimeException(var7);\n123
      \       }\n124     }\n125  \n126     @Transactional(\n127        propagation
      = Propagation.REQUIRED\n128     )\n129     public void invalidateSession(String
      sessionid) {\n130        try {\n131           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n132           if (cSession != null) {\n133              this.em.remove(cSession);\n134
      \          }\n135  \n136        } catch (Exception var3) {\n137           throw
      new RuntimeException(var3);\n138        }\n139     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.jpa.service
  - id: 2997
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 28
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "18  public class CustomerServiceImpl implements CustomerService {\n19
      \    private static final int DAYS_TO_ALLOW_SESSION = 1;\n20     @Autowired\n21
      \    EntityManager em;\n22     @Resource\n23     KeyGenerator keyGenerator;\n24
      \ \n25     @Transactional(\n26        propagation = Propagation.REQUIRED\n27
      \    )\n28     public Customer createCustomer(String username, String password,
      Customer.MemberShipStatus status, int total_miles, int miles_ytd, String phoneNumber,
      Customer.PhoneType phoneNumberType, CustomerAddress address) {\n29        Customer
      customer = new Customer(username, password, status, total_miles, miles_ytd,
      address, phoneNumber, phoneNumberType);\n30  \n31        try {\n32           this.em.persist(customer);\n33
      \          return customer;\n34        } catch (Exception var11) {\n35           throw
      new RuntimeException(var11);\n36        }\n37     }\n38  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createCustomer
      package: com.acmeair.jpa.service
  - id: 2998
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 65
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "55           customer.setPhoneNumberType(updatedCustomer.getPhoneNumberType());\n56
      \          customer.setStatus(updatedCustomer.getStatus());\n57           customer.setTotal_miles(updatedCustomer.getTotal_miles());\n58
      \          this.em.persist(customer);\n59           return customer;\n60        }
      catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.jpa.service
  - id: 2999
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 70
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "60        } catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }\n76  \n77        return
      validatedCustomer;\n78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.jpa.service
  - id: 3000
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 80
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "70     public boolean validateCustomer(String username, String password)
      {\n71        boolean validatedCustomer = false;\n72        Customer customerToValidate
      = this.getCustomerByUsername(username);\n73        if (customerToValidate !=
      null) {\n74           validatedCustomer = password.equals(customerToValidate.getPassword());\n75
      \       }\n76  \n77        return validatedCustomer;\n78     }\n79  \n80     public
      Customer getCustomerByUsernameAndPassword(String username, String password)
      {\n81        Customer c = this.getCustomerByUsername(username);\n82        return
      !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85     @Transactional(\n86
      \       propagation = Propagation.REQUIRED\n87     )\n88     public CustomerSession
      validateSession(String sessionid) {\n89        try {\n90           CustomerSession
      cSession = (CustomerSession)this.em.find(CustomerSession.class, sessionid);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.jpa.service
  - id: 3001
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 88
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {\n81        Customer c = this.getCustomerByUsername(username);\n82
      \       return !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85
      \    @Transactional(\n86        propagation = Propagation.REQUIRED\n87     )\n88
      \    public CustomerSession validateSession(String sessionid) {\n89        try
      {\n90           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n91           if (cSession == null) {\n92              return null;\n93
      \          } else {\n94              Date now = new Date();\n95              if
      (cSession.getTimeoutTime().before(now)) {\n96                 this.em.remove(cSession);\n97
      \                return null;\n98              } else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateSession
      package: com.acmeair.jpa.service
  - id: 3002
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 104
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 94           } catch (Exception var4) {\n 95              throw new
      RuntimeException(var4);\n 96           }\n 97        }\n 98  \n 99     }\n100
      \ \n101     @Transactional(\n102        propagation = Propagation.REQUIRED\n103
      \    )\n104     public Flight createNewFlight(String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n105
      \       try {\n106           String id = this.keyGenerator.generate().toString();\n107
      \          Flight flight = new Flight(id, flightSegmentId, scheduledDepartureTime,
      scheduledArrivalTime, firstClassBaseCost, economyClassBaseCost, numFirstClassSeats,
      numEconomyClassSeats, airplaneTypeId);\n108           this.em.persist(flight);\n109
      \          return flight;\n110        } catch (Exception var11) {\n111           throw
      new RuntimeException(var11);\n112        }\n113     }\n114  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3003
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 106
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 96           }\n 97        }\n 98  \n 99     }\n100  \n101     @Transactional(\n102
      \       propagation = Propagation.REQUIRED\n103     )\n104     public Flight
      createNewFlight(String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n105        try {\n106           String
      id = this.keyGenerator.generate().toString();\n107           Flight flight =
      new Flight(id, flightSegmentId, scheduledDepartureTime, scheduledArrivalTime,
      firstClassBaseCost, economyClassBaseCost, numFirstClassSeats, numEconomyClassSeats,
      airplaneTypeId);\n108           this.em.persist(flight);\n109           return
      flight;\n110        } catch (Exception var11) {\n111           throw new RuntimeException(var11);\n112
      \       }\n113     }\n114  \n115     @Transactional(\n116        propagation
      = Propagation.REQUIRED"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3004
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 33
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "23  public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource\n27     KeyGenerator keyGenerator;\n28
      \ \n29     public Flight getFlightByFlightKey(FlightPK key) {\n30        return
      (Flight)this.em.find(Flight.class, key);\n31     }\n32  \n33     public List
      getFlightByAirportsAndDepartureDate(String fromAirport, String toAirport, Date
      deptDate) {\n34        List flights = new ArrayList();\n35        Query q =
      this.em.createQuery(\"SELECT obj FROM FlightSegment obj where obj.destPort=?1
      and obj.originPort=?2\");\n36        q.setParameter(1, toAirport);\n37        q.setParameter(2,
      fromAirport);\n38        List results = q.getResultList();\n39        Iterator
      var7 = results.iterator();\n40  \n41        while(var7.hasNext()) {\n42           FlightSegment
      seg = (FlightSegment)var7.next();\n43           Query qq = this.em.createQuery(\"SELECT
      obj FROM Flight obj where  obj.scheduledDepartureTime=?1 and obj.pkey.flightSegmentId=?2\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.jpa.service
  - id: 3005
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 59
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "49           while(var11.hasNext()) {\n50              Flight flight
      = (Flight)var11.next();\n51              flight.setFlightSegment(seg);\n52              flights.add(flight);\n53
      \          }\n54        }\n55  \n56        return flights;\n57     }\n58  \n59
      \    public List getFlightByAirports(String fromAirport, String toAirport) {\n60
      \       Query q = this.em.createQuery(\"SELECT obj FROM FlightSegment obj where
      obj.destPort=?1 and obj.originPort=?2\");\n61        q.setParameter(1, toAirport);\n62
      \       q.setParameter(2, fromAirport);\n63        List flights = new ArrayList();\n64
      \       List results = q.getResultList();\n65        Iterator var6 = results.iterator();\n66
      \ \n67        while(var6.hasNext()) {\n68           FlightSegment seg = (FlightSegment)var6.next();\n69
      \          Query qq = this.em.createQuery(\"SELECT obj FROM Flight obj where
      obj.pkey.flightSegmentId=?1\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.jpa.service
  - id: 3006
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 9
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: bookFlight
      package: com.acmeair.service
  - id: 3007
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 11
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBooking
      package: com.acmeair.service
  - id: 3008
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n 7  \n
      8  public interface BookingService {\n 9     BookingPK bookFlight(String var1,
      FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.service
  - id: 3009
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 15
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n
      7  \n 8  public interface BookingService {\n 9     BookingPK bookFlight(String
      var1, FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.service
  - id: 3010
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 8
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createCustomer
      package: com.acmeair.service
  - id: 3011
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 12
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.entities.CustomerSession;\n 6  \n 7  public interface
      CustomerService {\n 8     Customer createCustomer(String var1, String var2,
      Customer.MemberShipStatus var3, int var4, int var5, String var6, Customer.PhoneType
      var7, CustomerAddress var8);\n 9  \n10     Customer updateCustomer(Customer
      var1);\n11  \n12     Customer getCustomerByUsername(String var1);\n13  \n14
      \    boolean validateCustomer(String var1, String var2);\n15  \n16     Customer
      getCustomerByUsernameAndPassword(String var1, String var2);\n17  \n18     CustomerSession
      validateSession(String var1);\n19  \n20     CustomerSession createSession(String
      var1);\n21  \n22     void invalidateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.service
  - id: 3012
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.service
  - id: 3013
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.service
  - id: 3014
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 18
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 8     Customer createCustomer(String var1, String var2, Customer.MemberShipStatus
      var3, int var4, int var5, String var6, Customer.PhoneType var7, CustomerAddress
      var8);\n 9  \n10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateSession
      package: com.acmeair.service
  - id: 3015
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 20
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createSession
      package: com.acmeair.service
  - id: 3016
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 22
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "12     Customer getCustomerByUsername(String var1);\n13  \n14     boolean
      validateCustomer(String var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.service
  - id: 3017
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.service
  - id: 3018
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 16
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.service
  - id: 3019
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 20
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "10  \n11  public interface FlightService {\n12     Flight getFlightByFlightKey(FlightPK
      var1);\n13  \n14     List getFlightByAirportsAndDepartureDate(String var1, String
      var2, Date var3);\n15  \n16     List getFlightByAirports(String var1, String
      var2);\n17  \n18     void storeAirportMapping(AirportCodeMapping var1);\n19
      \ \n20     Flight createNewFlight(String var1, Date var2, Date var3, BigDecimal
      var4, BigDecimal var5, int var6, int var7, String var8);\n21  \n22     void
      storeFlightSegment(FlightSegment var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.service
  - id: 3020
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 4
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: departBookingId
      package: com.acmeair.web
  - id: 3021
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 5
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: returnBookingId
      package: com.acmeair.web
  - id: 3022
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 8
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3023
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 14
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;\n19
      \    }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3024
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 17
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 7  \n 8     public BookingInfo(String departBookingId, String returnBookingId,
      boolean oneWay) {\n 9        this.departBookingId = departBookingId;\n10        this.returnBookingId
      = returnBookingId;\n11        this.oneWay = oneWay;\n12     }\n13  \n14     public
      BookingInfo() {\n15     }\n16  \n17     public String getDepartBookingId() {\n18
      \       return this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getDepartBookingId
      package: com.acmeair.web
  - id: 3025
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 21
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "11        this.oneWay = oneWay;\n12     }\n13  \n14     public BookingInfo()
      {\n15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setDepartBookingId
      package: com.acmeair.web
  - id: 3026
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 25
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }\n32  \n33     public
      boolean isOneWay() {\n34        return this.oneWay;\n35     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getReturnBookingId
      package: com.acmeair.web
  - id: 3027
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 29
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "19     }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  \n25     public
      String getReturnBookingId() {\n26        return this.returnBookingId;\n27     }\n28
      \ \n29     public void setReturnBookingId(String returnBookingId) {\n30        this.returnBookingId
      = returnBookingId;\n31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setReturnBookingId
      package: com.acmeair.web
  - id: 3028
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 41
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }\n40  \n41     public String toString()
      {\n42        return \"BookingInfo [departBookingId=\" + this.departBookingId
      + \", returnBookingId=\" + this.returnBookingId + \", oneWay=\" + this.oneWay
      + \"]\";\n43     }\n44  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: toString
      package: com.acmeair.web
  - id: 3029
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16  import javax.ws.rs.core.Response.Status;\n17  \n18  @Path(\"/bookings\")\n19
      \ public class BookingsREST {\n20     private BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {\n27        try {\n28           BookingPK bookingIdTo = this.bs.bookFlight(userid,
      new FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3030
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 38
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "28           BookingPK bookingIdTo = this.bs.bookFlight(userid, new
      FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);\n37           } else {\n38              bi
      = new BookingInfo(bookingIdTo.getId(), (String)null, oneWay);\n39           }\n40
      \ \n41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3031
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 51
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET\n49     @Path(\"/bybookingnumber/{userid}/{number}\")\n50
      \    @Produces({\"application/json\"})\n51     public Booking getBookingByNumber(@PathParam(\"number\")
      String number, @FormParam(\"userid\") String userid) {\n52        try {\n53
      \          Booking b = this.bs.getBooking(userid, number);\n54           return
      b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingByNumber
      package: com.acmeair.web
  - id: 3032
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 64
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "54           return b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET\n62     @Path(\"/byuser/{user}\")\n63
      \    @Produces({\"application/json\"})\n64     public List getBookingsByUser(@PathParam(\"user\")
      String user) {\n65        try {\n66           return this.bs.getBookingsByUser(user);\n67
      \       } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.web
  - id: 3033
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 77
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "67        } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})\n75
      \    @Path(\"/cancelbooking\")\n76     @Produces({\"application/json\"})\n77
      \    public Response cancelBookingsByNumber(@FormParam(\"number\") String number,
      @FormParam(\"userid\") String userid) {\n78        try {\n79           this.bs.cancelBooking(userid,
      number);\n80           return Response.ok(\"booking \" + number + \" deleted.\").build();\n81
      \       } catch (Exception var4) {\n82           var4.printStackTrace();\n83
      \          return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n84
      \       }\n85     }\n86  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: cancelBookingsByNumber
      package: com.acmeair.web
  - id: 3034
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 25
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "15  import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3035
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 26
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "16  import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3036
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 33
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "23     private HttpServletRequest request;\n24  \n25     private boolean
      validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();\n37
      \          } else {\n38              Customer customer = this.customerService.getCustomerByUsername(customerid);\n39
      \             return Response.ok(customer).build();\n40           }\n41        }
      catch (Exception var4) {\n42           var4.printStackTrace();\n43           return
      null;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: getCustomer
      package: com.acmeair.web
  - id: 3037
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 50
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "40           }\n41        } catch (Exception var4) {\n42           var4.printStackTrace();\n43
      \          return null;\n44        }\n45     }\n46  \n47     @POST\n48     @Path(\"/byid/{custid}\")\n49
      \    @Produces({\"application/json\"})\n50     public Response putCustomer(@CookieParam(\"sessionid\")
      String sessionid, Customer customer) {\n51        if (!this.validate(customer.getUsername()))
      {\n52           return Response.status(Status.FORBIDDEN).build();\n53        }
      else {\n54           Customer customerFromDB = this.customerService.getCustomerByUsernameAndPassword(customer.getUsername(),
      customer.getPassword());\n55           if (customerFromDB == null) {\n56              return
      Response.status(Status.FORBIDDEN).build();\n57           } else {\n58              CustomerAddress
      addressFromDB = customerFromDB.getAddress();\n59              addressFromDB.setStreetAddress1(customer.getAddress().getStreetAddress1());\n60
      \             if (customer.getAddress().getStreetAddress2() != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3038
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 71
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "61                 addressFromDB.setStreetAddress2(customer.getAddress().getStreetAddress2());\n62
      \             }\n63  \n64              addressFromDB.setCity(customer.getAddress().getCity());\n65
      \             addressFromDB.setStateProvince(customer.getAddress().getStateProvince());\n66
      \             addressFromDB.setCountry(customer.getAddress().getCountry());\n67
      \             addressFromDB.setPostalCode(customer.getAddress().getPostalCode());\n68
      \             customerFromDB.setPhoneNumber(customer.getPhoneNumber());\n69
      \             customerFromDB.setPhoneNumberType(customer.getPhoneNumberType());\n70
      \             this.customerService.updateCustomer(customerFromDB);\n71              customerFromDB.setPassword((String)null);\n72
      \             return Response.ok(customerFromDB).build();\n73           }\n74
      \       }\n75     }\n76  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3039
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 21
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  \n13  @Path(\"/flights\")\n14
      \ public class FlightsREST {\n15     private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {\n22        TripFlightOptions options = new TripFlightOptions();\n23
      \       ArrayList legs = new ArrayList();\n24        TripLegInfo toInfo = new
      TripLegInfo();\n25        List toFlights = this.flightService.getFlightByAirportsAndDepartureDate(fromAirport,
      toAirport, fromDate);\n26        toInfo.setFlightsOptions(toFlights);\n27        legs.add(toInfo);\n28
      \       toInfo.setCurrentPage(0);\n29        toInfo.setHasMoreOptions(false);\n30
      \       toInfo.setNumPages(1);\n31        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: getTripFlights
      package: com.acmeair.web
  - id: 3040
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 54
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "44        }\n45  \n46        options.setTripFlights(legs);\n47        return
      options;\n48     }\n49  \n50     @POST\n51     @Path(\"/browseflights\")\n52
      \    @Consumes({\"application/x-www-form-urlencoded\"})\n53     @Produces({\"application/json\"})\n54
      \    public TripFlightOptions browseFlights(@FormParam(\"fromAirport\") String
      fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"oneWay\")
      boolean oneWay) {\n55        TripFlightOptions options = new TripFlightOptions();\n56
      \       ArrayList legs = new ArrayList();\n57        TripLegInfo toInfo = new
      TripLegInfo();\n58        List toFlights = this.flightService.getFlightByAirports(fromAirport,
      toAirport);\n59        toInfo.setFlightsOptions(toFlights);\n60        legs.add(toInfo);\n61
      \       toInfo.setCurrentPage(0);\n62        toInfo.setHasMoreOptions(false);\n63
      \       toInfo.setNumPages(1);\n64        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: browseFlights
      package: com.acmeair.web
  - id: 3041
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 99
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 89        String line1 = lnr.readLine();\n 90        StringTokenizer
      st = new StringTokenizer(line1, \",\");\n 91        ArrayList airports = new
      ArrayList();\n 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3042
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 102
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  \n110        label61:\n111
      \       while(true) {\n112           line = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3043
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 124
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "114              for(int jj = 0; jj < airports.size(); ++jj) {\n115
      \                this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3044
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 125
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "115                 this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  \n135           while(true)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3045
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 141
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "131           }\n132  \n133           int indexIntoTopLine = 0;\n134
      \ \n135           while(true) {\n136              while(true) {\n137                 if
      (!st.hasMoreTokens()) {\n138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3046
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 146
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "136              while(true) {\n137                 if (!st.hasMoreTokens())
      {\n138                    continue label61;\n139                 }\n140  \n141
      \                String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3047
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 148
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);\n157                          c.set(12,
      0);\n158                          c.set(13, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3048
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 187
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "177        double hours = (double)mileage / averageSpeed;\n178        double
      partsOfHour = hours % 1.0;\n179        int minutes = (int)(60.0 * partsOfHour);\n180
      \       Calendar c = Calendar.getInstance();\n181        c.setTime(departureTime);\n182
      \       c.add(10, (int)hours);\n183        c.add(12, minutes);\n184        return
      c.getTime();\n185     }\n186  \n187     private static boolean alreadyInCollection(String
      airportCode, ArrayList airports) {\n188        for(int ii = 0; ii < airports.size();
      ++ii) {\n189           if (((AirportCodeMapping)airports.get(ii)).getAirportCode().equals(airportCode))
      {\n190              return true;\n191           }\n192        }\n193  \n194
      \       return false;\n195     }\n196  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: alreadyInCollection
      package: com.acmeair.web
  - id: 3049
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 34
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST
      {\n27     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET\n32     @Path(\"/load\")\n33
      \    @Produces({\"text/plain\"})\n34     public String load() {\n35        return
      this.loadData(10L, 30);\n36     }\n37  \n38     @GET\n39     @Path(\"/loadSmall\")\n40
      \    @Produces({\"text/plain\"})\n41     public String loadSmall() {\n42        return
      this.loadData(5L, 5);\n43     }\n44  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: load
      package: com.acmeair.web
  - id: 3050
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 41
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "31     @GET\n32     @Path(\"/load\")\n33     @Produces({\"text/plain\"})\n34
      \    public String load() {\n35        return this.loadData(10L, 30);\n36     }\n37
      \ \n38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadSmall
      package: com.acmeair.web
  - id: 3051
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 48
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  \n52     private String loadData(long numCustomers, int segments)
      {\n53        synchronized(lock) {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadTiny
      package: com.acmeair.web
  - id: 3052
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 52
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "42        return this.loadData(5L, 5);\n43     }\n44  \n45     @GET\n46
      \    @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48     public
      String loadTiny() {\n49        return this.loadData(2L, 2);\n50     }\n51  \n52
      \    private String loadData(long numCustomers, int segments) {\n53        synchronized(lock)
      {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }\n59  \n60           try {\n61              this.loadFlights(segments);\n62
      \          } catch (Exception var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadData
      package: com.acmeair.web
  - id: 3053
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 72
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "62           } catch (Exception var7) {\n63              var7.printStackTrace();\n64
      \          }\n65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3054
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 75
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3055
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 89
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {\n86        System.out.println(\"Loading flight
      data...\");\n87        InputStream csvInputStream = this.getClass().getResourceAsStream(\"/mileage.csv\");\n88
      \       LineNumberReader lnr = new LineNumberReader(new InputStreamReader(csvInputStream));\n89
      \       String line1 = lnr.readLine();\n90        StringTokenizer st = new StringTokenizer(line1,
      \",\");\n91        ArrayList airports = new ArrayList();\n92  \n93        while(st.hasMoreTokens())
      {\n94           AirportCodeMapping acm = new AirportCodeMapping();\n95           acm.setAirportName(st.nextToken());\n96
      \          airports.add(acm);\n97        }\n98  \n99        String line2 = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3056
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 21
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Field
      name: SESSIONID_COOKIE_NAME
      package: com.acmeair.web
  - id: 3057
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 27
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "17  \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST
      {\n21     public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();\n32
      \          } else {\n33              CustomerSession session = this.customerService.createSession(login);\n34
      \             NewCookie sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, session.getId());\n35
      \             return Response.ok(\"logged in\").cookie(new NewCookie[]{sessCookie}).build();\n36
      \          }\n37        } catch (Exception var6) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: login
      package: com.acmeair.web
  - id: 3058
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 46
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "36           }\n37        } catch (Exception var6) {\n38           var6.printStackTrace();\n39
      \          return null;\n40        }\n41     }\n42  \n43     @GET\n44     @Path(\"/logout\")\n45
      \    @Produces({\"text/plain\"})\n46     public Response logout(@QueryParam(\"login\")
      String login, @CookieParam(\"sessionid\") String sessionid) {\n47        try
      {\n48           this.customerService.invalidateSession(sessionid);\n49           NewCookie
      sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, \"\");\n50           return
      Response.ok(\"logged out\").cookie(new NewCookie[]{sessCookie}).build();\n51
      \       } catch (Exception var4) {\n52           var4.printStackTrace();\n53
      \          return null;\n54        }\n55     }\n56  }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: logout
      package: com.acmeair.web
  - id: 3059
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 19
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_USER
      package: com.acmeair.web
  - id: 3060
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 20
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "10  import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_PATH
      package: com.acmeair.web
  - id: 3061
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 21
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "11  import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }\n30  \n31     public void doFilter(ServletRequest
      req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGOUT_PATH
      package: com.acmeair.web
  - id: 3062
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3063
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 55
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "45                 Cookie c = var9[var11];\n46                 if (c.getName().equals(LoginREST.SESSIONID_COOKIE_NAME))
      {\n47                    sessionCookie = c;\n48                 }\n49  \n50
      \                if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3064
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 13
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: " 3  import com.acmeair.web.config.WXSDirectAppConfig;\n 4  import java.util.concurrent.atomic.AtomicReference;\n
      5  import java.util.logging.Logger;\n 6  import javax.naming.Context;\n 7  import
      javax.naming.InitialContext;\n 8  import javax.naming.NamingException;\n 9  import
      org.springframework.context.ApplicationContext;\n10  import org.springframework.context.annotation.AnnotationConfigApplicationContext;\n11
      \ \n12  public class ServiceLocator {\n13     public static String REPOSITORY_LOOKUP_KEY
      = \"com.acmeair.repository.type\";\n14     final ApplicationContext ctx;\n15
      \    private static Logger logger = Logger.getLogger(ServiceLocator.class.getName());\n16
      \    private static AtomicReference singletonServiceLocator = new AtomicReference();\n17
      \ \n18     static ServiceLocator instance() {\n19        if (singletonServiceLocator.get()
      == null) {\n20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Field
      name: REPOSITORY_LOOKUP_KEY
      package: com.acmeair.web
  - id: 3065
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 30
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3066
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 31
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "21              if (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3067
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 32
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "22                 singletonServiceLocator.set(new ServiceLocator());\n23
      \             }\n24           }\n25        }\n26  \n27        return (ServiceLocator)singletonServiceLocator.get();\n28
      \    }\n29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3068
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 39
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3069
    createTime: 2024-07-22T06:22:27.176119742Z
    issue: 36
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 48
    message: Method encodeUrl in javax.servlet.http.HttpServletResponseWrapper has
      been removed. Use encodeURL instead.
    codeSnip: "38           if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {\n50                 logger.info(\"Found repository in server.xml:\"
      + type);\n51              }\n52           } catch (NamingException var6) {\n53
      \          }\n54        }\n55  \n56        if (type == null) {\n57           type
      = System.getProperty(REPOSITORY_LOOKUP_KEY);\n58           if (type != null)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 37
  createTime: 2024-07-22T06:22:27.189110688Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00111
  name: ""
  description: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
    has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3070
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 11
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3071
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 12
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class AirportCodeMapping
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String airportName;\n13
      \ \n14     public AirportCodeMapping() {\n15     }\n16  \n17     public AirportCodeMapping(String
      airportCode, String airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: airportName
      package: com.acmeair.entities
  - id: 3072
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n
      6  \n 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3073
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 17
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3074
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 22
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;\n28     }\n29  \n30     public
      String getAirportName() {\n31        return this.airportName;\n32     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportCode
      package: com.acmeair.entities
  - id: 3075
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16  \n17     public AirportCodeMapping(String airportCode, String airportName)
      {\n18        this.id = airportCode;\n19        this.airportName = airportName;\n20
      \    }\n21  \n22     public String getAirportCode() {\n23        return this.id;\n24
      \    }\n25  \n26     public void setAirportCode(String airportCode) {\n27        this.id
      = airportCode;\n28     }\n29  \n30     public String getAirportName() {\n31
      \       return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportCode
      package: com.acmeair.entities
  - id: 3076
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 30
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "20     }\n21  \n22     public String getAirportCode() {\n23        return
      this.id;\n24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportName
      package: com.acmeair.entities
  - id: 3077
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 34
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportName
      package: com.acmeair.entities
  - id: 3078
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 25
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "15     private FlightPK flightKey;\n16     private Date dateOfBooking;\n17
      \    @ManyToOne\n18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3079
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 28
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ \n36     public BookingPK getPkey() {\n37        return this.pkey;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3080
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 40
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "30        this.flightKey = flight.getPkey();\n31        this.dateOfBooking
      = dateOfFlight;\n32        this.customer = customer;\n33        this.flight
      = flight;\n34     }\n35  \n36     public BookingPK getPkey() {\n37        return
      this.pkey;\n38     }\n39  \n40     public String getCustomerId() {\n41        return
      this.pkey.getCustomerId();\n42     }\n43  \n44     public void setPkey(BookingPK
      pkey) {\n45        this.pkey = pkey;\n46     }\n47  \n48     public FlightPK
      getFlightKey() {\n49        return this.flightKey;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3081
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 76
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "66     }\n67  \n68     public Customer getCustomer() {\n69        return
      this.customer;\n70     }\n71  \n72     public Flight getFlight() {\n73        return
      this.flight;\n74     }\n75  \n76     public String toString() {\n77        return
      \"Booking [key=\" + this.pkey + \", flightKey=\" + this.flightKey + \", dateOfBooking=\"
      + this.dateOfBooking + \", customer=\" + this.customer + \", flight=\" + this.flight
      + \"]\";\n78     }\n79  \n80     public boolean equals(Object obj) {\n81        if
      (this == obj) {\n82           return true;\n83        } else if (obj == null)
      {\n84           return false;\n85        } else if (this.getClass() != obj.getClass())
      {\n86           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3082
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      BookingPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"bookingId\"\n12     )\n13     private
      String id;\n14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3083
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: customerId
      package: com.acmeair.entities
  - id: 3084
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3085
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 19
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3086
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 24
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ \n24     public String getId() {\n25        return this.id;\n26     }\n27
      \ \n28     public void setId(String id) {\n29        this.id = id;\n30     }\n31
      \ \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3087
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 28
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "18  \n19     public BookingPK(String customerId, String id) {\n20        this.id
      = id;\n21        this.customerId = customerId;\n22     }\n23  \n24     public
      String getId() {\n25        return this.id;\n26     }\n27  \n28     public void
      setId(String id) {\n29        this.id = id;\n30     }\n31  \n32     public String
      getCustomerId() {\n33        return this.customerId;\n34     }\n35  \n36     public
      void setCustomerId(String customerId) {\n37        this.customerId = customerId;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3088
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 32
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }\n35  \n36     public void setCustomerId(String customerId) {\n37        this.customerId
      = customerId;\n38     }\n39  \n40     public int hashCode() {\n41        int
      prime = true;\n42        int result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3089
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 36
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getCustomerId() {\n33        return
      this.customerId;\n34     }\n35  \n36     public void setCustomerId(String customerId)
      {\n37        this.customerId = customerId;\n38     }\n39  \n40     public int
      hashCode() {\n41        int prime = true;\n42        int result = 1;\n43        result
      = 31 * result + (this.customerId == null ? 0 : this.customerId.hashCode());\n44
      \       result = 31 * result + (this.id == null ? 0 : this.id.hashCode());\n45
      \       return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setCustomerId
      package: com.acmeair.entities
  - id: 3090
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 77
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"BookingPK [customerId=\" + this.customerId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3091
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;\n18
      \    private MemberShipStatus status;\n19     private int total_miles;\n20     private
      int miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23
      \    private String phoneNumber;\n24     private PhoneType phoneNumberType;\n25
      \ \n26     public Customer() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3092
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 17
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      Customer implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15
      \    )\n16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: password
      package: com.acmeair.entities
  - id: 3093
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 104
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 94     }\n 95  \n 96     public CustomerAddress getAddress() {\n 97
      \       return this.address;\n 98     }\n 99  \n100     public void setAddress(CustomerAddress
      address) {\n101        this.address = address;\n102     }\n103  \n104     public
      String toString() {\n105        return \"Customer [id=\" + this.id + \", password=\"
      + this.password + \", status=\" + this.status + \", total_miles=\" + this.total_miles
      + \", miles_ytd=\" + this.miles_ytd + \", address=\" + this.address + \", phoneNumber=\"
      + this.phoneNumber + \", phoneNumberType=\" + this.phoneNumberType + \"]\";\n106
      \    }\n107  \n108     public boolean equals(Object obj) {\n109        if (this
      == obj) {\n110           return true;\n111        } else if (obj == null) {\n112
      \          return false;\n113        } else if (this.getClass() != obj.getClass())
      {\n114           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3094
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 23
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16
      \    private String id;\n17     private String password;\n18     private MemberShipStatus
      status;\n19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: phoneNumber
      package: com.acmeair.entities
  - id: 3095
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 163
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "153                 return false;\n154              } else if (this.status
      != other.status) {\n155                 return false;\n156              } else
      {\n157                 return this.total_miles == other.total_miles;\n158              }\n159
      \          }\n160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3096
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3097
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 170
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,\n174        PLATINUM,\n175        EXEC_PLATINUM,\n176
      \       GRAPHITE;\n177     }\n178  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3098
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 29
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;\n37
      \       this.phoneNumberType = phoneNumberType;\n38     }\n39  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3099
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 40
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "30        this.id = username;\n31        this.password = password;\n32
      \       this.status = status;\n33        this.total_miles = total_miles;\n34
      \       this.miles_ytd = miles_ytd;\n35        this.address = address;\n36        this.phoneNumber
      = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38     }\n39
      \ \n40     public String getUsername() {\n41        return this.id;\n42     }\n43
      \ \n44     public void setUsername(String username) {\n45        this.id = username;\n46
      \    }\n47  \n48     public String getPassword() {\n49        return this.password;\n50
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getUsername
      package: com.acmeair.entities
  - id: 3100
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 44
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "34        this.miles_ytd = miles_ytd;\n35        this.address = address;\n36
      \       this.phoneNumber = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38
      \    }\n39  \n40     public String getUsername() {\n41        return this.id;\n42
      \    }\n43  \n44     public void setUsername(String username) {\n45        this.id
      = username;\n46     }\n47  \n48     public String getPassword() {\n49        return
      this.password;\n50     }\n51  \n52     public void setPassword(String password)
      {\n53        this.password = password;\n54     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setUsername
      package: com.acmeair.entities
  - id: 3101
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 48
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "38     }\n39  \n40     public String getUsername() {\n41        return
      this.id;\n42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPassword
      package: com.acmeair.entities
  - id: 3102
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 52
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }\n59
      \ \n60     public void setStatus(MemberShipStatus status) {\n61        this.status
      = status;\n62     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPassword
      package: com.acmeair.entities
  - id: 3103
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 80
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "70     }\n71  \n72     public int getMiles_ytd() {\n73        return
      this.miles_ytd;\n74     }\n75  \n76     public void setMiles_ytd(int miles_ytd)
      {\n77        this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String
      getPhoneNumber() {\n81        return this.phoneNumber;\n82     }\n83  \n84     public
      void setPhoneNumber(String phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86
      \    }\n87  \n88     public PhoneType getPhoneNumberType() {\n89        return
      this.phoneNumberType;\n90     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPhoneNumber
      package: com.acmeair.entities
  - id: 3104
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 84
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "74     }\n75  \n76     public void setMiles_ytd(int miles_ytd) {\n77
      \       this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String getPhoneNumber()
      {\n81        return this.phoneNumber;\n82     }\n83  \n84     public void setPhoneNumber(String
      phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86     }\n87  \n88
      \    public PhoneType getPhoneNumberType() {\n89        return this.phoneNumberType;\n90
      \    }\n91  \n92     public void setPhoneNumberType(PhoneType phoneNumberType)
      {\n93        this.phoneNumberType = phoneNumberType;\n94     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPhoneNumber
      package: com.acmeair.entities
  - id: 3105
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 44
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCity
      package: com.acmeair.entities
  - id: 3106
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 48
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCity
      package: com.acmeair.entities
  - id: 3107
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 52
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStateProvince
      package: com.acmeair.entities
  - id: 3108
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 56
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStateProvince
      package: com.acmeair.entities
  - id: 3109
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 60
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCountry
      package: com.acmeair.entities
  - id: 3110
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 64
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCountry
      package: com.acmeair.entities
  - id: 3111
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 68
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getPostalCode
      package: com.acmeair.entities
  - id: 3112
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 72
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setPostalCode
      package: com.acmeair.entities
  - id: 3113
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 76
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3114
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 9
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress1
      package: com.acmeair.entities
  - id: 3115
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 10
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress2
      package: com.acmeair.entities
  - id: 3116
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 11
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: city
      package: com.acmeair.entities
  - id: 3117
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 12
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: stateProvince
      package: com.acmeair.entities
  - id: 3118
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: country
      package: com.acmeair.entities
  - id: 3119
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7
      \ public class CustomerAddress implements Serializable {\n 8     private static
      final long serialVersionUID = 1L;\n 9     private String streetAddress1;\n10
      \    private String streetAddress2;\n11     private String city;\n12     private
      String stateProvince;\n13     private String country;\n14     private String
      postalCode;\n15  \n16     public CustomerAddress() {\n17     }\n18  \n19     public
      CustomerAddress(String streetAddress1, String streetAddress2, String city, String
      stateProvince, String country, String postalCode) {\n20        this.streetAddress1
      = streetAddress1;\n21        this.streetAddress2 = streetAddress2;\n22        this.city
      = city;\n23        this.stateProvince = stateProvince;\n24        this.country
      = country;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: postalCode
      package: com.acmeair.entities
  - id: 3120
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3121
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 19
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 9     private String streetAddress1;\n10     private String streetAddress2;\n11
      \    private String city;\n12     private String stateProvince;\n13     private
      String country;\n14     private String postalCode;\n15  \n16     public CustomerAddress()
      {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1, String
      streetAddress2, String city, String stateProvince, String country, String postalCode)
      {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3122
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 28
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress1
      package: com.acmeair.entities
  - id: 3123
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 32
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "22        this.city = city;\n23        this.stateProvince = stateProvince;\n24
      \       this.country = country;\n25        this.postalCode = postalCode;\n26
      \    }\n27  \n28     public String getStreetAddress1() {\n29        return this.streetAddress1;\n30
      \    }\n31  \n32     public void setStreetAddress1(String streetAddress1) {\n33
      \       this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress1
      package: com.acmeair.entities
  - id: 3124
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 36
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "26     }\n27  \n28     public String getStreetAddress1() {\n29        return
      this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }\n39  \n40     public void setStreetAddress2(String streetAddress2) {\n41
      \       this.streetAddress2 = streetAddress2;\n42     }\n43  \n44     public
      String getCity() {\n45        return this.city;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress2
      package: com.acmeair.entities
  - id: 3125
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 40
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "30     }\n31  \n32     public void setStreetAddress1(String streetAddress1)
      {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }\n43  \n44     public String getCity() {\n45        return
      this.city;\n46     }\n47  \n48     public void setCity(String city) {\n49        this.city
      = city;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress2
      package: com.acmeair.entities
  - id: 3126
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class CustomerSession implements Serializable {\n11
      \    private static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14
      \       columnDefinition = \"VARCHAR\"\n15     )\n16     private String id;\n17
      \    private String customerid;\n18     private Date lastAccessedTime;\n19     private
      Date timeoutTime;\n20  \n21     public CustomerSession() {\n22     }\n23  \n24
      \    public CustomerSession(String id, String customerid, Date lastAccessedTime,
      Date timeoutTime) {\n25        this.id = id;\n26        this.customerid = customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3127
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 17
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      CustomerSession implements Serializable {\n11     private static final long
      serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;\n18
      \    private Date lastAccessedTime;\n19     private Date timeoutTime;\n20  \n21
      \    public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: customerid
      package: com.acmeair.entities
  - id: 3128
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 21
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "11     private static final long serialVersionUID = 1L;\n12     @Id\n13
      \    @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3129
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 24
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3130
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 31
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "21     public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;\n28        this.timeoutTime = timeoutTime;\n29     }\n30
      \ \n31     public String getId() {\n32        return this.id;\n33     }\n34
      \ \n35     public void setId(String id) {\n36        this.id = id;\n37     }\n38
      \ \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3131
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 35
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "25        this.id = id;\n26        this.customerid = customerid;\n27
      \       this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3132
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 39
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "29     }\n30  \n31     public String getId() {\n32        return this.id;\n33
      \    }\n34  \n35     public void setId(String id) {\n36        this.id = id;\n37
      \    }\n38  \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }\n42  \n43     public void setCustomerid(String customerid) {\n44        this.customerid
      = customerid;\n45     }\n46  \n47     public Date getLastAccessedTime() {\n48
      \       return this.lastAccessedTime;\n49     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getCustomerid
      package: com.acmeair.entities
  - id: 3133
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 43
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }\n46  \n47     public Date
      getLastAccessedTime() {\n48        return this.lastAccessedTime;\n49     }\n50
      \ \n51     public void setLastAccessedTime(Date lastAccessedTime) {\n52        this.lastAccessedTime
      = lastAccessedTime;\n53     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setCustomerid
      package: com.acmeair.entities
  - id: 3134
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 63
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "53     }\n54  \n55     public Date getTimeoutTime() {\n56        return
      this.timeoutTime;\n57     }\n58  \n59     public void setTimeoutTime(Date timeoutTime)
      {\n60        this.timeoutTime = timeoutTime;\n61     }\n62  \n63     public
      String toString() {\n64        return \"CustomerSession [id=\" + this.id + \",
      customerid=\" + this.customerid + \", lastAccessedTime=\" + this.lastAccessedTime
      + \", timeoutTime=\" + this.timeoutTime + \"]\";\n65     }\n66  \n67     public
      boolean equals(Object obj) {\n68        if (this == obj) {\n69           return
      true;\n70        } else if (obj == null) {\n71           return false;\n72        }
      else if (this.getClass() != obj.getClass()) {\n73           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3135
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 97
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 87     }\n 88  \n 89     public int getNumEconomyClassSeats() {\n
      90        return this.numEconomyClassSeats;\n 91     }\n 92  \n 93     public
      void setNumEconomyClassSeats(int numEconomyClassSeats) {\n 94        this.numEconomyClassSeats
      = numEconomyClassSeats;\n 95     }\n 96  \n 97     public String getAirplaneTypeId()
      {\n 98        return this.airplaneTypeId;\n 99     }\n100  \n101     public
      void setAirplaneTypeId(String airplaneTypeId) {\n102        this.airplaneTypeId
      = airplaneTypeId;\n103     }\n104  \n105     public FlightSegment getFlightSegment()
      {\n106        return this.flightSegment;\n107     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getAirplaneTypeId
      package: com.acmeair.entities
  - id: 3136
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 101
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 91     }\n 92  \n 93     public void setNumEconomyClassSeats(int numEconomyClassSeats)
      {\n 94        this.numEconomyClassSeats = numEconomyClassSeats;\n 95     }\n
      96  \n 97     public String getAirplaneTypeId() {\n 98        return this.airplaneTypeId;\n
      99     }\n100  \n101     public void setAirplaneTypeId(String airplaneTypeId)
      {\n102        this.airplaneTypeId = airplaneTypeId;\n103     }\n104  \n105     public
      FlightSegment getFlightSegment() {\n106        return this.flightSegment;\n107
      \    }\n108  \n109     public void setFlightSegment(FlightSegment flightSegment)
      {\n110        this.flightSegment = flightSegment;\n111     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: setAirplaneTypeId
      package: com.acmeair.entities
  - id: 3137
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 20
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "10  public class Flight implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @EmbeddedId\n13     private FlightPK
      pkey;\n14     private Date scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16
      \    private BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;\n18
      \    private int numFirstClassSeats;\n19     private int numEconomyClassSeats;\n20
      \    private String airplaneTypeId;\n21     private FlightSegment flightSegment;\n22
      \ \n23     public Flight() {\n24     }\n25  \n26     public Flight(String id,
      String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n27        this.pkey = new
      FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime = scheduledDepartureTime;\n29
      \       this.scheduledArrivalTime = scheduledArrivalTime;\n30        this.firstClassBaseCost
      = firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Field
      name: airplaneTypeId
      package: com.acmeair.entities
  - id: 3138
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 113
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "103     }\n104  \n105     public FlightSegment getFlightSegment() {\n106
      \       return this.flightSegment;\n107     }\n108  \n109     public void setFlightSegment(FlightSegment
      flightSegment) {\n110        this.flightSegment = flightSegment;\n111     }\n112
      \ \n113     public String toString() {\n114        return \"Flight key=\" +
      this.pkey + \", scheduledDepartureTime=\" + this.scheduledDepartureTime + \",
      scheduledArrivalTime=\" + this.scheduledArrivalTime + \", firstClassBaseCost=\"
      + this.firstClassBaseCost + \", economyClassBaseCost=\" + this.economyClassBaseCost
      + \", numFirstClassSeats=\" + this.numFirstClassSeats + \", numEconomyClassSeats=\"
      + this.numEconomyClassSeats + \", airplaneTypeId=\" + this.airplaneTypeId +
      \"]\";\n115     }\n116  \n117     public boolean equals(Object obj) {\n118        if
      (this == obj) {\n119           return true;\n120        } else if (obj == null)
      {\n121           return false;\n122        } else if (this.getClass() != obj.getClass())
      {\n123           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3139
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 23
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "13     private FlightPK pkey;\n14     private Date scheduledDepartureTime;\n15
      \    private Date scheduledArrivalTime;\n16     private BigDecimal firstClassBaseCost;\n17
      \    private BigDecimal economyClassBaseCost;\n18     private int numFirstClassSeats;\n19
      \    private int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21
      \    private FlightSegment flightSegment;\n22  \n23     public Flight() {\n24
      \    }\n25  \n26     public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3140
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16     private BigDecimal firstClassBaseCost;\n17     private BigDecimal
      economyClassBaseCost;\n18     private int numFirstClassSeats;\n19     private
      int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21     private
      FlightSegment flightSegment;\n22  \n23     public Flight() {\n24     }\n25  \n26
      \    public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;\n34        this.airplaneTypeId
      = airplaneTypeId;\n35     }\n36  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3141
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 45
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "35     }\n36  \n37     public FlightPK getPkey() {\n38        return
      this.pkey;\n39     }\n40  \n41     public void setPkey(FlightPK pkey) {\n42
      \       this.pkey = pkey;\n43     }\n44  \n45     public String getFlightSegmentId()
      {\n46        return this.pkey.getFlightSegmentId();\n47     }\n48  \n49     public
      Date getScheduledDepartureTime() {\n50        return this.scheduledDepartureTime;\n51
      \    }\n52  \n53     public void setScheduledDepartureTime(Date scheduledDepartureTime)
      {\n54        this.scheduledDepartureTime = scheduledDepartureTime;\n55     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3142
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      FlightPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"flightId\"\n12     )\n13     private
      String id;\n14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3143
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: flightSegmentId
      package: com.acmeair.entities
  - id: 3144
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3145
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 19
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }\n27  \n28
      \    public void setId(String id) {\n29        this.id = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3146
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 24
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3147
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 28
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "18  \n19     public FlightPK(String flightSegmentId, String id) {\n20
      \       this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3148
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 32
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3149
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 36
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;\n43        result = 31 * result + (this.flightSegmentId == null
      ? 0 : this.flightSegmentId.hashCode());\n44        result = 31 * result + (this.id
      == null ? 0 : this.id.hashCode());\n45        return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setFlightSegmentId
      package: com.acmeair.entities
  - id: 3150
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 77
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"FlightPK [flightSegmentId=\" + this.flightSegmentId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3151
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 11
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3152
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 12
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: originPort
      package: com.acmeair.entities
  - id: 3153
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;\n23
      \       this.miles = miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: destPort
      package: com.acmeair.entities
  - id: 3154
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  \n 7  @Entity\n 8  public class FlightSegment implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3155
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 19
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Id\n11
      \    private String id;\n12     private String originPort;\n13     private String
      destPort;\n14     private int miles;\n15  \n16     public FlightSegment() {\n17
      \    }\n18  \n19     public FlightSegment(String flightName, String origPort,
      String destPort, int miles) {\n20        this.id = flightName;\n21        this.originPort
      = origPort;\n22        this.destPort = destPort;\n23        this.miles = miles;\n24
      \    }\n25  \n26     public String getFlightName() {\n27        return this.id;\n28
      \    }\n29  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3156
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16     public FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String
      flightName, String origPort, String destPort, int miles) {\n20        this.id
      = flightName;\n21        this.originPort = origPort;\n22        this.destPort
      = destPort;\n23        this.miles = miles;\n24     }\n25  \n26     public String
      getFlightName() {\n27        return this.id;\n28     }\n29  \n30     public
      void setFlightName(String flightName) {\n31        this.id = flightName;\n32
      \    }\n33  \n34     public String getOriginPort() {\n35        return this.originPort;\n36
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getFlightName
      package: com.acmeair.entities
  - id: 3157
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 30
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {\n27        return this.id;\n28     }\n29
      \ \n30     public void setFlightName(String flightName) {\n31        this.id
      = flightName;\n32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setFlightName
      package: com.acmeair.entities
  - id: 3158
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 34
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "24     }\n25  \n26     public String getFlightName() {\n27        return
      this.id;\n28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getOriginPort
      package: com.acmeair.entities
  - id: 3159
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 38
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46
      \    public void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setOriginPort
      package: com.acmeair.entities
  - id: 3160
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 42
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getDestPort
      package: com.acmeair.entities
  - id: 3161
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 46
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setDestPort
      package: com.acmeair.entities
  - id: 3162
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 58
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "48     }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }\n57  \n58     public String toString() {\n59        StringBuffer
      sb = new StringBuffer();\n60        sb.append(\"FlightSegment \").append(this.id).append(\"
      originating from:\\\"\").append(this.originPort).append(\"\\\" arriving at:\\\"\").append(this.destPort).append(\"\\\"\");\n61
      \       return sb.toString();\n62     }\n63  \n64     public boolean equals(Object
      obj) {\n65        if (this == obj) {\n66           return true;\n67        }
      else if (obj == null) {\n68           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3163
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 36
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "26     @Resource\n27     FlightService flightService;\n28     @Resource\n29
      \    CustomerService customerService;\n30     @Resource\n31     KeyGenerator
      keyGenerator;\n32  \n33     @Transactional(\n34        propagation = Propagation.REQUIRED\n35
      \    )\n36     public BookingPK bookFlight(String customerId, FlightPK flightId)
      {\n37        try {\n38           Flight f = this.flightService.getFlightByFlightKey(flightId);\n39
      \          Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: bookFlight
      package: com.acmeair.jpa.service
  - id: 3164
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 49
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "39           Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }\n47     }\n48  \n49     public Booking
      getBooking(String user, String id) {\n50        BookingPK key = new BookingPK(user,
      id);\n51        return (Booking)this.em.find(Booking.class, key);\n52     }\n53
      \ \n54     public List getBookingsByUser(String user) {\n55        Query q =
      this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBooking
      package: com.acmeair.jpa.service
  - id: 3165
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 54
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "44        } catch (Exception var7) {\n45           throw new RuntimeException(var7);\n46
      \       }\n47     }\n48  \n49     public Booking getBooking(String user, String
      id) {\n50        BookingPK key = new BookingPK(user, id);\n51        return
      (Booking)this.em.find(Booking.class, key);\n52     }\n53  \n54     public List
      getBookingsByUser(String user) {\n55        Query q = this.em.createQuery(\"SELECT
      obj FROM Booking obj where obj.customer.id=?1\");\n56        q.setParameter(1,
      user);\n57        List results = q.getResultList();\n58        return results;\n59
      \    }\n60  \n61     @Transactional(\n62        propagation = Propagation.REQUIRED\n63
      \    )\n64     public void cancelBooking(String user, String id) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.jpa.service
  - id: 3166
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 64
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "54     public List getBookingsByUser(String user) {\n55        Query
      q = this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }\n60  \n61     @Transactional(\n62        propagation
      = Propagation.REQUIRED\n63     )\n64     public void cancelBooking(String user,
      String id) {\n65        Booking booking = this.getBooking(user, id);\n66        if
      (booking != null) {\n67           this.em.remove(booking);\n68        }\n69
      \ \n70     }\n71  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.jpa.service
  - id: 3167
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 110
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "100              }\n101           }\n102        } catch (Exception
      var4) {\n103           throw new RuntimeException(var4);\n104        }\n105
      \    }\n106  \n107     @Transactional(\n108        propagation = Propagation.REQUIRED\n109
      \    )\n110     public CustomerSession createSession(String customerId) {\n111
      \       try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3168
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 112
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "102        } catch (Exception var4) {\n103           throw new RuntimeException(var4);\n104
      \       }\n105     }\n106  \n107     @Transactional(\n108        propagation
      = Propagation.REQUIRED\n109     )\n110     public CustomerSession createSession(String
      customerId) {\n111        try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;\n121        } catch (Exception var7) {\n122           throw
      new RuntimeException(var7);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3169
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 129
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "119           this.em.persist(cSession);\n120           return cSession;\n121
      \       } catch (Exception var7) {\n122           throw new RuntimeException(var7);\n123
      \       }\n124     }\n125  \n126     @Transactional(\n127        propagation
      = Propagation.REQUIRED\n128     )\n129     public void invalidateSession(String
      sessionid) {\n130        try {\n131           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n132           if (cSession != null) {\n133              this.em.remove(cSession);\n134
      \          }\n135  \n136        } catch (Exception var3) {\n137           throw
      new RuntimeException(var3);\n138        }\n139     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.jpa.service
  - id: 3170
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 28
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "18  public class CustomerServiceImpl implements CustomerService {\n19
      \    private static final int DAYS_TO_ALLOW_SESSION = 1;\n20     @Autowired\n21
      \    EntityManager em;\n22     @Resource\n23     KeyGenerator keyGenerator;\n24
      \ \n25     @Transactional(\n26        propagation = Propagation.REQUIRED\n27
      \    )\n28     public Customer createCustomer(String username, String password,
      Customer.MemberShipStatus status, int total_miles, int miles_ytd, String phoneNumber,
      Customer.PhoneType phoneNumberType, CustomerAddress address) {\n29        Customer
      customer = new Customer(username, password, status, total_miles, miles_ytd,
      address, phoneNumber, phoneNumberType);\n30  \n31        try {\n32           this.em.persist(customer);\n33
      \          return customer;\n34        } catch (Exception var11) {\n35           throw
      new RuntimeException(var11);\n36        }\n37     }\n38  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createCustomer
      package: com.acmeair.jpa.service
  - id: 3171
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 65
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "55           customer.setPhoneNumberType(updatedCustomer.getPhoneNumberType());\n56
      \          customer.setStatus(updatedCustomer.getStatus());\n57           customer.setTotal_miles(updatedCustomer.getTotal_miles());\n58
      \          this.em.persist(customer);\n59           return customer;\n60        }
      catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.jpa.service
  - id: 3172
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 70
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "60        } catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }\n76  \n77        return
      validatedCustomer;\n78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.jpa.service
  - id: 3173
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 80
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "70     public boolean validateCustomer(String username, String password)
      {\n71        boolean validatedCustomer = false;\n72        Customer customerToValidate
      = this.getCustomerByUsername(username);\n73        if (customerToValidate !=
      null) {\n74           validatedCustomer = password.equals(customerToValidate.getPassword());\n75
      \       }\n76  \n77        return validatedCustomer;\n78     }\n79  \n80     public
      Customer getCustomerByUsernameAndPassword(String username, String password)
      {\n81        Customer c = this.getCustomerByUsername(username);\n82        return
      !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85     @Transactional(\n86
      \       propagation = Propagation.REQUIRED\n87     )\n88     public CustomerSession
      validateSession(String sessionid) {\n89        try {\n90           CustomerSession
      cSession = (CustomerSession)this.em.find(CustomerSession.class, sessionid);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.jpa.service
  - id: 3174
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 88
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {\n81        Customer c = this.getCustomerByUsername(username);\n82
      \       return !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85
      \    @Transactional(\n86        propagation = Propagation.REQUIRED\n87     )\n88
      \    public CustomerSession validateSession(String sessionid) {\n89        try
      {\n90           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n91           if (cSession == null) {\n92              return null;\n93
      \          } else {\n94              Date now = new Date();\n95              if
      (cSession.getTimeoutTime().before(now)) {\n96                 this.em.remove(cSession);\n97
      \                return null;\n98              } else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateSession
      package: com.acmeair.jpa.service
  - id: 3175
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 104
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 94           } catch (Exception var4) {\n 95              throw new
      RuntimeException(var4);\n 96           }\n 97        }\n 98  \n 99     }\n100
      \ \n101     @Transactional(\n102        propagation = Propagation.REQUIRED\n103
      \    )\n104     public Flight createNewFlight(String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n105
      \       try {\n106           String id = this.keyGenerator.generate().toString();\n107
      \          Flight flight = new Flight(id, flightSegmentId, scheduledDepartureTime,
      scheduledArrivalTime, firstClassBaseCost, economyClassBaseCost, numFirstClassSeats,
      numEconomyClassSeats, airplaneTypeId);\n108           this.em.persist(flight);\n109
      \          return flight;\n110        } catch (Exception var11) {\n111           throw
      new RuntimeException(var11);\n112        }\n113     }\n114  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3176
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 106
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 96           }\n 97        }\n 98  \n 99     }\n100  \n101     @Transactional(\n102
      \       propagation = Propagation.REQUIRED\n103     )\n104     public Flight
      createNewFlight(String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n105        try {\n106           String
      id = this.keyGenerator.generate().toString();\n107           Flight flight =
      new Flight(id, flightSegmentId, scheduledDepartureTime, scheduledArrivalTime,
      firstClassBaseCost, economyClassBaseCost, numFirstClassSeats, numEconomyClassSeats,
      airplaneTypeId);\n108           this.em.persist(flight);\n109           return
      flight;\n110        } catch (Exception var11) {\n111           throw new RuntimeException(var11);\n112
      \       }\n113     }\n114  \n115     @Transactional(\n116        propagation
      = Propagation.REQUIRED"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3177
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 33
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "23  public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource\n27     KeyGenerator keyGenerator;\n28
      \ \n29     public Flight getFlightByFlightKey(FlightPK key) {\n30        return
      (Flight)this.em.find(Flight.class, key);\n31     }\n32  \n33     public List
      getFlightByAirportsAndDepartureDate(String fromAirport, String toAirport, Date
      deptDate) {\n34        List flights = new ArrayList();\n35        Query q =
      this.em.createQuery(\"SELECT obj FROM FlightSegment obj where obj.destPort=?1
      and obj.originPort=?2\");\n36        q.setParameter(1, toAirport);\n37        q.setParameter(2,
      fromAirport);\n38        List results = q.getResultList();\n39        Iterator
      var7 = results.iterator();\n40  \n41        while(var7.hasNext()) {\n42           FlightSegment
      seg = (FlightSegment)var7.next();\n43           Query qq = this.em.createQuery(\"SELECT
      obj FROM Flight obj where  obj.scheduledDepartureTime=?1 and obj.pkey.flightSegmentId=?2\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.jpa.service
  - id: 3178
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 59
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "49           while(var11.hasNext()) {\n50              Flight flight
      = (Flight)var11.next();\n51              flight.setFlightSegment(seg);\n52              flights.add(flight);\n53
      \          }\n54        }\n55  \n56        return flights;\n57     }\n58  \n59
      \    public List getFlightByAirports(String fromAirport, String toAirport) {\n60
      \       Query q = this.em.createQuery(\"SELECT obj FROM FlightSegment obj where
      obj.destPort=?1 and obj.originPort=?2\");\n61        q.setParameter(1, toAirport);\n62
      \       q.setParameter(2, fromAirport);\n63        List flights = new ArrayList();\n64
      \       List results = q.getResultList();\n65        Iterator var6 = results.iterator();\n66
      \ \n67        while(var6.hasNext()) {\n68           FlightSegment seg = (FlightSegment)var6.next();\n69
      \          Query qq = this.em.createQuery(\"SELECT obj FROM Flight obj where
      obj.pkey.flightSegmentId=?1\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.jpa.service
  - id: 3179
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 9
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: bookFlight
      package: com.acmeair.service
  - id: 3180
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 11
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBooking
      package: com.acmeair.service
  - id: 3181
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n 7  \n
      8  public interface BookingService {\n 9     BookingPK bookFlight(String var1,
      FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.service
  - id: 3182
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 15
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n
      7  \n 8  public interface BookingService {\n 9     BookingPK bookFlight(String
      var1, FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.service
  - id: 3183
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 8
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createCustomer
      package: com.acmeair.service
  - id: 3184
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 12
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.entities.CustomerSession;\n 6  \n 7  public interface
      CustomerService {\n 8     Customer createCustomer(String var1, String var2,
      Customer.MemberShipStatus var3, int var4, int var5, String var6, Customer.PhoneType
      var7, CustomerAddress var8);\n 9  \n10     Customer updateCustomer(Customer
      var1);\n11  \n12     Customer getCustomerByUsername(String var1);\n13  \n14
      \    boolean validateCustomer(String var1, String var2);\n15  \n16     Customer
      getCustomerByUsernameAndPassword(String var1, String var2);\n17  \n18     CustomerSession
      validateSession(String var1);\n19  \n20     CustomerSession createSession(String
      var1);\n21  \n22     void invalidateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.service
  - id: 3185
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.service
  - id: 3186
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.service
  - id: 3187
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 18
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 8     Customer createCustomer(String var1, String var2, Customer.MemberShipStatus
      var3, int var4, int var5, String var6, Customer.PhoneType var7, CustomerAddress
      var8);\n 9  \n10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateSession
      package: com.acmeair.service
  - id: 3188
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 20
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createSession
      package: com.acmeair.service
  - id: 3189
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 22
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "12     Customer getCustomerByUsername(String var1);\n13  \n14     boolean
      validateCustomer(String var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.service
  - id: 3190
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.service
  - id: 3191
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 16
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.service
  - id: 3192
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 20
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "10  \n11  public interface FlightService {\n12     Flight getFlightByFlightKey(FlightPK
      var1);\n13  \n14     List getFlightByAirportsAndDepartureDate(String var1, String
      var2, Date var3);\n15  \n16     List getFlightByAirports(String var1, String
      var2);\n17  \n18     void storeAirportMapping(AirportCodeMapping var1);\n19
      \ \n20     Flight createNewFlight(String var1, Date var2, Date var3, BigDecimal
      var4, BigDecimal var5, int var6, int var7, String var8);\n21  \n22     void
      storeFlightSegment(FlightSegment var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.service
  - id: 3193
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 4
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: departBookingId
      package: com.acmeair.web
  - id: 3194
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 5
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: returnBookingId
      package: com.acmeair.web
  - id: 3195
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 8
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3196
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 14
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;\n19
      \    }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3197
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 17
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 7  \n 8     public BookingInfo(String departBookingId, String returnBookingId,
      boolean oneWay) {\n 9        this.departBookingId = departBookingId;\n10        this.returnBookingId
      = returnBookingId;\n11        this.oneWay = oneWay;\n12     }\n13  \n14     public
      BookingInfo() {\n15     }\n16  \n17     public String getDepartBookingId() {\n18
      \       return this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getDepartBookingId
      package: com.acmeair.web
  - id: 3198
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 21
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "11        this.oneWay = oneWay;\n12     }\n13  \n14     public BookingInfo()
      {\n15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setDepartBookingId
      package: com.acmeair.web
  - id: 3199
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 25
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }\n32  \n33     public
      boolean isOneWay() {\n34        return this.oneWay;\n35     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getReturnBookingId
      package: com.acmeair.web
  - id: 3200
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 29
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "19     }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  \n25     public
      String getReturnBookingId() {\n26        return this.returnBookingId;\n27     }\n28
      \ \n29     public void setReturnBookingId(String returnBookingId) {\n30        this.returnBookingId
      = returnBookingId;\n31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setReturnBookingId
      package: com.acmeair.web
  - id: 3201
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 41
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }\n40  \n41     public String toString()
      {\n42        return \"BookingInfo [departBookingId=\" + this.departBookingId
      + \", returnBookingId=\" + this.returnBookingId + \", oneWay=\" + this.oneWay
      + \"]\";\n43     }\n44  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: toString
      package: com.acmeair.web
  - id: 3202
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16  import javax.ws.rs.core.Response.Status;\n17  \n18  @Path(\"/bookings\")\n19
      \ public class BookingsREST {\n20     private BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {\n27        try {\n28           BookingPK bookingIdTo = this.bs.bookFlight(userid,
      new FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3203
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 38
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "28           BookingPK bookingIdTo = this.bs.bookFlight(userid, new
      FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);\n37           } else {\n38              bi
      = new BookingInfo(bookingIdTo.getId(), (String)null, oneWay);\n39           }\n40
      \ \n41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3204
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 51
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET\n49     @Path(\"/bybookingnumber/{userid}/{number}\")\n50
      \    @Produces({\"application/json\"})\n51     public Booking getBookingByNumber(@PathParam(\"number\")
      String number, @FormParam(\"userid\") String userid) {\n52        try {\n53
      \          Booking b = this.bs.getBooking(userid, number);\n54           return
      b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingByNumber
      package: com.acmeair.web
  - id: 3205
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 64
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "54           return b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET\n62     @Path(\"/byuser/{user}\")\n63
      \    @Produces({\"application/json\"})\n64     public List getBookingsByUser(@PathParam(\"user\")
      String user) {\n65        try {\n66           return this.bs.getBookingsByUser(user);\n67
      \       } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.web
  - id: 3206
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 77
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "67        } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})\n75
      \    @Path(\"/cancelbooking\")\n76     @Produces({\"application/json\"})\n77
      \    public Response cancelBookingsByNumber(@FormParam(\"number\") String number,
      @FormParam(\"userid\") String userid) {\n78        try {\n79           this.bs.cancelBooking(userid,
      number);\n80           return Response.ok(\"booking \" + number + \" deleted.\").build();\n81
      \       } catch (Exception var4) {\n82           var4.printStackTrace();\n83
      \          return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n84
      \       }\n85     }\n86  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: cancelBookingsByNumber
      package: com.acmeair.web
  - id: 3207
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 25
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "15  import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3208
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 26
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "16  import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3209
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 33
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "23     private HttpServletRequest request;\n24  \n25     private boolean
      validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();\n37
      \          } else {\n38              Customer customer = this.customerService.getCustomerByUsername(customerid);\n39
      \             return Response.ok(customer).build();\n40           }\n41        }
      catch (Exception var4) {\n42           var4.printStackTrace();\n43           return
      null;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: getCustomer
      package: com.acmeair.web
  - id: 3210
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 50
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "40           }\n41        } catch (Exception var4) {\n42           var4.printStackTrace();\n43
      \          return null;\n44        }\n45     }\n46  \n47     @POST\n48     @Path(\"/byid/{custid}\")\n49
      \    @Produces({\"application/json\"})\n50     public Response putCustomer(@CookieParam(\"sessionid\")
      String sessionid, Customer customer) {\n51        if (!this.validate(customer.getUsername()))
      {\n52           return Response.status(Status.FORBIDDEN).build();\n53        }
      else {\n54           Customer customerFromDB = this.customerService.getCustomerByUsernameAndPassword(customer.getUsername(),
      customer.getPassword());\n55           if (customerFromDB == null) {\n56              return
      Response.status(Status.FORBIDDEN).build();\n57           } else {\n58              CustomerAddress
      addressFromDB = customerFromDB.getAddress();\n59              addressFromDB.setStreetAddress1(customer.getAddress().getStreetAddress1());\n60
      \             if (customer.getAddress().getStreetAddress2() != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3211
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 71
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "61                 addressFromDB.setStreetAddress2(customer.getAddress().getStreetAddress2());\n62
      \             }\n63  \n64              addressFromDB.setCity(customer.getAddress().getCity());\n65
      \             addressFromDB.setStateProvince(customer.getAddress().getStateProvince());\n66
      \             addressFromDB.setCountry(customer.getAddress().getCountry());\n67
      \             addressFromDB.setPostalCode(customer.getAddress().getPostalCode());\n68
      \             customerFromDB.setPhoneNumber(customer.getPhoneNumber());\n69
      \             customerFromDB.setPhoneNumberType(customer.getPhoneNumberType());\n70
      \             this.customerService.updateCustomer(customerFromDB);\n71              customerFromDB.setPassword((String)null);\n72
      \             return Response.ok(customerFromDB).build();\n73           }\n74
      \       }\n75     }\n76  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3212
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 21
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  \n13  @Path(\"/flights\")\n14
      \ public class FlightsREST {\n15     private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {\n22        TripFlightOptions options = new TripFlightOptions();\n23
      \       ArrayList legs = new ArrayList();\n24        TripLegInfo toInfo = new
      TripLegInfo();\n25        List toFlights = this.flightService.getFlightByAirportsAndDepartureDate(fromAirport,
      toAirport, fromDate);\n26        toInfo.setFlightsOptions(toFlights);\n27        legs.add(toInfo);\n28
      \       toInfo.setCurrentPage(0);\n29        toInfo.setHasMoreOptions(false);\n30
      \       toInfo.setNumPages(1);\n31        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: getTripFlights
      package: com.acmeair.web
  - id: 3213
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 54
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "44        }\n45  \n46        options.setTripFlights(legs);\n47        return
      options;\n48     }\n49  \n50     @POST\n51     @Path(\"/browseflights\")\n52
      \    @Consumes({\"application/x-www-form-urlencoded\"})\n53     @Produces({\"application/json\"})\n54
      \    public TripFlightOptions browseFlights(@FormParam(\"fromAirport\") String
      fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"oneWay\")
      boolean oneWay) {\n55        TripFlightOptions options = new TripFlightOptions();\n56
      \       ArrayList legs = new ArrayList();\n57        TripLegInfo toInfo = new
      TripLegInfo();\n58        List toFlights = this.flightService.getFlightByAirports(fromAirport,
      toAirport);\n59        toInfo.setFlightsOptions(toFlights);\n60        legs.add(toInfo);\n61
      \       toInfo.setCurrentPage(0);\n62        toInfo.setHasMoreOptions(false);\n63
      \       toInfo.setNumPages(1);\n64        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: browseFlights
      package: com.acmeair.web
  - id: 3214
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 99
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 89        String line1 = lnr.readLine();\n 90        StringTokenizer
      st = new StringTokenizer(line1, \",\");\n 91        ArrayList airports = new
      ArrayList();\n 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3215
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 102
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  \n110        label61:\n111
      \       while(true) {\n112           line = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3216
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 124
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "114              for(int jj = 0; jj < airports.size(); ++jj) {\n115
      \                this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3217
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 125
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "115                 this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  \n135           while(true)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3218
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 141
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "131           }\n132  \n133           int indexIntoTopLine = 0;\n134
      \ \n135           while(true) {\n136              while(true) {\n137                 if
      (!st.hasMoreTokens()) {\n138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3219
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 146
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "136              while(true) {\n137                 if (!st.hasMoreTokens())
      {\n138                    continue label61;\n139                 }\n140  \n141
      \                String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3220
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 148
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);\n157                          c.set(12,
      0);\n158                          c.set(13, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3221
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 187
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "177        double hours = (double)mileage / averageSpeed;\n178        double
      partsOfHour = hours % 1.0;\n179        int minutes = (int)(60.0 * partsOfHour);\n180
      \       Calendar c = Calendar.getInstance();\n181        c.setTime(departureTime);\n182
      \       c.add(10, (int)hours);\n183        c.add(12, minutes);\n184        return
      c.getTime();\n185     }\n186  \n187     private static boolean alreadyInCollection(String
      airportCode, ArrayList airports) {\n188        for(int ii = 0; ii < airports.size();
      ++ii) {\n189           if (((AirportCodeMapping)airports.get(ii)).getAirportCode().equals(airportCode))
      {\n190              return true;\n191           }\n192        }\n193  \n194
      \       return false;\n195     }\n196  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: alreadyInCollection
      package: com.acmeair.web
  - id: 3222
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 34
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST
      {\n27     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET\n32     @Path(\"/load\")\n33
      \    @Produces({\"text/plain\"})\n34     public String load() {\n35        return
      this.loadData(10L, 30);\n36     }\n37  \n38     @GET\n39     @Path(\"/loadSmall\")\n40
      \    @Produces({\"text/plain\"})\n41     public String loadSmall() {\n42        return
      this.loadData(5L, 5);\n43     }\n44  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: load
      package: com.acmeair.web
  - id: 3223
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 41
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "31     @GET\n32     @Path(\"/load\")\n33     @Produces({\"text/plain\"})\n34
      \    public String load() {\n35        return this.loadData(10L, 30);\n36     }\n37
      \ \n38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadSmall
      package: com.acmeair.web
  - id: 3224
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 48
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  \n52     private String loadData(long numCustomers, int segments)
      {\n53        synchronized(lock) {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadTiny
      package: com.acmeair.web
  - id: 3225
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 52
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "42        return this.loadData(5L, 5);\n43     }\n44  \n45     @GET\n46
      \    @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48     public
      String loadTiny() {\n49        return this.loadData(2L, 2);\n50     }\n51  \n52
      \    private String loadData(long numCustomers, int segments) {\n53        synchronized(lock)
      {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }\n59  \n60           try {\n61              this.loadFlights(segments);\n62
      \          } catch (Exception var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadData
      package: com.acmeair.web
  - id: 3226
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 72
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "62           } catch (Exception var7) {\n63              var7.printStackTrace();\n64
      \          }\n65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3227
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 75
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3228
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 89
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {\n86        System.out.println(\"Loading flight
      data...\");\n87        InputStream csvInputStream = this.getClass().getResourceAsStream(\"/mileage.csv\");\n88
      \       LineNumberReader lnr = new LineNumberReader(new InputStreamReader(csvInputStream));\n89
      \       String line1 = lnr.readLine();\n90        StringTokenizer st = new StringTokenizer(line1,
      \",\");\n91        ArrayList airports = new ArrayList();\n92  \n93        while(st.hasMoreTokens())
      {\n94           AirportCodeMapping acm = new AirportCodeMapping();\n95           acm.setAirportName(st.nextToken());\n96
      \          airports.add(acm);\n97        }\n98  \n99        String line2 = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3229
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 21
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Field
      name: SESSIONID_COOKIE_NAME
      package: com.acmeair.web
  - id: 3230
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 27
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "17  \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST
      {\n21     public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();\n32
      \          } else {\n33              CustomerSession session = this.customerService.createSession(login);\n34
      \             NewCookie sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, session.getId());\n35
      \             return Response.ok(\"logged in\").cookie(new NewCookie[]{sessCookie}).build();\n36
      \          }\n37        } catch (Exception var6) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: login
      package: com.acmeair.web
  - id: 3231
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 46
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "36           }\n37        } catch (Exception var6) {\n38           var6.printStackTrace();\n39
      \          return null;\n40        }\n41     }\n42  \n43     @GET\n44     @Path(\"/logout\")\n45
      \    @Produces({\"text/plain\"})\n46     public Response logout(@QueryParam(\"login\")
      String login, @CookieParam(\"sessionid\") String sessionid) {\n47        try
      {\n48           this.customerService.invalidateSession(sessionid);\n49           NewCookie
      sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, \"\");\n50           return
      Response.ok(\"logged out\").cookie(new NewCookie[]{sessCookie}).build();\n51
      \       } catch (Exception var4) {\n52           var4.printStackTrace();\n53
      \          return null;\n54        }\n55     }\n56  }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: logout
      package: com.acmeair.web
  - id: 3232
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 19
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_USER
      package: com.acmeair.web
  - id: 3233
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 20
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "10  import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_PATH
      package: com.acmeair.web
  - id: 3234
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 21
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "11  import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }\n30  \n31     public void doFilter(ServletRequest
      req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGOUT_PATH
      package: com.acmeair.web
  - id: 3235
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3236
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 55
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "45                 Cookie c = var9[var11];\n46                 if (c.getName().equals(LoginREST.SESSIONID_COOKIE_NAME))
      {\n47                    sessionCookie = c;\n48                 }\n49  \n50
      \                if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3237
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 13
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: " 3  import com.acmeair.web.config.WXSDirectAppConfig;\n 4  import java.util.concurrent.atomic.AtomicReference;\n
      5  import java.util.logging.Logger;\n 6  import javax.naming.Context;\n 7  import
      javax.naming.InitialContext;\n 8  import javax.naming.NamingException;\n 9  import
      org.springframework.context.ApplicationContext;\n10  import org.springframework.context.annotation.AnnotationConfigApplicationContext;\n11
      \ \n12  public class ServiceLocator {\n13     public static String REPOSITORY_LOOKUP_KEY
      = \"com.acmeair.repository.type\";\n14     final ApplicationContext ctx;\n15
      \    private static Logger logger = Logger.getLogger(ServiceLocator.class.getName());\n16
      \    private static AtomicReference singletonServiceLocator = new AtomicReference();\n17
      \ \n18     static ServiceLocator instance() {\n19        if (singletonServiceLocator.get()
      == null) {\n20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Field
      name: REPOSITORY_LOOKUP_KEY
      package: com.acmeair.web
  - id: 3238
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 30
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3239
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 31
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "21              if (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3240
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 32
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "22                 singletonServiceLocator.set(new ServiceLocator());\n23
      \             }\n24           }\n25        }\n26  \n27        return (ServiceLocator)singletonServiceLocator.get();\n28
      \    }\n29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3241
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 39
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3242
    createTime: 2024-07-22T06:22:27.196401876Z
    issue: 37
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 48
    message: Method encodeRedirectUrl in javax.servlet.http.HttpServletResponseWrapper
      has been removed. Use encodeRedirectURL instead.
    codeSnip: "38           if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {\n50                 logger.info(\"Found repository in server.xml:\"
      + type);\n51              }\n52           } catch (NamingException var6) {\n53
      \          }\n54        }\n55  \n56        if (type == null) {\n57           type
      = System.getProperty(REPOSITORY_LOOKUP_KEY);\n58           if (type != null)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 38
  createTime: 2024-07-22T06:22:27.20191303Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00070
  name: ""
  description: Method getServlet in javax.servlet.UnavailableException has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3243
    createTime: 2024-07-22T06:22:27.208090065Z
    issue: 38
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method getServlet in javax.servlet.UnavailableException has been removed.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 39
  createTime: 2024-07-22T06:22:27.210434489Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00040
  name: ""
  description: Method getServlet in javax.servlet.ServletContext method has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3244
    createTime: 2024-07-22T06:22:27.216314887Z
    issue: 39
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method getServlet in javax.servlet.ServletContext has been removed.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 40
  createTime: 2024-07-22T06:22:27.22596125Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00060
  name: ""
  description: Method in javax.servlet.ServletRequestWrapper has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3245
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 11
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3246
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 12
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class AirportCodeMapping
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String airportName;\n13
      \ \n14     public AirportCodeMapping() {\n15     }\n16  \n17     public AirportCodeMapping(String
      airportCode, String airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: airportName
      package: com.acmeair.entities
  - id: 3247
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n
      6  \n 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3248
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 17
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3249
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 22
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;\n28     }\n29  \n30     public
      String getAirportName() {\n31        return this.airportName;\n32     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportCode
      package: com.acmeair.entities
  - id: 3250
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16  \n17     public AirportCodeMapping(String airportCode, String airportName)
      {\n18        this.id = airportCode;\n19        this.airportName = airportName;\n20
      \    }\n21  \n22     public String getAirportCode() {\n23        return this.id;\n24
      \    }\n25  \n26     public void setAirportCode(String airportCode) {\n27        this.id
      = airportCode;\n28     }\n29  \n30     public String getAirportName() {\n31
      \       return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportCode
      package: com.acmeair.entities
  - id: 3251
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 30
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "20     }\n21  \n22     public String getAirportCode() {\n23        return
      this.id;\n24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportName
      package: com.acmeair.entities
  - id: 3252
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 34
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportName
      package: com.acmeair.entities
  - id: 3253
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 25
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "15     private FlightPK flightKey;\n16     private Date dateOfBooking;\n17
      \    @ManyToOne\n18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3254
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 28
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ \n36     public BookingPK getPkey() {\n37        return this.pkey;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3255
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 40
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "30        this.flightKey = flight.getPkey();\n31        this.dateOfBooking
      = dateOfFlight;\n32        this.customer = customer;\n33        this.flight
      = flight;\n34     }\n35  \n36     public BookingPK getPkey() {\n37        return
      this.pkey;\n38     }\n39  \n40     public String getCustomerId() {\n41        return
      this.pkey.getCustomerId();\n42     }\n43  \n44     public void setPkey(BookingPK
      pkey) {\n45        this.pkey = pkey;\n46     }\n47  \n48     public FlightPK
      getFlightKey() {\n49        return this.flightKey;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3256
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 76
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "66     }\n67  \n68     public Customer getCustomer() {\n69        return
      this.customer;\n70     }\n71  \n72     public Flight getFlight() {\n73        return
      this.flight;\n74     }\n75  \n76     public String toString() {\n77        return
      \"Booking [key=\" + this.pkey + \", flightKey=\" + this.flightKey + \", dateOfBooking=\"
      + this.dateOfBooking + \", customer=\" + this.customer + \", flight=\" + this.flight
      + \"]\";\n78     }\n79  \n80     public boolean equals(Object obj) {\n81        if
      (this == obj) {\n82           return true;\n83        } else if (obj == null)
      {\n84           return false;\n85        } else if (this.getClass() != obj.getClass())
      {\n86           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3257
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      BookingPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"bookingId\"\n12     )\n13     private
      String id;\n14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3258
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: customerId
      package: com.acmeair.entities
  - id: 3259
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3260
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 19
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3261
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 24
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ \n24     public String getId() {\n25        return this.id;\n26     }\n27
      \ \n28     public void setId(String id) {\n29        this.id = id;\n30     }\n31
      \ \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3262
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 28
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "18  \n19     public BookingPK(String customerId, String id) {\n20        this.id
      = id;\n21        this.customerId = customerId;\n22     }\n23  \n24     public
      String getId() {\n25        return this.id;\n26     }\n27  \n28     public void
      setId(String id) {\n29        this.id = id;\n30     }\n31  \n32     public String
      getCustomerId() {\n33        return this.customerId;\n34     }\n35  \n36     public
      void setCustomerId(String customerId) {\n37        this.customerId = customerId;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3263
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 32
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }\n35  \n36     public void setCustomerId(String customerId) {\n37        this.customerId
      = customerId;\n38     }\n39  \n40     public int hashCode() {\n41        int
      prime = true;\n42        int result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3264
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 36
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getCustomerId() {\n33        return
      this.customerId;\n34     }\n35  \n36     public void setCustomerId(String customerId)
      {\n37        this.customerId = customerId;\n38     }\n39  \n40     public int
      hashCode() {\n41        int prime = true;\n42        int result = 1;\n43        result
      = 31 * result + (this.customerId == null ? 0 : this.customerId.hashCode());\n44
      \       result = 31 * result + (this.id == null ? 0 : this.id.hashCode());\n45
      \       return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setCustomerId
      package: com.acmeair.entities
  - id: 3265
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 77
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"BookingPK [customerId=\" + this.customerId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3266
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;\n18
      \    private MemberShipStatus status;\n19     private int total_miles;\n20     private
      int miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23
      \    private String phoneNumber;\n24     private PhoneType phoneNumberType;\n25
      \ \n26     public Customer() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3267
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 17
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      Customer implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15
      \    )\n16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: password
      package: com.acmeair.entities
  - id: 3268
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 104
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 94     }\n 95  \n 96     public CustomerAddress getAddress() {\n 97
      \       return this.address;\n 98     }\n 99  \n100     public void setAddress(CustomerAddress
      address) {\n101        this.address = address;\n102     }\n103  \n104     public
      String toString() {\n105        return \"Customer [id=\" + this.id + \", password=\"
      + this.password + \", status=\" + this.status + \", total_miles=\" + this.total_miles
      + \", miles_ytd=\" + this.miles_ytd + \", address=\" + this.address + \", phoneNumber=\"
      + this.phoneNumber + \", phoneNumberType=\" + this.phoneNumberType + \"]\";\n106
      \    }\n107  \n108     public boolean equals(Object obj) {\n109        if (this
      == obj) {\n110           return true;\n111        } else if (obj == null) {\n112
      \          return false;\n113        } else if (this.getClass() != obj.getClass())
      {\n114           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3269
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 23
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16
      \    private String id;\n17     private String password;\n18     private MemberShipStatus
      status;\n19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: phoneNumber
      package: com.acmeair.entities
  - id: 3270
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 163
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "153                 return false;\n154              } else if (this.status
      != other.status) {\n155                 return false;\n156              } else
      {\n157                 return this.total_miles == other.total_miles;\n158              }\n159
      \          }\n160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3271
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3272
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 170
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,\n174        PLATINUM,\n175        EXEC_PLATINUM,\n176
      \       GRAPHITE;\n177     }\n178  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3273
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 29
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;\n37
      \       this.phoneNumberType = phoneNumberType;\n38     }\n39  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3274
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 40
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "30        this.id = username;\n31        this.password = password;\n32
      \       this.status = status;\n33        this.total_miles = total_miles;\n34
      \       this.miles_ytd = miles_ytd;\n35        this.address = address;\n36        this.phoneNumber
      = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38     }\n39
      \ \n40     public String getUsername() {\n41        return this.id;\n42     }\n43
      \ \n44     public void setUsername(String username) {\n45        this.id = username;\n46
      \    }\n47  \n48     public String getPassword() {\n49        return this.password;\n50
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getUsername
      package: com.acmeair.entities
  - id: 3275
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 44
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "34        this.miles_ytd = miles_ytd;\n35        this.address = address;\n36
      \       this.phoneNumber = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38
      \    }\n39  \n40     public String getUsername() {\n41        return this.id;\n42
      \    }\n43  \n44     public void setUsername(String username) {\n45        this.id
      = username;\n46     }\n47  \n48     public String getPassword() {\n49        return
      this.password;\n50     }\n51  \n52     public void setPassword(String password)
      {\n53        this.password = password;\n54     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setUsername
      package: com.acmeair.entities
  - id: 3276
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 48
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "38     }\n39  \n40     public String getUsername() {\n41        return
      this.id;\n42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPassword
      package: com.acmeair.entities
  - id: 3277
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 52
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }\n59
      \ \n60     public void setStatus(MemberShipStatus status) {\n61        this.status
      = status;\n62     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPassword
      package: com.acmeair.entities
  - id: 3278
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 80
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "70     }\n71  \n72     public int getMiles_ytd() {\n73        return
      this.miles_ytd;\n74     }\n75  \n76     public void setMiles_ytd(int miles_ytd)
      {\n77        this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String
      getPhoneNumber() {\n81        return this.phoneNumber;\n82     }\n83  \n84     public
      void setPhoneNumber(String phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86
      \    }\n87  \n88     public PhoneType getPhoneNumberType() {\n89        return
      this.phoneNumberType;\n90     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPhoneNumber
      package: com.acmeair.entities
  - id: 3279
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 84
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "74     }\n75  \n76     public void setMiles_ytd(int miles_ytd) {\n77
      \       this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String getPhoneNumber()
      {\n81        return this.phoneNumber;\n82     }\n83  \n84     public void setPhoneNumber(String
      phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86     }\n87  \n88
      \    public PhoneType getPhoneNumberType() {\n89        return this.phoneNumberType;\n90
      \    }\n91  \n92     public void setPhoneNumberType(PhoneType phoneNumberType)
      {\n93        this.phoneNumberType = phoneNumberType;\n94     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPhoneNumber
      package: com.acmeair.entities
  - id: 3280
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 44
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCity
      package: com.acmeair.entities
  - id: 3281
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 48
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCity
      package: com.acmeair.entities
  - id: 3282
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 52
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStateProvince
      package: com.acmeair.entities
  - id: 3283
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 56
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStateProvince
      package: com.acmeair.entities
  - id: 3284
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 60
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCountry
      package: com.acmeair.entities
  - id: 3285
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 64
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCountry
      package: com.acmeair.entities
  - id: 3286
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 68
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getPostalCode
      package: com.acmeair.entities
  - id: 3287
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 72
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setPostalCode
      package: com.acmeair.entities
  - id: 3288
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 76
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3289
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 9
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress1
      package: com.acmeair.entities
  - id: 3290
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 10
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress2
      package: com.acmeair.entities
  - id: 3291
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 11
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: city
      package: com.acmeair.entities
  - id: 3292
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 12
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: stateProvince
      package: com.acmeair.entities
  - id: 3293
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: country
      package: com.acmeair.entities
  - id: 3294
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7
      \ public class CustomerAddress implements Serializable {\n 8     private static
      final long serialVersionUID = 1L;\n 9     private String streetAddress1;\n10
      \    private String streetAddress2;\n11     private String city;\n12     private
      String stateProvince;\n13     private String country;\n14     private String
      postalCode;\n15  \n16     public CustomerAddress() {\n17     }\n18  \n19     public
      CustomerAddress(String streetAddress1, String streetAddress2, String city, String
      stateProvince, String country, String postalCode) {\n20        this.streetAddress1
      = streetAddress1;\n21        this.streetAddress2 = streetAddress2;\n22        this.city
      = city;\n23        this.stateProvince = stateProvince;\n24        this.country
      = country;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: postalCode
      package: com.acmeair.entities
  - id: 3295
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3296
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 19
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 9     private String streetAddress1;\n10     private String streetAddress2;\n11
      \    private String city;\n12     private String stateProvince;\n13     private
      String country;\n14     private String postalCode;\n15  \n16     public CustomerAddress()
      {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1, String
      streetAddress2, String city, String stateProvince, String country, String postalCode)
      {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3297
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 28
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress1
      package: com.acmeair.entities
  - id: 3298
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 32
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "22        this.city = city;\n23        this.stateProvince = stateProvince;\n24
      \       this.country = country;\n25        this.postalCode = postalCode;\n26
      \    }\n27  \n28     public String getStreetAddress1() {\n29        return this.streetAddress1;\n30
      \    }\n31  \n32     public void setStreetAddress1(String streetAddress1) {\n33
      \       this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress1
      package: com.acmeair.entities
  - id: 3299
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 36
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "26     }\n27  \n28     public String getStreetAddress1() {\n29        return
      this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }\n39  \n40     public void setStreetAddress2(String streetAddress2) {\n41
      \       this.streetAddress2 = streetAddress2;\n42     }\n43  \n44     public
      String getCity() {\n45        return this.city;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress2
      package: com.acmeair.entities
  - id: 3300
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 40
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "30     }\n31  \n32     public void setStreetAddress1(String streetAddress1)
      {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }\n43  \n44     public String getCity() {\n45        return
      this.city;\n46     }\n47  \n48     public void setCity(String city) {\n49        this.city
      = city;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress2
      package: com.acmeair.entities
  - id: 3301
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class CustomerSession implements Serializable {\n11
      \    private static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14
      \       columnDefinition = \"VARCHAR\"\n15     )\n16     private String id;\n17
      \    private String customerid;\n18     private Date lastAccessedTime;\n19     private
      Date timeoutTime;\n20  \n21     public CustomerSession() {\n22     }\n23  \n24
      \    public CustomerSession(String id, String customerid, Date lastAccessedTime,
      Date timeoutTime) {\n25        this.id = id;\n26        this.customerid = customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3302
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 17
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      CustomerSession implements Serializable {\n11     private static final long
      serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;\n18
      \    private Date lastAccessedTime;\n19     private Date timeoutTime;\n20  \n21
      \    public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: customerid
      package: com.acmeair.entities
  - id: 3303
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 21
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "11     private static final long serialVersionUID = 1L;\n12     @Id\n13
      \    @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3304
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 24
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3305
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 31
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "21     public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;\n28        this.timeoutTime = timeoutTime;\n29     }\n30
      \ \n31     public String getId() {\n32        return this.id;\n33     }\n34
      \ \n35     public void setId(String id) {\n36        this.id = id;\n37     }\n38
      \ \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3306
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 35
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "25        this.id = id;\n26        this.customerid = customerid;\n27
      \       this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3307
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 39
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "29     }\n30  \n31     public String getId() {\n32        return this.id;\n33
      \    }\n34  \n35     public void setId(String id) {\n36        this.id = id;\n37
      \    }\n38  \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }\n42  \n43     public void setCustomerid(String customerid) {\n44        this.customerid
      = customerid;\n45     }\n46  \n47     public Date getLastAccessedTime() {\n48
      \       return this.lastAccessedTime;\n49     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getCustomerid
      package: com.acmeair.entities
  - id: 3308
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 43
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }\n46  \n47     public Date
      getLastAccessedTime() {\n48        return this.lastAccessedTime;\n49     }\n50
      \ \n51     public void setLastAccessedTime(Date lastAccessedTime) {\n52        this.lastAccessedTime
      = lastAccessedTime;\n53     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setCustomerid
      package: com.acmeair.entities
  - id: 3309
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 63
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "53     }\n54  \n55     public Date getTimeoutTime() {\n56        return
      this.timeoutTime;\n57     }\n58  \n59     public void setTimeoutTime(Date timeoutTime)
      {\n60        this.timeoutTime = timeoutTime;\n61     }\n62  \n63     public
      String toString() {\n64        return \"CustomerSession [id=\" + this.id + \",
      customerid=\" + this.customerid + \", lastAccessedTime=\" + this.lastAccessedTime
      + \", timeoutTime=\" + this.timeoutTime + \"]\";\n65     }\n66  \n67     public
      boolean equals(Object obj) {\n68        if (this == obj) {\n69           return
      true;\n70        } else if (obj == null) {\n71           return false;\n72        }
      else if (this.getClass() != obj.getClass()) {\n73           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3310
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 97
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 87     }\n 88  \n 89     public int getNumEconomyClassSeats() {\n
      90        return this.numEconomyClassSeats;\n 91     }\n 92  \n 93     public
      void setNumEconomyClassSeats(int numEconomyClassSeats) {\n 94        this.numEconomyClassSeats
      = numEconomyClassSeats;\n 95     }\n 96  \n 97     public String getAirplaneTypeId()
      {\n 98        return this.airplaneTypeId;\n 99     }\n100  \n101     public
      void setAirplaneTypeId(String airplaneTypeId) {\n102        this.airplaneTypeId
      = airplaneTypeId;\n103     }\n104  \n105     public FlightSegment getFlightSegment()
      {\n106        return this.flightSegment;\n107     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getAirplaneTypeId
      package: com.acmeair.entities
  - id: 3311
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 101
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 91     }\n 92  \n 93     public void setNumEconomyClassSeats(int numEconomyClassSeats)
      {\n 94        this.numEconomyClassSeats = numEconomyClassSeats;\n 95     }\n
      96  \n 97     public String getAirplaneTypeId() {\n 98        return this.airplaneTypeId;\n
      99     }\n100  \n101     public void setAirplaneTypeId(String airplaneTypeId)
      {\n102        this.airplaneTypeId = airplaneTypeId;\n103     }\n104  \n105     public
      FlightSegment getFlightSegment() {\n106        return this.flightSegment;\n107
      \    }\n108  \n109     public void setFlightSegment(FlightSegment flightSegment)
      {\n110        this.flightSegment = flightSegment;\n111     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: setAirplaneTypeId
      package: com.acmeair.entities
  - id: 3312
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 20
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "10  public class Flight implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @EmbeddedId\n13     private FlightPK
      pkey;\n14     private Date scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16
      \    private BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;\n18
      \    private int numFirstClassSeats;\n19     private int numEconomyClassSeats;\n20
      \    private String airplaneTypeId;\n21     private FlightSegment flightSegment;\n22
      \ \n23     public Flight() {\n24     }\n25  \n26     public Flight(String id,
      String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n27        this.pkey = new
      FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime = scheduledDepartureTime;\n29
      \       this.scheduledArrivalTime = scheduledArrivalTime;\n30        this.firstClassBaseCost
      = firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Field
      name: airplaneTypeId
      package: com.acmeair.entities
  - id: 3313
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 113
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "103     }\n104  \n105     public FlightSegment getFlightSegment() {\n106
      \       return this.flightSegment;\n107     }\n108  \n109     public void setFlightSegment(FlightSegment
      flightSegment) {\n110        this.flightSegment = flightSegment;\n111     }\n112
      \ \n113     public String toString() {\n114        return \"Flight key=\" +
      this.pkey + \", scheduledDepartureTime=\" + this.scheduledDepartureTime + \",
      scheduledArrivalTime=\" + this.scheduledArrivalTime + \", firstClassBaseCost=\"
      + this.firstClassBaseCost + \", economyClassBaseCost=\" + this.economyClassBaseCost
      + \", numFirstClassSeats=\" + this.numFirstClassSeats + \", numEconomyClassSeats=\"
      + this.numEconomyClassSeats + \", airplaneTypeId=\" + this.airplaneTypeId +
      \"]\";\n115     }\n116  \n117     public boolean equals(Object obj) {\n118        if
      (this == obj) {\n119           return true;\n120        } else if (obj == null)
      {\n121           return false;\n122        } else if (this.getClass() != obj.getClass())
      {\n123           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3314
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 23
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "13     private FlightPK pkey;\n14     private Date scheduledDepartureTime;\n15
      \    private Date scheduledArrivalTime;\n16     private BigDecimal firstClassBaseCost;\n17
      \    private BigDecimal economyClassBaseCost;\n18     private int numFirstClassSeats;\n19
      \    private int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21
      \    private FlightSegment flightSegment;\n22  \n23     public Flight() {\n24
      \    }\n25  \n26     public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3315
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16     private BigDecimal firstClassBaseCost;\n17     private BigDecimal
      economyClassBaseCost;\n18     private int numFirstClassSeats;\n19     private
      int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21     private
      FlightSegment flightSegment;\n22  \n23     public Flight() {\n24     }\n25  \n26
      \    public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;\n34        this.airplaneTypeId
      = airplaneTypeId;\n35     }\n36  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3316
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 45
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "35     }\n36  \n37     public FlightPK getPkey() {\n38        return
      this.pkey;\n39     }\n40  \n41     public void setPkey(FlightPK pkey) {\n42
      \       this.pkey = pkey;\n43     }\n44  \n45     public String getFlightSegmentId()
      {\n46        return this.pkey.getFlightSegmentId();\n47     }\n48  \n49     public
      Date getScheduledDepartureTime() {\n50        return this.scheduledDepartureTime;\n51
      \    }\n52  \n53     public void setScheduledDepartureTime(Date scheduledDepartureTime)
      {\n54        this.scheduledDepartureTime = scheduledDepartureTime;\n55     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3317
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      FlightPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"flightId\"\n12     )\n13     private
      String id;\n14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3318
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: flightSegmentId
      package: com.acmeair.entities
  - id: 3319
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3320
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 19
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }\n27  \n28
      \    public void setId(String id) {\n29        this.id = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3321
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 24
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3322
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 28
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "18  \n19     public FlightPK(String flightSegmentId, String id) {\n20
      \       this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3323
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 32
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3324
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 36
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;\n43        result = 31 * result + (this.flightSegmentId == null
      ? 0 : this.flightSegmentId.hashCode());\n44        result = 31 * result + (this.id
      == null ? 0 : this.id.hashCode());\n45        return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setFlightSegmentId
      package: com.acmeair.entities
  - id: 3325
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 77
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"FlightPK [flightSegmentId=\" + this.flightSegmentId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3326
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 11
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3327
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 12
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: originPort
      package: com.acmeair.entities
  - id: 3328
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;\n23
      \       this.miles = miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: destPort
      package: com.acmeair.entities
  - id: 3329
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  \n 7  @Entity\n 8  public class FlightSegment implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3330
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 19
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Id\n11
      \    private String id;\n12     private String originPort;\n13     private String
      destPort;\n14     private int miles;\n15  \n16     public FlightSegment() {\n17
      \    }\n18  \n19     public FlightSegment(String flightName, String origPort,
      String destPort, int miles) {\n20        this.id = flightName;\n21        this.originPort
      = origPort;\n22        this.destPort = destPort;\n23        this.miles = miles;\n24
      \    }\n25  \n26     public String getFlightName() {\n27        return this.id;\n28
      \    }\n29  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3331
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16     public FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String
      flightName, String origPort, String destPort, int miles) {\n20        this.id
      = flightName;\n21        this.originPort = origPort;\n22        this.destPort
      = destPort;\n23        this.miles = miles;\n24     }\n25  \n26     public String
      getFlightName() {\n27        return this.id;\n28     }\n29  \n30     public
      void setFlightName(String flightName) {\n31        this.id = flightName;\n32
      \    }\n33  \n34     public String getOriginPort() {\n35        return this.originPort;\n36
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getFlightName
      package: com.acmeair.entities
  - id: 3332
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 30
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {\n27        return this.id;\n28     }\n29
      \ \n30     public void setFlightName(String flightName) {\n31        this.id
      = flightName;\n32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setFlightName
      package: com.acmeair.entities
  - id: 3333
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 34
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "24     }\n25  \n26     public String getFlightName() {\n27        return
      this.id;\n28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getOriginPort
      package: com.acmeair.entities
  - id: 3334
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 38
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46
      \    public void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setOriginPort
      package: com.acmeair.entities
  - id: 3335
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 42
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getDestPort
      package: com.acmeair.entities
  - id: 3336
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 46
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setDestPort
      package: com.acmeair.entities
  - id: 3337
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 58
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "48     }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }\n57  \n58     public String toString() {\n59        StringBuffer
      sb = new StringBuffer();\n60        sb.append(\"FlightSegment \").append(this.id).append(\"
      originating from:\\\"\").append(this.originPort).append(\"\\\" arriving at:\\\"\").append(this.destPort).append(\"\\\"\");\n61
      \       return sb.toString();\n62     }\n63  \n64     public boolean equals(Object
      obj) {\n65        if (this == obj) {\n66           return true;\n67        }
      else if (obj == null) {\n68           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3338
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 36
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "26     @Resource\n27     FlightService flightService;\n28     @Resource\n29
      \    CustomerService customerService;\n30     @Resource\n31     KeyGenerator
      keyGenerator;\n32  \n33     @Transactional(\n34        propagation = Propagation.REQUIRED\n35
      \    )\n36     public BookingPK bookFlight(String customerId, FlightPK flightId)
      {\n37        try {\n38           Flight f = this.flightService.getFlightByFlightKey(flightId);\n39
      \          Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: bookFlight
      package: com.acmeair.jpa.service
  - id: 3339
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 49
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "39           Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }\n47     }\n48  \n49     public Booking
      getBooking(String user, String id) {\n50        BookingPK key = new BookingPK(user,
      id);\n51        return (Booking)this.em.find(Booking.class, key);\n52     }\n53
      \ \n54     public List getBookingsByUser(String user) {\n55        Query q =
      this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBooking
      package: com.acmeair.jpa.service
  - id: 3340
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 54
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "44        } catch (Exception var7) {\n45           throw new RuntimeException(var7);\n46
      \       }\n47     }\n48  \n49     public Booking getBooking(String user, String
      id) {\n50        BookingPK key = new BookingPK(user, id);\n51        return
      (Booking)this.em.find(Booking.class, key);\n52     }\n53  \n54     public List
      getBookingsByUser(String user) {\n55        Query q = this.em.createQuery(\"SELECT
      obj FROM Booking obj where obj.customer.id=?1\");\n56        q.setParameter(1,
      user);\n57        List results = q.getResultList();\n58        return results;\n59
      \    }\n60  \n61     @Transactional(\n62        propagation = Propagation.REQUIRED\n63
      \    )\n64     public void cancelBooking(String user, String id) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.jpa.service
  - id: 3341
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 64
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "54     public List getBookingsByUser(String user) {\n55        Query
      q = this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }\n60  \n61     @Transactional(\n62        propagation
      = Propagation.REQUIRED\n63     )\n64     public void cancelBooking(String user,
      String id) {\n65        Booking booking = this.getBooking(user, id);\n66        if
      (booking != null) {\n67           this.em.remove(booking);\n68        }\n69
      \ \n70     }\n71  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.jpa.service
  - id: 3342
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 110
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "100              }\n101           }\n102        } catch (Exception
      var4) {\n103           throw new RuntimeException(var4);\n104        }\n105
      \    }\n106  \n107     @Transactional(\n108        propagation = Propagation.REQUIRED\n109
      \    )\n110     public CustomerSession createSession(String customerId) {\n111
      \       try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3343
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 112
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "102        } catch (Exception var4) {\n103           throw new RuntimeException(var4);\n104
      \       }\n105     }\n106  \n107     @Transactional(\n108        propagation
      = Propagation.REQUIRED\n109     )\n110     public CustomerSession createSession(String
      customerId) {\n111        try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;\n121        } catch (Exception var7) {\n122           throw
      new RuntimeException(var7);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3344
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 129
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "119           this.em.persist(cSession);\n120           return cSession;\n121
      \       } catch (Exception var7) {\n122           throw new RuntimeException(var7);\n123
      \       }\n124     }\n125  \n126     @Transactional(\n127        propagation
      = Propagation.REQUIRED\n128     )\n129     public void invalidateSession(String
      sessionid) {\n130        try {\n131           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n132           if (cSession != null) {\n133              this.em.remove(cSession);\n134
      \          }\n135  \n136        } catch (Exception var3) {\n137           throw
      new RuntimeException(var3);\n138        }\n139     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.jpa.service
  - id: 3345
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 28
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "18  public class CustomerServiceImpl implements CustomerService {\n19
      \    private static final int DAYS_TO_ALLOW_SESSION = 1;\n20     @Autowired\n21
      \    EntityManager em;\n22     @Resource\n23     KeyGenerator keyGenerator;\n24
      \ \n25     @Transactional(\n26        propagation = Propagation.REQUIRED\n27
      \    )\n28     public Customer createCustomer(String username, String password,
      Customer.MemberShipStatus status, int total_miles, int miles_ytd, String phoneNumber,
      Customer.PhoneType phoneNumberType, CustomerAddress address) {\n29        Customer
      customer = new Customer(username, password, status, total_miles, miles_ytd,
      address, phoneNumber, phoneNumberType);\n30  \n31        try {\n32           this.em.persist(customer);\n33
      \          return customer;\n34        } catch (Exception var11) {\n35           throw
      new RuntimeException(var11);\n36        }\n37     }\n38  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createCustomer
      package: com.acmeair.jpa.service
  - id: 3346
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 65
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "55           customer.setPhoneNumberType(updatedCustomer.getPhoneNumberType());\n56
      \          customer.setStatus(updatedCustomer.getStatus());\n57           customer.setTotal_miles(updatedCustomer.getTotal_miles());\n58
      \          this.em.persist(customer);\n59           return customer;\n60        }
      catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.jpa.service
  - id: 3347
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 70
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "60        } catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }\n76  \n77        return
      validatedCustomer;\n78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.jpa.service
  - id: 3348
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 80
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "70     public boolean validateCustomer(String username, String password)
      {\n71        boolean validatedCustomer = false;\n72        Customer customerToValidate
      = this.getCustomerByUsername(username);\n73        if (customerToValidate !=
      null) {\n74           validatedCustomer = password.equals(customerToValidate.getPassword());\n75
      \       }\n76  \n77        return validatedCustomer;\n78     }\n79  \n80     public
      Customer getCustomerByUsernameAndPassword(String username, String password)
      {\n81        Customer c = this.getCustomerByUsername(username);\n82        return
      !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85     @Transactional(\n86
      \       propagation = Propagation.REQUIRED\n87     )\n88     public CustomerSession
      validateSession(String sessionid) {\n89        try {\n90           CustomerSession
      cSession = (CustomerSession)this.em.find(CustomerSession.class, sessionid);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.jpa.service
  - id: 3349
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 88
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {\n81        Customer c = this.getCustomerByUsername(username);\n82
      \       return !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85
      \    @Transactional(\n86        propagation = Propagation.REQUIRED\n87     )\n88
      \    public CustomerSession validateSession(String sessionid) {\n89        try
      {\n90           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n91           if (cSession == null) {\n92              return null;\n93
      \          } else {\n94              Date now = new Date();\n95              if
      (cSession.getTimeoutTime().before(now)) {\n96                 this.em.remove(cSession);\n97
      \                return null;\n98              } else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateSession
      package: com.acmeair.jpa.service
  - id: 3350
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 104
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 94           } catch (Exception var4) {\n 95              throw new
      RuntimeException(var4);\n 96           }\n 97        }\n 98  \n 99     }\n100
      \ \n101     @Transactional(\n102        propagation = Propagation.REQUIRED\n103
      \    )\n104     public Flight createNewFlight(String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n105
      \       try {\n106           String id = this.keyGenerator.generate().toString();\n107
      \          Flight flight = new Flight(id, flightSegmentId, scheduledDepartureTime,
      scheduledArrivalTime, firstClassBaseCost, economyClassBaseCost, numFirstClassSeats,
      numEconomyClassSeats, airplaneTypeId);\n108           this.em.persist(flight);\n109
      \          return flight;\n110        } catch (Exception var11) {\n111           throw
      new RuntimeException(var11);\n112        }\n113     }\n114  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3351
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 106
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 96           }\n 97        }\n 98  \n 99     }\n100  \n101     @Transactional(\n102
      \       propagation = Propagation.REQUIRED\n103     )\n104     public Flight
      createNewFlight(String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n105        try {\n106           String
      id = this.keyGenerator.generate().toString();\n107           Flight flight =
      new Flight(id, flightSegmentId, scheduledDepartureTime, scheduledArrivalTime,
      firstClassBaseCost, economyClassBaseCost, numFirstClassSeats, numEconomyClassSeats,
      airplaneTypeId);\n108           this.em.persist(flight);\n109           return
      flight;\n110        } catch (Exception var11) {\n111           throw new RuntimeException(var11);\n112
      \       }\n113     }\n114  \n115     @Transactional(\n116        propagation
      = Propagation.REQUIRED"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3352
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 33
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "23  public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource\n27     KeyGenerator keyGenerator;\n28
      \ \n29     public Flight getFlightByFlightKey(FlightPK key) {\n30        return
      (Flight)this.em.find(Flight.class, key);\n31     }\n32  \n33     public List
      getFlightByAirportsAndDepartureDate(String fromAirport, String toAirport, Date
      deptDate) {\n34        List flights = new ArrayList();\n35        Query q =
      this.em.createQuery(\"SELECT obj FROM FlightSegment obj where obj.destPort=?1
      and obj.originPort=?2\");\n36        q.setParameter(1, toAirport);\n37        q.setParameter(2,
      fromAirport);\n38        List results = q.getResultList();\n39        Iterator
      var7 = results.iterator();\n40  \n41        while(var7.hasNext()) {\n42           FlightSegment
      seg = (FlightSegment)var7.next();\n43           Query qq = this.em.createQuery(\"SELECT
      obj FROM Flight obj where  obj.scheduledDepartureTime=?1 and obj.pkey.flightSegmentId=?2\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.jpa.service
  - id: 3353
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 59
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "49           while(var11.hasNext()) {\n50              Flight flight
      = (Flight)var11.next();\n51              flight.setFlightSegment(seg);\n52              flights.add(flight);\n53
      \          }\n54        }\n55  \n56        return flights;\n57     }\n58  \n59
      \    public List getFlightByAirports(String fromAirport, String toAirport) {\n60
      \       Query q = this.em.createQuery(\"SELECT obj FROM FlightSegment obj where
      obj.destPort=?1 and obj.originPort=?2\");\n61        q.setParameter(1, toAirport);\n62
      \       q.setParameter(2, fromAirport);\n63        List flights = new ArrayList();\n64
      \       List results = q.getResultList();\n65        Iterator var6 = results.iterator();\n66
      \ \n67        while(var6.hasNext()) {\n68           FlightSegment seg = (FlightSegment)var6.next();\n69
      \          Query qq = this.em.createQuery(\"SELECT obj FROM Flight obj where
      obj.pkey.flightSegmentId=?1\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.jpa.service
  - id: 3354
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 9
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: bookFlight
      package: com.acmeair.service
  - id: 3355
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 11
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBooking
      package: com.acmeair.service
  - id: 3356
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n 7  \n
      8  public interface BookingService {\n 9     BookingPK bookFlight(String var1,
      FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.service
  - id: 3357
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 15
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n
      7  \n 8  public interface BookingService {\n 9     BookingPK bookFlight(String
      var1, FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.service
  - id: 3358
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 8
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createCustomer
      package: com.acmeair.service
  - id: 3359
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 12
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.entities.CustomerSession;\n 6  \n 7  public interface
      CustomerService {\n 8     Customer createCustomer(String var1, String var2,
      Customer.MemberShipStatus var3, int var4, int var5, String var6, Customer.PhoneType
      var7, CustomerAddress var8);\n 9  \n10     Customer updateCustomer(Customer
      var1);\n11  \n12     Customer getCustomerByUsername(String var1);\n13  \n14
      \    boolean validateCustomer(String var1, String var2);\n15  \n16     Customer
      getCustomerByUsernameAndPassword(String var1, String var2);\n17  \n18     CustomerSession
      validateSession(String var1);\n19  \n20     CustomerSession createSession(String
      var1);\n21  \n22     void invalidateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.service
  - id: 3360
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.service
  - id: 3361
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.service
  - id: 3362
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 18
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 8     Customer createCustomer(String var1, String var2, Customer.MemberShipStatus
      var3, int var4, int var5, String var6, Customer.PhoneType var7, CustomerAddress
      var8);\n 9  \n10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateSession
      package: com.acmeair.service
  - id: 3363
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 20
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createSession
      package: com.acmeair.service
  - id: 3364
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 22
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "12     Customer getCustomerByUsername(String var1);\n13  \n14     boolean
      validateCustomer(String var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.service
  - id: 3365
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.service
  - id: 3366
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 16
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.service
  - id: 3367
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 20
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "10  \n11  public interface FlightService {\n12     Flight getFlightByFlightKey(FlightPK
      var1);\n13  \n14     List getFlightByAirportsAndDepartureDate(String var1, String
      var2, Date var3);\n15  \n16     List getFlightByAirports(String var1, String
      var2);\n17  \n18     void storeAirportMapping(AirportCodeMapping var1);\n19
      \ \n20     Flight createNewFlight(String var1, Date var2, Date var3, BigDecimal
      var4, BigDecimal var5, int var6, int var7, String var8);\n21  \n22     void
      storeFlightSegment(FlightSegment var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.service
  - id: 3368
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 4
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: departBookingId
      package: com.acmeair.web
  - id: 3369
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 5
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: returnBookingId
      package: com.acmeair.web
  - id: 3370
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 8
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3371
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 14
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;\n19
      \    }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3372
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 17
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 7  \n 8     public BookingInfo(String departBookingId, String returnBookingId,
      boolean oneWay) {\n 9        this.departBookingId = departBookingId;\n10        this.returnBookingId
      = returnBookingId;\n11        this.oneWay = oneWay;\n12     }\n13  \n14     public
      BookingInfo() {\n15     }\n16  \n17     public String getDepartBookingId() {\n18
      \       return this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getDepartBookingId
      package: com.acmeair.web
  - id: 3373
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 21
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "11        this.oneWay = oneWay;\n12     }\n13  \n14     public BookingInfo()
      {\n15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setDepartBookingId
      package: com.acmeair.web
  - id: 3374
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 25
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }\n32  \n33     public
      boolean isOneWay() {\n34        return this.oneWay;\n35     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getReturnBookingId
      package: com.acmeair.web
  - id: 3375
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 29
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "19     }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  \n25     public
      String getReturnBookingId() {\n26        return this.returnBookingId;\n27     }\n28
      \ \n29     public void setReturnBookingId(String returnBookingId) {\n30        this.returnBookingId
      = returnBookingId;\n31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setReturnBookingId
      package: com.acmeair.web
  - id: 3376
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 41
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }\n40  \n41     public String toString()
      {\n42        return \"BookingInfo [departBookingId=\" + this.departBookingId
      + \", returnBookingId=\" + this.returnBookingId + \", oneWay=\" + this.oneWay
      + \"]\";\n43     }\n44  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: toString
      package: com.acmeair.web
  - id: 3377
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16  import javax.ws.rs.core.Response.Status;\n17  \n18  @Path(\"/bookings\")\n19
      \ public class BookingsREST {\n20     private BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {\n27        try {\n28           BookingPK bookingIdTo = this.bs.bookFlight(userid,
      new FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3378
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 38
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "28           BookingPK bookingIdTo = this.bs.bookFlight(userid, new
      FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);\n37           } else {\n38              bi
      = new BookingInfo(bookingIdTo.getId(), (String)null, oneWay);\n39           }\n40
      \ \n41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3379
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 51
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET\n49     @Path(\"/bybookingnumber/{userid}/{number}\")\n50
      \    @Produces({\"application/json\"})\n51     public Booking getBookingByNumber(@PathParam(\"number\")
      String number, @FormParam(\"userid\") String userid) {\n52        try {\n53
      \          Booking b = this.bs.getBooking(userid, number);\n54           return
      b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingByNumber
      package: com.acmeair.web
  - id: 3380
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 64
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "54           return b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET\n62     @Path(\"/byuser/{user}\")\n63
      \    @Produces({\"application/json\"})\n64     public List getBookingsByUser(@PathParam(\"user\")
      String user) {\n65        try {\n66           return this.bs.getBookingsByUser(user);\n67
      \       } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.web
  - id: 3381
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 77
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "67        } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})\n75
      \    @Path(\"/cancelbooking\")\n76     @Produces({\"application/json\"})\n77
      \    public Response cancelBookingsByNumber(@FormParam(\"number\") String number,
      @FormParam(\"userid\") String userid) {\n78        try {\n79           this.bs.cancelBooking(userid,
      number);\n80           return Response.ok(\"booking \" + number + \" deleted.\").build();\n81
      \       } catch (Exception var4) {\n82           var4.printStackTrace();\n83
      \          return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n84
      \       }\n85     }\n86  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: cancelBookingsByNumber
      package: com.acmeair.web
  - id: 3382
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 25
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "15  import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3383
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 26
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "16  import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3384
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 33
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "23     private HttpServletRequest request;\n24  \n25     private boolean
      validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();\n37
      \          } else {\n38              Customer customer = this.customerService.getCustomerByUsername(customerid);\n39
      \             return Response.ok(customer).build();\n40           }\n41        }
      catch (Exception var4) {\n42           var4.printStackTrace();\n43           return
      null;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: getCustomer
      package: com.acmeair.web
  - id: 3385
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 50
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "40           }\n41        } catch (Exception var4) {\n42           var4.printStackTrace();\n43
      \          return null;\n44        }\n45     }\n46  \n47     @POST\n48     @Path(\"/byid/{custid}\")\n49
      \    @Produces({\"application/json\"})\n50     public Response putCustomer(@CookieParam(\"sessionid\")
      String sessionid, Customer customer) {\n51        if (!this.validate(customer.getUsername()))
      {\n52           return Response.status(Status.FORBIDDEN).build();\n53        }
      else {\n54           Customer customerFromDB = this.customerService.getCustomerByUsernameAndPassword(customer.getUsername(),
      customer.getPassword());\n55           if (customerFromDB == null) {\n56              return
      Response.status(Status.FORBIDDEN).build();\n57           } else {\n58              CustomerAddress
      addressFromDB = customerFromDB.getAddress();\n59              addressFromDB.setStreetAddress1(customer.getAddress().getStreetAddress1());\n60
      \             if (customer.getAddress().getStreetAddress2() != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3386
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 71
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "61                 addressFromDB.setStreetAddress2(customer.getAddress().getStreetAddress2());\n62
      \             }\n63  \n64              addressFromDB.setCity(customer.getAddress().getCity());\n65
      \             addressFromDB.setStateProvince(customer.getAddress().getStateProvince());\n66
      \             addressFromDB.setCountry(customer.getAddress().getCountry());\n67
      \             addressFromDB.setPostalCode(customer.getAddress().getPostalCode());\n68
      \             customerFromDB.setPhoneNumber(customer.getPhoneNumber());\n69
      \             customerFromDB.setPhoneNumberType(customer.getPhoneNumberType());\n70
      \             this.customerService.updateCustomer(customerFromDB);\n71              customerFromDB.setPassword((String)null);\n72
      \             return Response.ok(customerFromDB).build();\n73           }\n74
      \       }\n75     }\n76  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3387
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 21
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  \n13  @Path(\"/flights\")\n14
      \ public class FlightsREST {\n15     private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {\n22        TripFlightOptions options = new TripFlightOptions();\n23
      \       ArrayList legs = new ArrayList();\n24        TripLegInfo toInfo = new
      TripLegInfo();\n25        List toFlights = this.flightService.getFlightByAirportsAndDepartureDate(fromAirport,
      toAirport, fromDate);\n26        toInfo.setFlightsOptions(toFlights);\n27        legs.add(toInfo);\n28
      \       toInfo.setCurrentPage(0);\n29        toInfo.setHasMoreOptions(false);\n30
      \       toInfo.setNumPages(1);\n31        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: getTripFlights
      package: com.acmeair.web
  - id: 3388
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 54
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "44        }\n45  \n46        options.setTripFlights(legs);\n47        return
      options;\n48     }\n49  \n50     @POST\n51     @Path(\"/browseflights\")\n52
      \    @Consumes({\"application/x-www-form-urlencoded\"})\n53     @Produces({\"application/json\"})\n54
      \    public TripFlightOptions browseFlights(@FormParam(\"fromAirport\") String
      fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"oneWay\")
      boolean oneWay) {\n55        TripFlightOptions options = new TripFlightOptions();\n56
      \       ArrayList legs = new ArrayList();\n57        TripLegInfo toInfo = new
      TripLegInfo();\n58        List toFlights = this.flightService.getFlightByAirports(fromAirport,
      toAirport);\n59        toInfo.setFlightsOptions(toFlights);\n60        legs.add(toInfo);\n61
      \       toInfo.setCurrentPage(0);\n62        toInfo.setHasMoreOptions(false);\n63
      \       toInfo.setNumPages(1);\n64        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: browseFlights
      package: com.acmeair.web
  - id: 3389
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 99
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 89        String line1 = lnr.readLine();\n 90        StringTokenizer
      st = new StringTokenizer(line1, \",\");\n 91        ArrayList airports = new
      ArrayList();\n 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3390
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 102
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  \n110        label61:\n111
      \       while(true) {\n112           line = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3391
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 124
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "114              for(int jj = 0; jj < airports.size(); ++jj) {\n115
      \                this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3392
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 125
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "115                 this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  \n135           while(true)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3393
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 141
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "131           }\n132  \n133           int indexIntoTopLine = 0;\n134
      \ \n135           while(true) {\n136              while(true) {\n137                 if
      (!st.hasMoreTokens()) {\n138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3394
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 146
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "136              while(true) {\n137                 if (!st.hasMoreTokens())
      {\n138                    continue label61;\n139                 }\n140  \n141
      \                String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3395
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 148
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);\n157                          c.set(12,
      0);\n158                          c.set(13, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3396
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 187
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "177        double hours = (double)mileage / averageSpeed;\n178        double
      partsOfHour = hours % 1.0;\n179        int minutes = (int)(60.0 * partsOfHour);\n180
      \       Calendar c = Calendar.getInstance();\n181        c.setTime(departureTime);\n182
      \       c.add(10, (int)hours);\n183        c.add(12, minutes);\n184        return
      c.getTime();\n185     }\n186  \n187     private static boolean alreadyInCollection(String
      airportCode, ArrayList airports) {\n188        for(int ii = 0; ii < airports.size();
      ++ii) {\n189           if (((AirportCodeMapping)airports.get(ii)).getAirportCode().equals(airportCode))
      {\n190              return true;\n191           }\n192        }\n193  \n194
      \       return false;\n195     }\n196  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: alreadyInCollection
      package: com.acmeair.web
  - id: 3397
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 34
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST
      {\n27     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET\n32     @Path(\"/load\")\n33
      \    @Produces({\"text/plain\"})\n34     public String load() {\n35        return
      this.loadData(10L, 30);\n36     }\n37  \n38     @GET\n39     @Path(\"/loadSmall\")\n40
      \    @Produces({\"text/plain\"})\n41     public String loadSmall() {\n42        return
      this.loadData(5L, 5);\n43     }\n44  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: load
      package: com.acmeair.web
  - id: 3398
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 41
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "31     @GET\n32     @Path(\"/load\")\n33     @Produces({\"text/plain\"})\n34
      \    public String load() {\n35        return this.loadData(10L, 30);\n36     }\n37
      \ \n38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadSmall
      package: com.acmeair.web
  - id: 3399
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 48
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  \n52     private String loadData(long numCustomers, int segments)
      {\n53        synchronized(lock) {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadTiny
      package: com.acmeair.web
  - id: 3400
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 52
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "42        return this.loadData(5L, 5);\n43     }\n44  \n45     @GET\n46
      \    @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48     public
      String loadTiny() {\n49        return this.loadData(2L, 2);\n50     }\n51  \n52
      \    private String loadData(long numCustomers, int segments) {\n53        synchronized(lock)
      {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }\n59  \n60           try {\n61              this.loadFlights(segments);\n62
      \          } catch (Exception var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadData
      package: com.acmeair.web
  - id: 3401
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 72
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "62           } catch (Exception var7) {\n63              var7.printStackTrace();\n64
      \          }\n65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3402
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 75
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3403
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 89
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {\n86        System.out.println(\"Loading flight
      data...\");\n87        InputStream csvInputStream = this.getClass().getResourceAsStream(\"/mileage.csv\");\n88
      \       LineNumberReader lnr = new LineNumberReader(new InputStreamReader(csvInputStream));\n89
      \       String line1 = lnr.readLine();\n90        StringTokenizer st = new StringTokenizer(line1,
      \",\");\n91        ArrayList airports = new ArrayList();\n92  \n93        while(st.hasMoreTokens())
      {\n94           AirportCodeMapping acm = new AirportCodeMapping();\n95           acm.setAirportName(st.nextToken());\n96
      \          airports.add(acm);\n97        }\n98  \n99        String line2 = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3404
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 21
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Field
      name: SESSIONID_COOKIE_NAME
      package: com.acmeair.web
  - id: 3405
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 27
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "17  \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST
      {\n21     public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();\n32
      \          } else {\n33              CustomerSession session = this.customerService.createSession(login);\n34
      \             NewCookie sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, session.getId());\n35
      \             return Response.ok(\"logged in\").cookie(new NewCookie[]{sessCookie}).build();\n36
      \          }\n37        } catch (Exception var6) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: login
      package: com.acmeair.web
  - id: 3406
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 46
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "36           }\n37        } catch (Exception var6) {\n38           var6.printStackTrace();\n39
      \          return null;\n40        }\n41     }\n42  \n43     @GET\n44     @Path(\"/logout\")\n45
      \    @Produces({\"text/plain\"})\n46     public Response logout(@QueryParam(\"login\")
      String login, @CookieParam(\"sessionid\") String sessionid) {\n47        try
      {\n48           this.customerService.invalidateSession(sessionid);\n49           NewCookie
      sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, \"\");\n50           return
      Response.ok(\"logged out\").cookie(new NewCookie[]{sessCookie}).build();\n51
      \       } catch (Exception var4) {\n52           var4.printStackTrace();\n53
      \          return null;\n54        }\n55     }\n56  }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: logout
      package: com.acmeair.web
  - id: 3407
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 19
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_USER
      package: com.acmeair.web
  - id: 3408
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 20
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "10  import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_PATH
      package: com.acmeair.web
  - id: 3409
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 21
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "11  import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }\n30  \n31     public void doFilter(ServletRequest
      req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGOUT_PATH
      package: com.acmeair.web
  - id: 3410
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3411
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 55
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "45                 Cookie c = var9[var11];\n46                 if (c.getName().equals(LoginREST.SESSIONID_COOKIE_NAME))
      {\n47                    sessionCookie = c;\n48                 }\n49  \n50
      \                if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3412
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 13
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: " 3  import com.acmeair.web.config.WXSDirectAppConfig;\n 4  import java.util.concurrent.atomic.AtomicReference;\n
      5  import java.util.logging.Logger;\n 6  import javax.naming.Context;\n 7  import
      javax.naming.InitialContext;\n 8  import javax.naming.NamingException;\n 9  import
      org.springframework.context.ApplicationContext;\n10  import org.springframework.context.annotation.AnnotationConfigApplicationContext;\n11
      \ \n12  public class ServiceLocator {\n13     public static String REPOSITORY_LOOKUP_KEY
      = \"com.acmeair.repository.type\";\n14     final ApplicationContext ctx;\n15
      \    private static Logger logger = Logger.getLogger(ServiceLocator.class.getName());\n16
      \    private static AtomicReference singletonServiceLocator = new AtomicReference();\n17
      \ \n18     static ServiceLocator instance() {\n19        if (singletonServiceLocator.get()
      == null) {\n20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Field
      name: REPOSITORY_LOOKUP_KEY
      package: com.acmeair.web
  - id: 3413
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 30
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3414
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 31
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "21              if (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3415
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 32
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "22                 singletonServiceLocator.set(new ServiceLocator());\n23
      \             }\n24           }\n25        }\n26  \n27        return (ServiceLocator)singletonServiceLocator.get();\n28
      \    }\n29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3416
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 39
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3417
    createTime: 2024-07-22T06:22:27.232084743Z
    issue: 40
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 48
    message: Method `getRealPath` in javax.servlet.ServletRequestWrapper has been
      removed. It can be replaced with `ServletContext.getRealPath(String path)`.
    codeSnip: "38           if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {\n50                 logger.info(\"Found repository in server.xml:\"
      + type);\n51              }\n52           } catch (NamingException var6) {\n53
      \          }\n54        }\n55  \n56        if (type == null) {\n57           type
      = System.getProperty(REPOSITORY_LOOKUP_KEY);\n58           if (type != null)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 41
  createTime: 2024-07-22T06:22:27.247116194Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00100
  name: ""
  description: Method encodeUrl in javax.servlet.http.HttpServletResponse has been
    removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3418
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 11
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3419
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 12
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class AirportCodeMapping
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String airportName;\n13
      \ \n14     public AirportCodeMapping() {\n15     }\n16  \n17     public AirportCodeMapping(String
      airportCode, String airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Field
      name: airportName
      package: com.acmeair.entities
  - id: 3420
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n
      6  \n 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3421
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 17
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 7  @Entity\n 8  public class AirportCodeMapping implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Constructor
      name: AirportCodeMapping
      package: com.acmeair.entities
  - id: 3422
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 22
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }\n16  \n17     public AirportCodeMapping(String airportCode, String
      airportName) {\n18        this.id = airportCode;\n19        this.airportName
      = airportName;\n20     }\n21  \n22     public String getAirportCode() {\n23
      \       return this.id;\n24     }\n25  \n26     public void setAirportCode(String
      airportCode) {\n27        this.id = airportCode;\n28     }\n29  \n30     public
      String getAirportName() {\n31        return this.airportName;\n32     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportCode
      package: com.acmeair.entities
  - id: 3423
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16  \n17     public AirportCodeMapping(String airportCode, String airportName)
      {\n18        this.id = airportCode;\n19        this.airportName = airportName;\n20
      \    }\n21  \n22     public String getAirportCode() {\n23        return this.id;\n24
      \    }\n25  \n26     public void setAirportCode(String airportCode) {\n27        this.id
      = airportCode;\n28     }\n29  \n30     public String getAirportName() {\n31
      \       return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportCode
      package: com.acmeair.entities
  - id: 3424
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 30
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "20     }\n21  \n22     public String getAirportCode() {\n23        return
      this.id;\n24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: getAirportName
      package: com.acmeair.entities
  - id: 3425
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 34
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "24     }\n25  \n26     public void setAirportCode(String airportCode)
      {\n27        this.id = airportCode;\n28     }\n29  \n30     public String getAirportName()
      {\n31        return this.airportName;\n32     }\n33  \n34     public void setAirportName(String
      airportName) {\n35        this.airportName = airportName;\n36     }\n37  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Method
      name: setAirportName
      package: com.acmeair.entities
  - id: 3426
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 25
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "15     private FlightPK flightKey;\n16     private Date dateOfBooking;\n17
      \    @ManyToOne\n18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3427
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 28
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "18     @PrimaryKeyJoinColumn(\n19        name = \"customerId\",\n20
      \       referencedColumnName = \"id\"\n21     )\n22     private Customer customer;\n23
      \    private Flight flight;\n24  \n25     public Booking() {\n26     }\n27  \n28
      \    public Booking(String id, Date dateOfFlight, Customer customer, Flight
      flight) {\n29        this.pkey = new BookingPK(customer.getUsername(), id);\n30
      \       this.flightKey = flight.getPkey();\n31        this.dateOfBooking = dateOfFlight;\n32
      \       this.customer = customer;\n33        this.flight = flight;\n34     }\n35
      \ \n36     public BookingPK getPkey() {\n37        return this.pkey;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Constructor
      name: Booking
      package: com.acmeair.entities
  - id: 3428
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 40
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "30        this.flightKey = flight.getPkey();\n31        this.dateOfBooking
      = dateOfFlight;\n32        this.customer = customer;\n33        this.flight
      = flight;\n34     }\n35  \n36     public BookingPK getPkey() {\n37        return
      this.pkey;\n38     }\n39  \n40     public String getCustomerId() {\n41        return
      this.pkey.getCustomerId();\n42     }\n43  \n44     public void setPkey(BookingPK
      pkey) {\n45        this.pkey = pkey;\n46     }\n47  \n48     public FlightPK
      getFlightKey() {\n49        return this.flightKey;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3429
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 76
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "66     }\n67  \n68     public Customer getCustomer() {\n69        return
      this.customer;\n70     }\n71  \n72     public Flight getFlight() {\n73        return
      this.flight;\n74     }\n75  \n76     public String toString() {\n77        return
      \"Booking [key=\" + this.pkey + \", flightKey=\" + this.flightKey + \", dateOfBooking=\"
      + this.dateOfBooking + \", customer=\" + this.customer + \", flight=\" + this.flight
      + \"]\";\n78     }\n79  \n80     public boolean equals(Object obj) {\n81        if
      (this == obj) {\n82           return true;\n83        } else if (obj == null)
      {\n84           return false;\n85        } else if (this.getClass() != obj.getClass())
      {\n86           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3430
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      BookingPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"bookingId\"\n12     )\n13     private
      String id;\n14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3431
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Field
      name: customerId
      package: com.acmeair.entities
  - id: 3432
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3433
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 19
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  \n16     public BookingPK() {\n17     }\n18  \n19     public
      BookingPK(String customerId, String id) {\n20        this.id = id;\n21        this.customerId
      = customerId;\n22     }\n23  \n24     public String getId() {\n25        return
      this.id;\n26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Constructor
      name: BookingPK
      package: com.acmeair.entities
  - id: 3434
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 24
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "14     private String customerId;\n15  \n16     public BookingPK()
      {\n17     }\n18  \n19     public BookingPK(String customerId, String id) {\n20
      \       this.id = id;\n21        this.customerId = customerId;\n22     }\n23
      \ \n24     public String getId() {\n25        return this.id;\n26     }\n27
      \ \n28     public void setId(String id) {\n29        this.id = id;\n30     }\n31
      \ \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3435
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 28
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "18  \n19     public BookingPK(String customerId, String id) {\n20        this.id
      = id;\n21        this.customerId = customerId;\n22     }\n23  \n24     public
      String getId() {\n25        return this.id;\n26     }\n27  \n28     public void
      setId(String id) {\n29        this.id = id;\n30     }\n31  \n32     public String
      getCustomerId() {\n33        return this.customerId;\n34     }\n35  \n36     public
      void setCustomerId(String customerId) {\n37        this.customerId = customerId;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3436
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 32
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getCustomerId() {\n33        return this.customerId;\n34
      \    }\n35  \n36     public void setCustomerId(String customerId) {\n37        this.customerId
      = customerId;\n38     }\n39  \n40     public int hashCode() {\n41        int
      prime = true;\n42        int result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: getCustomerId
      package: com.acmeair.entities
  - id: 3437
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 36
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getCustomerId() {\n33        return
      this.customerId;\n34     }\n35  \n36     public void setCustomerId(String customerId)
      {\n37        this.customerId = customerId;\n38     }\n39  \n40     public int
      hashCode() {\n41        int prime = true;\n42        int result = 1;\n43        result
      = 31 * result + (this.customerId == null ? 0 : this.customerId.hashCode());\n44
      \       result = 31 * result + (this.id == null ? 0 : this.id.hashCode());\n45
      \       return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: setCustomerId
      package: com.acmeair.entities
  - id: 3438
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 77
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"BookingPK [customerId=\" + this.customerId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3439
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;\n18
      \    private MemberShipStatus status;\n19     private int total_miles;\n20     private
      int miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23
      \    private String phoneNumber;\n24     private PhoneType phoneNumberType;\n25
      \ \n26     public Customer() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3440
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 17
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      Customer implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15
      \    )\n16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: password
      package: com.acmeair.entities
  - id: 3441
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 104
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 94     }\n 95  \n 96     public CustomerAddress getAddress() {\n 97
      \       return this.address;\n 98     }\n 99  \n100     public void setAddress(CustomerAddress
      address) {\n101        this.address = address;\n102     }\n103  \n104     public
      String toString() {\n105        return \"Customer [id=\" + this.id + \", password=\"
      + this.password + \", status=\" + this.status + \", total_miles=\" + this.total_miles
      + \", miles_ytd=\" + this.miles_ytd + \", address=\" + this.address + \", phoneNumber=\"
      + this.phoneNumber + \", phoneNumberType=\" + this.phoneNumberType + \"]\";\n106
      \    }\n107  \n108     public boolean equals(Object obj) {\n109        if (this
      == obj) {\n110           return true;\n111        } else if (obj == null) {\n112
      \          return false;\n113        } else if (this.getClass() != obj.getClass())
      {\n114           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3442
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 23
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "13     @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16
      \    private String id;\n17     private String password;\n18     private MemberShipStatus
      status;\n19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Field
      name: phoneNumber
      package: com.acmeair.entities
  - id: 3443
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 163
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "153                 return false;\n154              } else if (this.status
      != other.status) {\n155                 return false;\n156              } else
      {\n157                 return this.total_miles == other.total_miles;\n158              }\n159
      \          }\n160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3444
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16     private String id;\n17     private String password;\n18     private
      MemberShipStatus status;\n19     private int total_miles;\n20     private int
      miles_ytd;\n21     @Embedded\n22     private CustomerAddress address;\n23     private
      String phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3445
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 170
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "160        }\n161     }\n162  \n163     public static enum PhoneType
      {\n164        UNKNOWN,\n165        HOME,\n166        BUSINESS,\n167        MOBILE;\n168
      \    }\n169  \n170     public static enum MemberShipStatus {\n171        NONE,\n172
      \       SILVER,\n173        GOLD,\n174        PLATINUM,\n175        EXEC_PLATINUM,\n176
      \       GRAPHITE;\n177     }\n178  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: <clinit>
      package: com.acmeair.entities
  - id: 3446
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 29
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "19     private int total_miles;\n20     private int miles_ytd;\n21
      \    @Embedded\n22     private CustomerAddress address;\n23     private String
      phoneNumber;\n24     private PhoneType phoneNumberType;\n25  \n26     public
      Customer() {\n27     }\n28  \n29     public Customer(String username, String
      password, MemberShipStatus status, int total_miles, int miles_ytd, CustomerAddress
      address, String phoneNumber, PhoneType phoneNumberType) {\n30        this.id
      = username;\n31        this.password = password;\n32        this.status = status;\n33
      \       this.total_miles = total_miles;\n34        this.miles_ytd = miles_ytd;\n35
      \       this.address = address;\n36        this.phoneNumber = phoneNumber;\n37
      \       this.phoneNumberType = phoneNumberType;\n38     }\n39  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Constructor
      name: Customer
      package: com.acmeair.entities
  - id: 3447
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 40
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "30        this.id = username;\n31        this.password = password;\n32
      \       this.status = status;\n33        this.total_miles = total_miles;\n34
      \       this.miles_ytd = miles_ytd;\n35        this.address = address;\n36        this.phoneNumber
      = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38     }\n39
      \ \n40     public String getUsername() {\n41        return this.id;\n42     }\n43
      \ \n44     public void setUsername(String username) {\n45        this.id = username;\n46
      \    }\n47  \n48     public String getPassword() {\n49        return this.password;\n50
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getUsername
      package: com.acmeair.entities
  - id: 3448
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 44
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "34        this.miles_ytd = miles_ytd;\n35        this.address = address;\n36
      \       this.phoneNumber = phoneNumber;\n37        this.phoneNumberType = phoneNumberType;\n38
      \    }\n39  \n40     public String getUsername() {\n41        return this.id;\n42
      \    }\n43  \n44     public void setUsername(String username) {\n45        this.id
      = username;\n46     }\n47  \n48     public String getPassword() {\n49        return
      this.password;\n50     }\n51  \n52     public void setPassword(String password)
      {\n53        this.password = password;\n54     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setUsername
      package: com.acmeair.entities
  - id: 3449
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 48
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "38     }\n39  \n40     public String getUsername() {\n41        return
      this.id;\n42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPassword
      package: com.acmeair.entities
  - id: 3450
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 52
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "42     }\n43  \n44     public void setUsername(String username) {\n45
      \       this.id = username;\n46     }\n47  \n48     public String getPassword()
      {\n49        return this.password;\n50     }\n51  \n52     public void setPassword(String
      password) {\n53        this.password = password;\n54     }\n55  \n56     public
      MemberShipStatus getStatus() {\n57        return this.status;\n58     }\n59
      \ \n60     public void setStatus(MemberShipStatus status) {\n61        this.status
      = status;\n62     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPassword
      package: com.acmeair.entities
  - id: 3451
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 80
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "70     }\n71  \n72     public int getMiles_ytd() {\n73        return
      this.miles_ytd;\n74     }\n75  \n76     public void setMiles_ytd(int miles_ytd)
      {\n77        this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String
      getPhoneNumber() {\n81        return this.phoneNumber;\n82     }\n83  \n84     public
      void setPhoneNumber(String phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86
      \    }\n87  \n88     public PhoneType getPhoneNumberType() {\n89        return
      this.phoneNumberType;\n90     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: getPhoneNumber
      package: com.acmeair.entities
  - id: 3452
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 84
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "74     }\n75  \n76     public void setMiles_ytd(int miles_ytd) {\n77
      \       this.miles_ytd = miles_ytd;\n78     }\n79  \n80     public String getPhoneNumber()
      {\n81        return this.phoneNumber;\n82     }\n83  \n84     public void setPhoneNumber(String
      phoneNumber) {\n85        this.phoneNumber = phoneNumber;\n86     }\n87  \n88
      \    public PhoneType getPhoneNumberType() {\n89        return this.phoneNumberType;\n90
      \    }\n91  \n92     public void setPhoneNumberType(PhoneType phoneNumberType)
      {\n93        this.phoneNumberType = phoneNumberType;\n94     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Method
      name: setPhoneNumber
      package: com.acmeair.entities
  - id: 3453
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 44
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCity
      package: com.acmeair.entities
  - id: 3454
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 48
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCity
      package: com.acmeair.entities
  - id: 3455
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 52
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStateProvince
      package: com.acmeair.entities
  - id: 3456
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 56
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStateProvince
      package: com.acmeair.entities
  - id: 3457
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 60
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getCountry
      package: com.acmeair.entities
  - id: 3458
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 64
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setCountry
      package: com.acmeair.entities
  - id: 3459
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 68
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getPostalCode
      package: com.acmeair.entities
  - id: 3460
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 72
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setPostalCode
      package: com.acmeair.entities
  - id: 3461
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 76
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: ""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3462
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 9
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress1
      package: com.acmeair.entities
  - id: 3463
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 10
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: streetAddress2
      package: com.acmeair.entities
  - id: 3464
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 11
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;\n15  \n16     public
      CustomerAddress() {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1,
      String streetAddress2, String city, String stateProvince, String country, String
      postalCode) {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: city
      package: com.acmeair.entities
  - id: 3465
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 12
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: stateProvince
      package: com.acmeair.entities
  - id: 3466
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Embeddable;\n
      5  \n 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: country
      package: com.acmeair.entities
  - id: 3467
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7
      \ public class CustomerAddress implements Serializable {\n 8     private static
      final long serialVersionUID = 1L;\n 9     private String streetAddress1;\n10
      \    private String streetAddress2;\n11     private String city;\n12     private
      String stateProvince;\n13     private String country;\n14     private String
      postalCode;\n15  \n16     public CustomerAddress() {\n17     }\n18  \n19     public
      CustomerAddress(String streetAddress1, String streetAddress2, String city, String
      stateProvince, String country, String postalCode) {\n20        this.streetAddress1
      = streetAddress1;\n21        this.streetAddress2 = streetAddress2;\n22        this.city
      = city;\n23        this.stateProvince = stateProvince;\n24        this.country
      = country;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Field
      name: postalCode
      package: com.acmeair.entities
  - id: 3468
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  @Embeddable\n 7  public class CustomerAddress implements Serializable
      {\n 8     private static final long serialVersionUID = 1L;\n 9     private String
      streetAddress1;\n10     private String streetAddress2;\n11     private String
      city;\n12     private String stateProvince;\n13     private String country;\n14
      \    private String postalCode;\n15  \n16     public CustomerAddress() {\n17
      \    }\n18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3469
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 19
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 9     private String streetAddress1;\n10     private String streetAddress2;\n11
      \    private String city;\n12     private String stateProvince;\n13     private
      String country;\n14     private String postalCode;\n15  \n16     public CustomerAddress()
      {\n17     }\n18  \n19     public CustomerAddress(String streetAddress1, String
      streetAddress2, String city, String stateProvince, String country, String postalCode)
      {\n20        this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Constructor
      name: CustomerAddress
      package: com.acmeair.entities
  - id: 3470
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 28
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "18  \n19     public CustomerAddress(String streetAddress1, String streetAddress2,
      String city, String stateProvince, String country, String postalCode) {\n20
      \       this.streetAddress1 = streetAddress1;\n21        this.streetAddress2
      = streetAddress2;\n22        this.city = city;\n23        this.stateProvince
      = stateProvince;\n24        this.country = country;\n25        this.postalCode
      = postalCode;\n26     }\n27  \n28     public String getStreetAddress1() {\n29
      \       return this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress1
      package: com.acmeair.entities
  - id: 3471
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 32
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "22        this.city = city;\n23        this.stateProvince = stateProvince;\n24
      \       this.country = country;\n25        this.postalCode = postalCode;\n26
      \    }\n27  \n28     public String getStreetAddress1() {\n29        return this.streetAddress1;\n30
      \    }\n31  \n32     public void setStreetAddress1(String streetAddress1) {\n33
      \       this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress1
      package: com.acmeair.entities
  - id: 3472
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 36
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "26     }\n27  \n28     public String getStreetAddress1() {\n29        return
      this.streetAddress1;\n30     }\n31  \n32     public void setStreetAddress1(String
      streetAddress1) {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35
      \ \n36     public String getStreetAddress2() {\n37        return this.streetAddress2;\n38
      \    }\n39  \n40     public void setStreetAddress2(String streetAddress2) {\n41
      \       this.streetAddress2 = streetAddress2;\n42     }\n43  \n44     public
      String getCity() {\n45        return this.city;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: getStreetAddress2
      package: com.acmeair.entities
  - id: 3473
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 40
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "30     }\n31  \n32     public void setStreetAddress1(String streetAddress1)
      {\n33        this.streetAddress1 = streetAddress1;\n34     }\n35  \n36     public
      String getStreetAddress2() {\n37        return this.streetAddress2;\n38     }\n39
      \ \n40     public void setStreetAddress2(String streetAddress2) {\n41        this.streetAddress2
      = streetAddress2;\n42     }\n43  \n44     public String getCity() {\n45        return
      this.city;\n46     }\n47  \n48     public void setCity(String city) {\n49        this.city
      = city;\n50     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Method
      name: setStreetAddress2
      package: com.acmeair.entities
  - id: 3474
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n
      8  \n 9  @Entity\n10  public class CustomerSession implements Serializable {\n11
      \    private static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14
      \       columnDefinition = \"VARCHAR\"\n15     )\n16     private String id;\n17
      \    private String customerid;\n18     private Date lastAccessedTime;\n19     private
      Date timeoutTime;\n20  \n21     public CustomerSession() {\n22     }\n23  \n24
      \    public CustomerSession(String id, String customerid, Date lastAccessedTime,
      Date timeoutTime) {\n25        this.id = id;\n26        this.customerid = customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3475
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 17
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10  public class
      CustomerSession implements Serializable {\n11     private static final long
      serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;\n18
      \    private Date lastAccessedTime;\n19     private Date timeoutTime;\n20  \n21
      \    public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Field
      name: customerid
      package: com.acmeair.entities
  - id: 3476
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 21
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "11     private static final long serialVersionUID = 1L;\n12     @Id\n13
      \    @Column(\n14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3477
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 24
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "14        columnDefinition = \"VARCHAR\"\n15     )\n16     private
      String id;\n17     private String customerid;\n18     private Date lastAccessedTime;\n19
      \    private Date timeoutTime;\n20  \n21     public CustomerSession() {\n22
      \    }\n23  \n24     public CustomerSession(String id, String customerid, Date
      lastAccessedTime, Date timeoutTime) {\n25        this.id = id;\n26        this.customerid
      = customerid;\n27        this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Constructor
      name: CustomerSession
      package: com.acmeair.entities
  - id: 3478
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 31
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "21     public CustomerSession() {\n22     }\n23  \n24     public CustomerSession(String
      id, String customerid, Date lastAccessedTime, Date timeoutTime) {\n25        this.id
      = id;\n26        this.customerid = customerid;\n27        this.lastAccessedTime
      = lastAccessedTime;\n28        this.timeoutTime = timeoutTime;\n29     }\n30
      \ \n31     public String getId() {\n32        return this.id;\n33     }\n34
      \ \n35     public void setId(String id) {\n36        this.id = id;\n37     }\n38
      \ \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3479
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 35
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "25        this.id = id;\n26        this.customerid = customerid;\n27
      \       this.lastAccessedTime = lastAccessedTime;\n28        this.timeoutTime
      = timeoutTime;\n29     }\n30  \n31     public String getId() {\n32        return
      this.id;\n33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3480
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 39
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "29     }\n30  \n31     public String getId() {\n32        return this.id;\n33
      \    }\n34  \n35     public void setId(String id) {\n36        this.id = id;\n37
      \    }\n38  \n39     public String getCustomerid() {\n40        return this.customerid;\n41
      \    }\n42  \n43     public void setCustomerid(String customerid) {\n44        this.customerid
      = customerid;\n45     }\n46  \n47     public Date getLastAccessedTime() {\n48
      \       return this.lastAccessedTime;\n49     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: getCustomerid
      package: com.acmeair.entities
  - id: 3481
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 43
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "33     }\n34  \n35     public void setId(String id) {\n36        this.id
      = id;\n37     }\n38  \n39     public String getCustomerid() {\n40        return
      this.customerid;\n41     }\n42  \n43     public void setCustomerid(String customerid)
      {\n44        this.customerid = customerid;\n45     }\n46  \n47     public Date
      getLastAccessedTime() {\n48        return this.lastAccessedTime;\n49     }\n50
      \ \n51     public void setLastAccessedTime(Date lastAccessedTime) {\n52        this.lastAccessedTime
      = lastAccessedTime;\n53     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: setCustomerid
      package: com.acmeair.entities
  - id: 3482
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 63
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "53     }\n54  \n55     public Date getTimeoutTime() {\n56        return
      this.timeoutTime;\n57     }\n58  \n59     public void setTimeoutTime(Date timeoutTime)
      {\n60        this.timeoutTime = timeoutTime;\n61     }\n62  \n63     public
      String toString() {\n64        return \"CustomerSession [id=\" + this.id + \",
      customerid=\" + this.customerid + \", lastAccessedTime=\" + this.lastAccessedTime
      + \", timeoutTime=\" + this.timeoutTime + \"]\";\n65     }\n66  \n67     public
      boolean equals(Object obj) {\n68        if (this == obj) {\n69           return
      true;\n70        } else if (obj == null) {\n71           return false;\n72        }
      else if (this.getClass() != obj.getClass()) {\n73           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3483
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 97
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 87     }\n 88  \n 89     public int getNumEconomyClassSeats() {\n
      90        return this.numEconomyClassSeats;\n 91     }\n 92  \n 93     public
      void setNumEconomyClassSeats(int numEconomyClassSeats) {\n 94        this.numEconomyClassSeats
      = numEconomyClassSeats;\n 95     }\n 96  \n 97     public String getAirplaneTypeId()
      {\n 98        return this.airplaneTypeId;\n 99     }\n100  \n101     public
      void setAirplaneTypeId(String airplaneTypeId) {\n102        this.airplaneTypeId
      = airplaneTypeId;\n103     }\n104  \n105     public FlightSegment getFlightSegment()
      {\n106        return this.flightSegment;\n107     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getAirplaneTypeId
      package: com.acmeair.entities
  - id: 3484
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 101
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 91     }\n 92  \n 93     public void setNumEconomyClassSeats(int numEconomyClassSeats)
      {\n 94        this.numEconomyClassSeats = numEconomyClassSeats;\n 95     }\n
      96  \n 97     public String getAirplaneTypeId() {\n 98        return this.airplaneTypeId;\n
      99     }\n100  \n101     public void setAirplaneTypeId(String airplaneTypeId)
      {\n102        this.airplaneTypeId = airplaneTypeId;\n103     }\n104  \n105     public
      FlightSegment getFlightSegment() {\n106        return this.flightSegment;\n107
      \    }\n108  \n109     public void setFlightSegment(FlightSegment flightSegment)
      {\n110        this.flightSegment = flightSegment;\n111     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: setAirplaneTypeId
      package: com.acmeair.entities
  - id: 3485
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 20
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "10  public class Flight implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @EmbeddedId\n13     private FlightPK
      pkey;\n14     private Date scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16
      \    private BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;\n18
      \    private int numFirstClassSeats;\n19     private int numEconomyClassSeats;\n20
      \    private String airplaneTypeId;\n21     private FlightSegment flightSegment;\n22
      \ \n23     public Flight() {\n24     }\n25  \n26     public Flight(String id,
      String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n27        this.pkey = new
      FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime = scheduledDepartureTime;\n29
      \       this.scheduledArrivalTime = scheduledArrivalTime;\n30        this.firstClassBaseCost
      = firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Field
      name: airplaneTypeId
      package: com.acmeair.entities
  - id: 3486
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 113
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "103     }\n104  \n105     public FlightSegment getFlightSegment() {\n106
      \       return this.flightSegment;\n107     }\n108  \n109     public void setFlightSegment(FlightSegment
      flightSegment) {\n110        this.flightSegment = flightSegment;\n111     }\n112
      \ \n113     public String toString() {\n114        return \"Flight key=\" +
      this.pkey + \", scheduledDepartureTime=\" + this.scheduledDepartureTime + \",
      scheduledArrivalTime=\" + this.scheduledArrivalTime + \", firstClassBaseCost=\"
      + this.firstClassBaseCost + \", economyClassBaseCost=\" + this.economyClassBaseCost
      + \", numFirstClassSeats=\" + this.numFirstClassSeats + \", numEconomyClassSeats=\"
      + this.numEconomyClassSeats + \", airplaneTypeId=\" + this.airplaneTypeId +
      \"]\";\n115     }\n116  \n117     public boolean equals(Object obj) {\n118        if
      (this == obj) {\n119           return true;\n120        } else if (obj == null)
      {\n121           return false;\n122        } else if (this.getClass() != obj.getClass())
      {\n123           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3487
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 23
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "13     private FlightPK pkey;\n14     private Date scheduledDepartureTime;\n15
      \    private Date scheduledArrivalTime;\n16     private BigDecimal firstClassBaseCost;\n17
      \    private BigDecimal economyClassBaseCost;\n18     private int numFirstClassSeats;\n19
      \    private int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21
      \    private FlightSegment flightSegment;\n22  \n23     public Flight() {\n24
      \    }\n25  \n26     public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3488
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16     private BigDecimal firstClassBaseCost;\n17     private BigDecimal
      economyClassBaseCost;\n18     private int numFirstClassSeats;\n19     private
      int numEconomyClassSeats;\n20     private String airplaneTypeId;\n21     private
      FlightSegment flightSegment;\n22  \n23     public Flight() {\n24     }\n25  \n26
      \    public Flight(String id, String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n27
      \       this.pkey = new FlightPK(flightSegmentId, id);\n28        this.scheduledDepartureTime
      = scheduledDepartureTime;\n29        this.scheduledArrivalTime = scheduledArrivalTime;\n30
      \       this.firstClassBaseCost = firstClassBaseCost;\n31        this.economyClassBaseCost
      = economyClassBaseCost;\n32        this.numFirstClassSeats = numFirstClassSeats;\n33
      \       this.numEconomyClassSeats = numEconomyClassSeats;\n34        this.airplaneTypeId
      = airplaneTypeId;\n35     }\n36  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Constructor
      name: Flight
      package: com.acmeair.entities
  - id: 3489
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 45
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "35     }\n36  \n37     public FlightPK getPkey() {\n38        return
      this.pkey;\n39     }\n40  \n41     public void setPkey(FlightPK pkey) {\n42
      \       this.pkey = pkey;\n43     }\n44  \n45     public String getFlightSegmentId()
      {\n46        return this.pkey.getFlightSegmentId();\n47     }\n48  \n49     public
      Date getScheduledDepartureTime() {\n50        return this.scheduledDepartureTime;\n51
      \    }\n52  \n53     public void setScheduledDepartureTime(Date scheduledDepartureTime)
      {\n54        this.scheduledDepartureTime = scheduledDepartureTime;\n55     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3490
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Column;\n
      5  import javax.persistence.Embeddable;\n 6  \n 7  @Embeddable\n 8  public class
      FlightPK implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Column(\n11        name = \"flightId\"\n12     )\n13     private
      String id;\n14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3491
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Field
      name: flightSegmentId
      package: com.acmeair.entities
  - id: 3492
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3493
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 19
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  \n16     public FlightPK() {\n17     }\n18  \n19
      \    public FlightPK(String flightSegmentId, String id) {\n20        this.id
      = id;\n21        this.flightSegmentId = flightSegmentId;\n22     }\n23  \n24
      \    public String getId() {\n25        return this.id;\n26     }\n27  \n28
      \    public void setId(String id) {\n29        this.id = id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Constructor
      name: FlightPK
      package: com.acmeair.entities
  - id: 3494
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 24
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "14     private String flightSegmentId;\n15  \n16     public FlightPK()
      {\n17     }\n18  \n19     public FlightPK(String flightSegmentId, String id)
      {\n20        this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getId
      package: com.acmeair.entities
  - id: 3495
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 28
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "18  \n19     public FlightPK(String flightSegmentId, String id) {\n20
      \       this.id = id;\n21        this.flightSegmentId = flightSegmentId;\n22
      \    }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setId
      package: com.acmeair.entities
  - id: 3496
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 32
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "22     }\n23  \n24     public String getId() {\n25        return this.id;\n26
      \    }\n27  \n28     public void setId(String id) {\n29        this.id = id;\n30
      \    }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: getFlightSegmentId
      package: com.acmeair.entities
  - id: 3497
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 36
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "26     }\n27  \n28     public void setId(String id) {\n29        this.id
      = id;\n30     }\n31  \n32     public String getFlightSegmentId() {\n33        return
      this.flightSegmentId;\n34     }\n35  \n36     public void setFlightSegmentId(String
      flightSegmentId) {\n37        this.flightSegmentId = flightSegmentId;\n38     }\n39
      \ \n40     public int hashCode() {\n41        int prime = true;\n42        int
      result = 1;\n43        result = 31 * result + (this.flightSegmentId == null
      ? 0 : this.flightSegmentId.hashCode());\n44        result = 31 * result + (this.id
      == null ? 0 : this.id.hashCode());\n45        return result;\n46     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: setFlightSegmentId
      package: com.acmeair.entities
  - id: 3498
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 77
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "67                 return false;\n68              }\n69           }
      else if (!this.id.equals(other.id)) {\n70              return false;\n71           }\n72
      \ \n73           return true;\n74        }\n75     }\n76  \n77     public String
      toString() {\n78        return \"FlightPK [flightSegmentId=\" + this.flightSegmentId
      + \",id=\" + this.id + \"]\";\n79     }\n80  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3499
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 11
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: id
      package: com.acmeair.entities
  - id: 3500
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 12
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 2  \n 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: originPort
      package: com.acmeair.entities
  - id: 3501
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import java.io.Serializable;\n 4  import javax.persistence.Entity;\n
      5  import javax.persistence.Id;\n 6  \n 7  @Entity\n 8  public class FlightSegment
      implements Serializable {\n 9     private static final long serialVersionUID
      = 1L;\n10     @Id\n11     private String id;\n12     private String originPort;\n13
      \    private String destPort;\n14     private int miles;\n15  \n16     public
      FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String flightName,
      String origPort, String destPort, int miles) {\n20        this.id = flightName;\n21
      \       this.originPort = origPort;\n22        this.destPort = destPort;\n23
      \       this.miles = miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Field
      name: destPort
      package: com.acmeair.entities
  - id: 3502
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  \n 7  @Entity\n 8  public class FlightSegment implements Serializable
      {\n 9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  \n16     public FlightSegment() {\n17     }\n18
      \ \n19     public FlightSegment(String flightName, String origPort, String destPort,
      int miles) {\n20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3503
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 19
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 9     private static final long serialVersionUID = 1L;\n10     @Id\n11
      \    private String id;\n12     private String originPort;\n13     private String
      destPort;\n14     private int miles;\n15  \n16     public FlightSegment() {\n17
      \    }\n18  \n19     public FlightSegment(String flightName, String origPort,
      String destPort, int miles) {\n20        this.id = flightName;\n21        this.originPort
      = origPort;\n22        this.destPort = destPort;\n23        this.miles = miles;\n24
      \    }\n25  \n26     public String getFlightName() {\n27        return this.id;\n28
      \    }\n29  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Constructor
      name: FlightSegment
      package: com.acmeair.entities
  - id: 3504
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16     public FlightSegment() {\n17     }\n18  \n19     public FlightSegment(String
      flightName, String origPort, String destPort, int miles) {\n20        this.id
      = flightName;\n21        this.originPort = origPort;\n22        this.destPort
      = destPort;\n23        this.miles = miles;\n24     }\n25  \n26     public String
      getFlightName() {\n27        return this.id;\n28     }\n29  \n30     public
      void setFlightName(String flightName) {\n31        this.id = flightName;\n32
      \    }\n33  \n34     public String getOriginPort() {\n35        return this.originPort;\n36
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getFlightName
      package: com.acmeair.entities
  - id: 3505
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 30
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "20        this.id = flightName;\n21        this.originPort = origPort;\n22
      \       this.destPort = destPort;\n23        this.miles = miles;\n24     }\n25
      \ \n26     public String getFlightName() {\n27        return this.id;\n28     }\n29
      \ \n30     public void setFlightName(String flightName) {\n31        this.id
      = flightName;\n32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setFlightName
      package: com.acmeair.entities
  - id: 3506
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 34
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "24     }\n25  \n26     public String getFlightName() {\n27        return
      this.id;\n28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getOriginPort
      package: com.acmeair.entities
  - id: 3507
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 38
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "28     }\n29  \n30     public void setFlightName(String flightName)
      {\n31        this.id = flightName;\n32     }\n33  \n34     public String getOriginPort()
      {\n35        return this.originPort;\n36     }\n37  \n38     public void setOriginPort(String
      originPort) {\n39        this.originPort = originPort;\n40     }\n41  \n42     public
      String getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46
      \    public void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setOriginPort
      package: com.acmeair.entities
  - id: 3508
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 42
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "32     }\n33  \n34     public String getOriginPort() {\n35        return
      this.originPort;\n36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: getDestPort
      package: com.acmeair.entities
  - id: 3509
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 46
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "36     }\n37  \n38     public void setOriginPort(String originPort)
      {\n39        this.originPort = originPort;\n40     }\n41  \n42     public String
      getDestPort() {\n43        return this.destPort;\n44     }\n45  \n46     public
      void setDestPort(String destPort) {\n47        this.destPort = destPort;\n48
      \    }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: setDestPort
      package: com.acmeair.entities
  - id: 3510
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 58
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "48     }\n49  \n50     public int getMiles() {\n51        return this.miles;\n52
      \    }\n53  \n54     public void setMiles(int miles) {\n55        this.miles
      = miles;\n56     }\n57  \n58     public String toString() {\n59        StringBuffer
      sb = new StringBuffer();\n60        sb.append(\"FlightSegment \").append(this.id).append(\"
      originating from:\\\"\").append(this.originPort).append(\"\\\" arriving at:\\\"\").append(this.destPort).append(\"\\\"\");\n61
      \       return sb.toString();\n62     }\n63  \n64     public boolean equals(Object
      obj) {\n65        if (this == obj) {\n66           return true;\n67        }
      else if (obj == null) {\n68           return false;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Method
      name: toString
      package: com.acmeair.entities
  - id: 3511
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 36
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "26     @Resource\n27     FlightService flightService;\n28     @Resource\n29
      \    CustomerService customerService;\n30     @Resource\n31     KeyGenerator
      keyGenerator;\n32  \n33     @Transactional(\n34        propagation = Propagation.REQUIRED\n35
      \    )\n36     public BookingPK bookFlight(String customerId, FlightPK flightId)
      {\n37        try {\n38           Flight f = this.flightService.getFlightByFlightKey(flightId);\n39
      \          Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: bookFlight
      package: com.acmeair.jpa.service
  - id: 3512
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 49
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "39           Customer c = this.customerService.getCustomerByUsername(customerId);\n40
      \          Booking newBooking = new Booking(this.keyGenerator.generate().toString(),
      new Date(), c, f);\n41           BookingPK key = newBooking.getPkey();\n42           this.em.persist(newBooking);\n43
      \          return key;\n44        } catch (Exception var7) {\n45           throw
      new RuntimeException(var7);\n46        }\n47     }\n48  \n49     public Booking
      getBooking(String user, String id) {\n50        BookingPK key = new BookingPK(user,
      id);\n51        return (Booking)this.em.find(Booking.class, key);\n52     }\n53
      \ \n54     public List getBookingsByUser(String user) {\n55        Query q =
      this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBooking
      package: com.acmeair.jpa.service
  - id: 3513
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 54
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "44        } catch (Exception var7) {\n45           throw new RuntimeException(var7);\n46
      \       }\n47     }\n48  \n49     public Booking getBooking(String user, String
      id) {\n50        BookingPK key = new BookingPK(user, id);\n51        return
      (Booking)this.em.find(Booking.class, key);\n52     }\n53  \n54     public List
      getBookingsByUser(String user) {\n55        Query q = this.em.createQuery(\"SELECT
      obj FROM Booking obj where obj.customer.id=?1\");\n56        q.setParameter(1,
      user);\n57        List results = q.getResultList();\n58        return results;\n59
      \    }\n60  \n61     @Transactional(\n62        propagation = Propagation.REQUIRED\n63
      \    )\n64     public void cancelBooking(String user, String id) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.jpa.service
  - id: 3514
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 64
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "54     public List getBookingsByUser(String user) {\n55        Query
      q = this.em.createQuery(\"SELECT obj FROM Booking obj where obj.customer.id=?1\");\n56
      \       q.setParameter(1, user);\n57        List results = q.getResultList();\n58
      \       return results;\n59     }\n60  \n61     @Transactional(\n62        propagation
      = Propagation.REQUIRED\n63     )\n64     public void cancelBooking(String user,
      String id) {\n65        Booking booking = this.getBooking(user, id);\n66        if
      (booking != null) {\n67           this.em.remove(booking);\n68        }\n69
      \ \n70     }\n71  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.jpa.service
  - id: 3515
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 110
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "100              }\n101           }\n102        } catch (Exception
      var4) {\n103           throw new RuntimeException(var4);\n104        }\n105
      \    }\n106  \n107     @Transactional(\n108        propagation = Propagation.REQUIRED\n109
      \    )\n110     public CustomerSession createSession(String customerId) {\n111
      \       try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3516
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 112
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "102        } catch (Exception var4) {\n103           throw new RuntimeException(var4);\n104
      \       }\n105     }\n106  \n107     @Transactional(\n108        propagation
      = Propagation.REQUIRED\n109     )\n110     public CustomerSession createSession(String
      customerId) {\n111        try {\n112           String sessionId = this.keyGenerator.generate().toString();\n113
      \          Date now = new Date();\n114           Calendar c = Calendar.getInstance();\n115
      \          c.setTime(now);\n116           c.add(6, 1);\n117           Date expiration
      = c.getTime();\n118           CustomerSession cSession = new CustomerSession(sessionId,
      customerId, now, expiration);\n119           this.em.persist(cSession);\n120
      \          return cSession;\n121        } catch (Exception var7) {\n122           throw
      new RuntimeException(var7);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createSession
      package: com.acmeair.jpa.service
  - id: 3517
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 129
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "119           this.em.persist(cSession);\n120           return cSession;\n121
      \       } catch (Exception var7) {\n122           throw new RuntimeException(var7);\n123
      \       }\n124     }\n125  \n126     @Transactional(\n127        propagation
      = Propagation.REQUIRED\n128     )\n129     public void invalidateSession(String
      sessionid) {\n130        try {\n131           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n132           if (cSession != null) {\n133              this.em.remove(cSession);\n134
      \          }\n135  \n136        } catch (Exception var3) {\n137           throw
      new RuntimeException(var3);\n138        }\n139     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.jpa.service
  - id: 3518
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 28
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "18  public class CustomerServiceImpl implements CustomerService {\n19
      \    private static final int DAYS_TO_ALLOW_SESSION = 1;\n20     @Autowired\n21
      \    EntityManager em;\n22     @Resource\n23     KeyGenerator keyGenerator;\n24
      \ \n25     @Transactional(\n26        propagation = Propagation.REQUIRED\n27
      \    )\n28     public Customer createCustomer(String username, String password,
      Customer.MemberShipStatus status, int total_miles, int miles_ytd, String phoneNumber,
      Customer.PhoneType phoneNumberType, CustomerAddress address) {\n29        Customer
      customer = new Customer(username, password, status, total_miles, miles_ytd,
      address, phoneNumber, phoneNumberType);\n30  \n31        try {\n32           this.em.persist(customer);\n33
      \          return customer;\n34        } catch (Exception var11) {\n35           throw
      new RuntimeException(var11);\n36        }\n37     }\n38  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: createCustomer
      package: com.acmeair.jpa.service
  - id: 3519
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 65
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "55           customer.setPhoneNumberType(updatedCustomer.getPhoneNumberType());\n56
      \          customer.setStatus(updatedCustomer.getStatus());\n57           customer.setTotal_miles(updatedCustomer.getTotal_miles());\n58
      \          this.em.persist(customer);\n59           return customer;\n60        }
      catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.jpa.service
  - id: 3520
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 70
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "60        } catch (Exception var4) {\n61           throw new RuntimeException(var4);\n62
      \       }\n63     }\n64  \n65     public Customer getCustomerByUsername(String
      username) {\n66        Customer customer = (Customer)this.em.find(Customer.class,
      username);\n67        return customer;\n68     }\n69  \n70     public boolean
      validateCustomer(String username, String password) {\n71        boolean validatedCustomer
      = false;\n72        Customer customerToValidate = this.getCustomerByUsername(username);\n73
      \       if (customerToValidate != null) {\n74           validatedCustomer =
      password.equals(customerToValidate.getPassword());\n75        }\n76  \n77        return
      validatedCustomer;\n78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.jpa.service
  - id: 3521
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 80
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "70     public boolean validateCustomer(String username, String password)
      {\n71        boolean validatedCustomer = false;\n72        Customer customerToValidate
      = this.getCustomerByUsername(username);\n73        if (customerToValidate !=
      null) {\n74           validatedCustomer = password.equals(customerToValidate.getPassword());\n75
      \       }\n76  \n77        return validatedCustomer;\n78     }\n79  \n80     public
      Customer getCustomerByUsernameAndPassword(String username, String password)
      {\n81        Customer c = this.getCustomerByUsername(username);\n82        return
      !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85     @Transactional(\n86
      \       propagation = Propagation.REQUIRED\n87     )\n88     public CustomerSession
      validateSession(String sessionid) {\n89        try {\n90           CustomerSession
      cSession = (CustomerSession)this.em.find(CustomerSession.class, sessionid);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.jpa.service
  - id: 3522
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 88
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "78     }\n79  \n80     public Customer getCustomerByUsernameAndPassword(String
      username, String password) {\n81        Customer c = this.getCustomerByUsername(username);\n82
      \       return !c.getPassword().equals(password) ? null : c;\n83     }\n84  \n85
      \    @Transactional(\n86        propagation = Propagation.REQUIRED\n87     )\n88
      \    public CustomerSession validateSession(String sessionid) {\n89        try
      {\n90           CustomerSession cSession = (CustomerSession)this.em.find(CustomerSession.class,
      sessionid);\n91           if (cSession == null) {\n92              return null;\n93
      \          } else {\n94              Date now = new Date();\n95              if
      (cSession.getTimeoutTime().before(now)) {\n96                 this.em.remove(cSession);\n97
      \                return null;\n98              } else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Method
      name: validateSession
      package: com.acmeair.jpa.service
  - id: 3523
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 104
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 94           } catch (Exception var4) {\n 95              throw new
      RuntimeException(var4);\n 96           }\n 97        }\n 98  \n 99     }\n100
      \ \n101     @Transactional(\n102        propagation = Propagation.REQUIRED\n103
      \    )\n104     public Flight createNewFlight(String flightSegmentId, Date scheduledDepartureTime,
      Date scheduledArrivalTime, BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost,
      int numFirstClassSeats, int numEconomyClassSeats, String airplaneTypeId) {\n105
      \       try {\n106           String id = this.keyGenerator.generate().toString();\n107
      \          Flight flight = new Flight(id, flightSegmentId, scheduledDepartureTime,
      scheduledArrivalTime, firstClassBaseCost, economyClassBaseCost, numFirstClassSeats,
      numEconomyClassSeats, airplaneTypeId);\n108           this.em.persist(flight);\n109
      \          return flight;\n110        } catch (Exception var11) {\n111           throw
      new RuntimeException(var11);\n112        }\n113     }\n114  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3524
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 106
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 96           }\n 97        }\n 98  \n 99     }\n100  \n101     @Transactional(\n102
      \       propagation = Propagation.REQUIRED\n103     )\n104     public Flight
      createNewFlight(String flightSegmentId, Date scheduledDepartureTime, Date scheduledArrivalTime,
      BigDecimal firstClassBaseCost, BigDecimal economyClassBaseCost, int numFirstClassSeats,
      int numEconomyClassSeats, String airplaneTypeId) {\n105        try {\n106           String
      id = this.keyGenerator.generate().toString();\n107           Flight flight =
      new Flight(id, flightSegmentId, scheduledDepartureTime, scheduledArrivalTime,
      firstClassBaseCost, economyClassBaseCost, numFirstClassSeats, numEconomyClassSeats,
      airplaneTypeId);\n108           this.em.persist(flight);\n109           return
      flight;\n110        } catch (Exception var11) {\n111           throw new RuntimeException(var11);\n112
      \       }\n113     }\n114  \n115     @Transactional(\n116        propagation
      = Propagation.REQUIRED"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.jpa.service
  - id: 3525
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 33
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "23  public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource\n27     KeyGenerator keyGenerator;\n28
      \ \n29     public Flight getFlightByFlightKey(FlightPK key) {\n30        return
      (Flight)this.em.find(Flight.class, key);\n31     }\n32  \n33     public List
      getFlightByAirportsAndDepartureDate(String fromAirport, String toAirport, Date
      deptDate) {\n34        List flights = new ArrayList();\n35        Query q =
      this.em.createQuery(\"SELECT obj FROM FlightSegment obj where obj.destPort=?1
      and obj.originPort=?2\");\n36        q.setParameter(1, toAirport);\n37        q.setParameter(2,
      fromAirport);\n38        List results = q.getResultList();\n39        Iterator
      var7 = results.iterator();\n40  \n41        while(var7.hasNext()) {\n42           FlightSegment
      seg = (FlightSegment)var7.next();\n43           Query qq = this.em.createQuery(\"SELECT
      obj FROM Flight obj where  obj.scheduledDepartureTime=?1 and obj.pkey.flightSegmentId=?2\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.jpa.service
  - id: 3526
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 59
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "49           while(var11.hasNext()) {\n50              Flight flight
      = (Flight)var11.next();\n51              flight.setFlightSegment(seg);\n52              flights.add(flight);\n53
      \          }\n54        }\n55  \n56        return flights;\n57     }\n58  \n59
      \    public List getFlightByAirports(String fromAirport, String toAirport) {\n60
      \       Query q = this.em.createQuery(\"SELECT obj FROM FlightSegment obj where
      obj.destPort=?1 and obj.originPort=?2\");\n61        q.setParameter(1, toAirport);\n62
      \       q.setParameter(2, fromAirport);\n63        List flights = new ArrayList();\n64
      \       List results = q.getResultList();\n65        Iterator var6 = results.iterator();\n66
      \ \n67        while(var6.hasNext()) {\n68           FlightSegment seg = (FlightSegment)var6.next();\n69
      \          Query qq = this.em.createQuery(\"SELECT obj FROM Flight obj where
      obj.pkey.flightSegmentId=?1\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.jpa.service
  - id: 3527
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 9
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: bookFlight
      package: com.acmeair.service
  - id: 3528
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 11
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import java.util.List;\n 7  \n 8  public interface BookingService {\n 9     BookingPK
      bookFlight(String var1, FlightPK var2);\n10  \n11     Booking getBooking(String
      var1, String var2);\n12  \n13     List getBookingsByUser(String var1);\n14  \n15
      \    void cancelBooking(String var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBooking
      package: com.acmeair.service
  - id: 3529
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n 7  \n
      8  public interface BookingService {\n 9     BookingPK bookFlight(String var1,
      FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.service
  - id: 3530
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
    line: 15
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import java.util.List;\n
      7  \n 8  public interface BookingService {\n 9     BookingPK bookFlight(String
      var1, FlightPK var2);\n10  \n11     Booking getBooking(String var1, String var2);\n12
      \ \n13     List getBookingsByUser(String var1);\n14  \n15     void cancelBooking(String
      var1, String var2);\n16  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/BookingService.java
      kind: Method
      name: cancelBooking
      package: com.acmeair.service
  - id: 3531
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 8
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createCustomer
      package: com.acmeair.service
  - id: 3532
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 12
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.entities.CustomerSession;\n 6  \n 7  public interface
      CustomerService {\n 8     Customer createCustomer(String var1, String var2,
      Customer.MemberShipStatus var3, int var4, int var5, String var6, Customer.PhoneType
      var7, CustomerAddress var8);\n 9  \n10     Customer updateCustomer(Customer
      var1);\n11  \n12     Customer getCustomerByUsername(String var1);\n13  \n14
      \    boolean validateCustomer(String var1, String var2);\n15  \n16     Customer
      getCustomerByUsernameAndPassword(String var1, String var2);\n17  \n18     CustomerSession
      validateSession(String var1);\n19  \n20     CustomerSession createSession(String
      var1);\n21  \n22     void invalidateSession(String var1);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsername
      package: com.acmeair.service
  - id: 3533
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateCustomer
      package: com.acmeair.service
  - id: 3534
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  \n 7  public interface CustomerService {\n 8     Customer createCustomer(String
      var1, String var2, Customer.MemberShipStatus var3, int var4, int var5, String
      var6, Customer.PhoneType var7, CustomerAddress var8);\n 9  \n10     Customer
      updateCustomer(Customer var1);\n11  \n12     Customer getCustomerByUsername(String
      var1);\n13  \n14     boolean validateCustomer(String var1, String var2);\n15
      \ \n16     Customer getCustomerByUsernameAndPassword(String var1, String var2);\n17
      \ \n18     CustomerSession validateSession(String var1);\n19  \n20     CustomerSession
      createSession(String var1);\n21  \n22     void invalidateSession(String var1);\n23
      \ }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: getCustomerByUsernameAndPassword
      package: com.acmeair.service
  - id: 3535
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 18
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 8     Customer createCustomer(String var1, String var2, Customer.MemberShipStatus
      var3, int var4, int var5, String var6, Customer.PhoneType var7, CustomerAddress
      var8);\n 9  \n10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: validateSession
      package: com.acmeair.service
  - id: 3536
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 20
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "10     Customer updateCustomer(Customer var1);\n11  \n12     Customer
      getCustomerByUsername(String var1);\n13  \n14     boolean validateCustomer(String
      var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: createSession
      package: com.acmeair.service
  - id: 3537
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
    line: 22
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "12     Customer getCustomerByUsername(String var1);\n13  \n14     boolean
      validateCustomer(String var1, String var2);\n15  \n16     Customer getCustomerByUsernameAndPassword(String
      var1, String var2);\n17  \n18     CustomerSession validateSession(String var1);\n19
      \ \n20     CustomerSession createSession(String var1);\n21  \n22     void invalidateSession(String
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/CustomerService.java
      kind: Method
      name: invalidateSession
      package: com.acmeair.service
  - id: 3538
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirportsAndDepartureDate
      package: com.acmeair.service
  - id: 3539
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 16
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import java.math.BigDecimal;\n
      8  import java.util.Date;\n 9  import java.util.List;\n10  \n11  public interface
      FlightService {\n12     Flight getFlightByFlightKey(FlightPK var1);\n13  \n14
      \    List getFlightByAirportsAndDepartureDate(String var1, String var2, Date
      var3);\n15  \n16     List getFlightByAirports(String var1, String var2);\n17
      \ \n18     void storeAirportMapping(AirportCodeMapping var1);\n19  \n20     Flight
      createNewFlight(String var1, Date var2, Date var3, BigDecimal var4, BigDecimal
      var5, int var6, int var7, String var8);\n21  \n22     void storeFlightSegment(FlightSegment
      var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: getFlightByAirports
      package: com.acmeair.service
  - id: 3540
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
    line: 20
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "10  \n11  public interface FlightService {\n12     Flight getFlightByFlightKey(FlightPK
      var1);\n13  \n14     List getFlightByAirportsAndDepartureDate(String var1, String
      var2, Date var3);\n15  \n16     List getFlightByAirports(String var1, String
      var2);\n17  \n18     void storeAirportMapping(AirportCodeMapping var1);\n19
      \ \n20     Flight createNewFlight(String var1, Date var2, Date var3, BigDecimal
      var4, BigDecimal var5, int var6, int var7, String var8);\n21  \n22     void
      storeFlightSegment(FlightSegment var1);\n23  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/service/FlightService.java
      kind: Method
      name: createNewFlight
      package: com.acmeair.service
  - id: 3541
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 4
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: departBookingId
      package: com.acmeair.web
  - id: 3542
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 5
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Field
      name: returnBookingId
      package: com.acmeair.web
  - id: 3543
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 8
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  public class BookingInfo {\n
      4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3544
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 14
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 4     private String departBookingId;\n 5     private String returnBookingId;\n
      6     private boolean oneWay;\n 7  \n 8     public BookingInfo(String departBookingId,
      String returnBookingId, boolean oneWay) {\n 9        this.departBookingId =
      departBookingId;\n10        this.returnBookingId = returnBookingId;\n11        this.oneWay
      = oneWay;\n12     }\n13  \n14     public BookingInfo() {\n15     }\n16  \n17
      \    public String getDepartBookingId() {\n18        return this.departBookingId;\n19
      \    }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Constructor
      name: BookingInfo
      package: com.acmeair.web
  - id: 3545
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 17
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 7  \n 8     public BookingInfo(String departBookingId, String returnBookingId,
      boolean oneWay) {\n 9        this.departBookingId = departBookingId;\n10        this.returnBookingId
      = returnBookingId;\n11        this.oneWay = oneWay;\n12     }\n13  \n14     public
      BookingInfo() {\n15     }\n16  \n17     public String getDepartBookingId() {\n18
      \       return this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getDepartBookingId
      package: com.acmeair.web
  - id: 3546
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 21
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "11        this.oneWay = oneWay;\n12     }\n13  \n14     public BookingInfo()
      {\n15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setDepartBookingId
      package: com.acmeair.web
  - id: 3547
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 25
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "15     }\n16  \n17     public String getDepartBookingId() {\n18        return
      this.departBookingId;\n19     }\n20  \n21     public void setDepartBookingId(String
      departBookingId) {\n22        this.departBookingId = departBookingId;\n23     }\n24
      \ \n25     public String getReturnBookingId() {\n26        return this.returnBookingId;\n27
      \    }\n28  \n29     public void setReturnBookingId(String returnBookingId)
      {\n30        this.returnBookingId = returnBookingId;\n31     }\n32  \n33     public
      boolean isOneWay() {\n34        return this.oneWay;\n35     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: getReturnBookingId
      package: com.acmeair.web
  - id: 3548
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 29
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "19     }\n20  \n21     public void setDepartBookingId(String departBookingId)
      {\n22        this.departBookingId = departBookingId;\n23     }\n24  \n25     public
      String getReturnBookingId() {\n26        return this.returnBookingId;\n27     }\n28
      \ \n29     public void setReturnBookingId(String returnBookingId) {\n30        this.returnBookingId
      = returnBookingId;\n31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: setReturnBookingId
      package: com.acmeair.web
  - id: 3549
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
    line: 41
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "31     }\n32  \n33     public boolean isOneWay() {\n34        return
      this.oneWay;\n35     }\n36  \n37     public void setOneWay(boolean oneWay) {\n38
      \       this.oneWay = oneWay;\n39     }\n40  \n41     public String toString()
      {\n42        return \"BookingInfo [departBookingId=\" + this.departBookingId
      + \", returnBookingId=\" + this.returnBookingId + \", oneWay=\" + this.oneWay
      + \"]\";\n43     }\n44  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingInfo.java
      kind: Method
      name: toString
      package: com.acmeair.web
  - id: 3550
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16  import javax.ws.rs.core.Response.Status;\n17  \n18  @Path(\"/bookings\")\n19
      \ public class BookingsREST {\n20     private BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {\n27        try {\n28           BookingPK bookingIdTo = this.bs.bookFlight(userid,
      new FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3551
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 38
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "28           BookingPK bookingIdTo = this.bs.bookFlight(userid, new
      FlightPK(toFlightSegId, toFlightId));\n29           BookingPK bookingIdReturn
      = null;\n30           if (!oneWay) {\n31              bookingIdReturn = this.bs.bookFlight(userid,
      new FlightPK(retFlightSegId, retFlightId));\n32           }\n33  \n34           BookingInfo
      bi;\n35           if (!oneWay) {\n36              bi = new BookingInfo(bookingIdTo.getId(),
      bookingIdReturn.getId(), oneWay);\n37           } else {\n38              bi
      = new BookingInfo(bookingIdTo.getId(), (String)null, oneWay);\n39           }\n40
      \ \n41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: bookFlights
      package: com.acmeair.web
  - id: 3552
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 51
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "41           return Response.ok(bi).build();\n42        } catch (Exception
      var10) {\n43           var10.printStackTrace();\n44           return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n45
      \       }\n46     }\n47  \n48     @GET\n49     @Path(\"/bybookingnumber/{userid}/{number}\")\n50
      \    @Produces({\"application/json\"})\n51     public Booking getBookingByNumber(@PathParam(\"number\")
      String number, @FormParam(\"userid\") String userid) {\n52        try {\n53
      \          Booking b = this.bs.getBooking(userid, number);\n54           return
      b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingByNumber
      package: com.acmeair.web
  - id: 3553
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 64
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "54           return b;\n55        } catch (Exception var4) {\n56           var4.printStackTrace();\n57
      \          return null;\n58        }\n59     }\n60  \n61     @GET\n62     @Path(\"/byuser/{user}\")\n63
      \    @Produces({\"application/json\"})\n64     public List getBookingsByUser(@PathParam(\"user\")
      String user) {\n65        try {\n66           return this.bs.getBookingsByUser(user);\n67
      \       } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: getBookingsByUser
      package: com.acmeair.web
  - id: 3554
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 77
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "67        } catch (Exception var3) {\n68           var3.printStackTrace();\n69
      \          return null;\n70        }\n71     }\n72  \n73     @POST\n74     @Consumes({\"application/x-www-form-urlencoded\"})\n75
      \    @Path(\"/cancelbooking\")\n76     @Produces({\"application/json\"})\n77
      \    public Response cancelBookingsByNumber(@FormParam(\"number\") String number,
      @FormParam(\"userid\") String userid) {\n78        try {\n79           this.bs.cancelBooking(userid,
      number);\n80           return Response.ok(\"booking \" + number + \" deleted.\").build();\n81
      \       } catch (Exception var4) {\n82           var4.printStackTrace();\n83
      \          return Response.status(Status.INTERNAL_SERVER_ERROR).build();\n84
      \       }\n85     }\n86  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Method
      name: cancelBookingsByNumber
      package: com.acmeair.web
  - id: 3555
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 25
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "15  import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3556
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 26
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "16  import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: validate
      package: com.acmeair.web
  - id: 3557
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 33
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "23     private HttpServletRequest request;\n24  \n25     private boolean
      validate(String customerid) {\n26        String loginUser = (String)this.request.getAttribute(\"acmeair.login_user\");\n27
      \       return customerid.equals(loginUser);\n28     }\n29  \n30     @GET\n31
      \    @Path(\"/byid/{custid}\")\n32     @Produces({\"application/json\"})\n33
      \    public Response getCustomer(@CookieParam(\"sessionid\") String sessionid,
      @PathParam(\"custid\") String customerid) {\n34        try {\n35           if
      (!this.validate(customerid)) {\n36              return Response.status(Status.FORBIDDEN).build();\n37
      \          } else {\n38              Customer customer = this.customerService.getCustomerByUsername(customerid);\n39
      \             return Response.ok(customer).build();\n40           }\n41        }
      catch (Exception var4) {\n42           var4.printStackTrace();\n43           return
      null;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: getCustomer
      package: com.acmeair.web
  - id: 3558
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 50
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "40           }\n41        } catch (Exception var4) {\n42           var4.printStackTrace();\n43
      \          return null;\n44        }\n45     }\n46  \n47     @POST\n48     @Path(\"/byid/{custid}\")\n49
      \    @Produces({\"application/json\"})\n50     public Response putCustomer(@CookieParam(\"sessionid\")
      String sessionid, Customer customer) {\n51        if (!this.validate(customer.getUsername()))
      {\n52           return Response.status(Status.FORBIDDEN).build();\n53        }
      else {\n54           Customer customerFromDB = this.customerService.getCustomerByUsernameAndPassword(customer.getUsername(),
      customer.getPassword());\n55           if (customerFromDB == null) {\n56              return
      Response.status(Status.FORBIDDEN).build();\n57           } else {\n58              CustomerAddress
      addressFromDB = customerFromDB.getAddress();\n59              addressFromDB.setStreetAddress1(customer.getAddress().getStreetAddress1());\n60
      \             if (customer.getAddress().getStreetAddress2() != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3559
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 71
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "61                 addressFromDB.setStreetAddress2(customer.getAddress().getStreetAddress2());\n62
      \             }\n63  \n64              addressFromDB.setCity(customer.getAddress().getCity());\n65
      \             addressFromDB.setStateProvince(customer.getAddress().getStateProvince());\n66
      \             addressFromDB.setCountry(customer.getAddress().getCountry());\n67
      \             addressFromDB.setPostalCode(customer.getAddress().getPostalCode());\n68
      \             customerFromDB.setPhoneNumber(customer.getPhoneNumber());\n69
      \             customerFromDB.setPhoneNumberType(customer.getPhoneNumberType());\n70
      \             this.customerService.updateCustomer(customerFromDB);\n71              customerFromDB.setPassword((String)null);\n72
      \             return Response.ok(customerFromDB).build();\n73           }\n74
      \       }\n75     }\n76  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Method
      name: putCustomer
      package: com.acmeair.web
  - id: 3560
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 21
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  \n13  @Path(\"/flights\")\n14
      \ public class FlightsREST {\n15     private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {\n22        TripFlightOptions options = new TripFlightOptions();\n23
      \       ArrayList legs = new ArrayList();\n24        TripLegInfo toInfo = new
      TripLegInfo();\n25        List toFlights = this.flightService.getFlightByAirportsAndDepartureDate(fromAirport,
      toAirport, fromDate);\n26        toInfo.setFlightsOptions(toFlights);\n27        legs.add(toInfo);\n28
      \       toInfo.setCurrentPage(0);\n29        toInfo.setHasMoreOptions(false);\n30
      \       toInfo.setNumPages(1);\n31        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: getTripFlights
      package: com.acmeair.web
  - id: 3561
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 54
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "44        }\n45  \n46        options.setTripFlights(legs);\n47        return
      options;\n48     }\n49  \n50     @POST\n51     @Path(\"/browseflights\")\n52
      \    @Consumes({\"application/x-www-form-urlencoded\"})\n53     @Produces({\"application/json\"})\n54
      \    public TripFlightOptions browseFlights(@FormParam(\"fromAirport\") String
      fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"oneWay\")
      boolean oneWay) {\n55        TripFlightOptions options = new TripFlightOptions();\n56
      \       ArrayList legs = new ArrayList();\n57        TripLegInfo toInfo = new
      TripLegInfo();\n58        List toFlights = this.flightService.getFlightByAirports(fromAirport,
      toAirport);\n59        toInfo.setFlightsOptions(toFlights);\n60        legs.add(toInfo);\n61
      \       toInfo.setCurrentPage(0);\n62        toInfo.setHasMoreOptions(false);\n63
      \       toInfo.setNumPages(1);\n64        toInfo.setPageSize(TripLegInfo.DEFAULT_PAGE_SIZE);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Method
      name: browseFlights
      package: com.acmeair.web
  - id: 3562
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 99
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 89        String line1 = lnr.readLine();\n 90        StringTokenizer
      st = new StringTokenizer(line1, \",\");\n 91        ArrayList airports = new
      ArrayList();\n 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3563
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 102
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 92  \n 93        while(st.hasMoreTokens()) {\n 94           AirportCodeMapping
      acm = new AirportCodeMapping();\n 95           acm.setAirportName(st.nextToken());\n
      96           airports.add(acm);\n 97        }\n 98  \n 99        String line2
      = lnr.readLine();\n100        st = new StringTokenizer(line2, \",\");\n101  \n102
      \       String line;\n103        for(int ii = 0; st.hasMoreTokens(); ++ii) {\n104
      \          line = st.nextToken();\n105           ((AirportCodeMapping)airports.get(ii)).setAirportCode(line);\n106
      \       }\n107  \n108        int flightNumber = 0;\n109  \n110        label61:\n111
      \       while(true) {\n112           line = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3564
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 124
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "114              for(int jj = 0; jj < airports.size(); ++jj) {\n115
      \                this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3565
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 125
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "115                 this.flightService.storeAirportMapping((AirportCodeMapping)airports.get(jj));\n116
      \             }\n117  \n118              lnr.close();\n119              System.out.println(\"Done
      loading flight data.\");\n120              return;\n121           }\n122  \n123
      \          st = new StringTokenizer(line, \",\");\n124           String airportName
      = st.nextToken();\n125           String airportCode = st.nextToken();\n126           if
      (!alreadyInCollection(airportCode, airports)) {\n127              AirportCodeMapping
      acm = new AirportCodeMapping();\n128              acm.setAirportName(airportName);\n129
      \             acm.setAirportCode(airportCode);\n130              airports.add(acm);\n131
      \          }\n132  \n133           int indexIntoTopLine = 0;\n134  \n135           while(true)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3566
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 141
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "131           }\n132  \n133           int indexIntoTopLine = 0;\n134
      \ \n135           while(true) {\n136              while(true) {\n137                 if
      (!st.hasMoreTokens()) {\n138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3567
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 146
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "136              while(true) {\n137                 if (!st.hasMoreTokens())
      {\n138                    continue label61;\n139                 }\n140  \n141
      \                String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3568
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 148
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "138                    continue label61;\n139                 }\n140
      \ \n141                 String milesString = st.nextToken();\n142                 if
      (milesString.equals(\"NA\")) {\n143                    ++indexIntoTopLine;\n144
      \                } else {\n145                    int miles = Integer.parseInt(milesString);\n146
      \                   String toAirport = ((AirportCodeMapping)airports.get(indexIntoTopLine)).getAirportCode();\n147
      \                   if (this.flightService.getFlightByAirports(airportCode,
      toAirport).isEmpty()) {\n148                       String flightId = \"AA\"
      + flightNumber;\n149                       FlightSegment flightSeg = new FlightSegment(flightId,
      airportCode, toAirport, miles);\n150                       this.flightService.storeFlightSegment(flightSeg);\n151
      \                      Date now = new Date();\n152  \n153                       for(int
      daysFromNow = 0; daysFromNow < segments; ++daysFromNow) {\n154                          Calendar
      c = Calendar.getInstance();\n155                          c.setTime(now);\n156
      \                         c.set(11, 0);\n157                          c.set(12,
      0);\n158                          c.set(13, 0);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3569
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 187
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "177        double hours = (double)mileage / averageSpeed;\n178        double
      partsOfHour = hours % 1.0;\n179        int minutes = (int)(60.0 * partsOfHour);\n180
      \       Calendar c = Calendar.getInstance();\n181        c.setTime(departureTime);\n182
      \       c.add(10, (int)hours);\n183        c.add(12, minutes);\n184        return
      c.getTime();\n185     }\n186  \n187     private static boolean alreadyInCollection(String
      airportCode, ArrayList airports) {\n188        for(int ii = 0; ii < airports.size();
      ++ii) {\n189           if (((AirportCodeMapping)airports.get(ii)).getAirportCode().equals(airportCode))
      {\n190              return true;\n191           }\n192        }\n193  \n194
      \       return false;\n195     }\n196  }\n"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: alreadyInCollection
      package: com.acmeair.web
  - id: 3570
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 34
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST
      {\n27     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET\n32     @Path(\"/load\")\n33
      \    @Produces({\"text/plain\"})\n34     public String load() {\n35        return
      this.loadData(10L, 30);\n36     }\n37  \n38     @GET\n39     @Path(\"/loadSmall\")\n40
      \    @Produces({\"text/plain\"})\n41     public String loadSmall() {\n42        return
      this.loadData(5L, 5);\n43     }\n44  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: load
      package: com.acmeair.web
  - id: 3571
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 41
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "31     @GET\n32     @Path(\"/load\")\n33     @Produces({\"text/plain\"})\n34
      \    public String load() {\n35        return this.loadData(10L, 30);\n36     }\n37
      \ \n38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadSmall
      package: com.acmeair.web
  - id: 3572
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 48
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "38     @GET\n39     @Path(\"/loadSmall\")\n40     @Produces({\"text/plain\"})\n41
      \    public String loadSmall() {\n42        return this.loadData(5L, 5);\n43
      \    }\n44  \n45     @GET\n46     @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48
      \    public String loadTiny() {\n49        return this.loadData(2L, 2);\n50
      \    }\n51  \n52     private String loadData(long numCustomers, int segments)
      {\n53        synchronized(lock) {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadTiny
      package: com.acmeair.web
  - id: 3573
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 52
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "42        return this.loadData(5L, 5);\n43     }\n44  \n45     @GET\n46
      \    @Path(\"/loadTiny\")\n47     @Produces({\"text/plain\"})\n48     public
      String loadTiny() {\n49        return this.loadData(2L, 2);\n50     }\n51  \n52
      \    private String loadData(long numCustomers, int segments) {\n53        synchronized(lock)
      {\n54           try {\n55              this.loadCustomers(numCustomers);\n56
      \          } catch (Exception var8) {\n57              var8.printStackTrace();\n58
      \          }\n59  \n60           try {\n61              this.loadFlights(segments);\n62
      \          } catch (Exception var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadData
      package: com.acmeair.web
  - id: 3574
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 72
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "62           } catch (Exception var7) {\n63              var7.printStackTrace();\n64
      \          }\n65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3575
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 75
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "65  \n66           return \"Sample data loaded.\";\n67        }\n68
      \    }\n69  \n70     public void loadCustomers(long numCustomers) {\n71        System.out.println(\"Loading
      customer data...\");\n72        CustomerAddress address = new CustomerAddress(\"123
      Main St.\", (String)null, \"Anytown\", \"NC\", \"USA\", \"27617\");\n73  \n74
      \       for(long ii = 0L; ii < numCustomers; ++ii) {\n75           String id
      = \"uid\" + ii + \"@email.com\";\n76           Customer customer = this.customerService.getCustomerByUsername(id);\n77
      \          if (customer == null) {\n78              this.customerService.createCustomer(id,
      \"password\", MemberShipStatus.GOLD, 1000000, 1000, \"919-123-4567\", PhoneType.BUSINESS,
      address);\n79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadCustomers
      package: com.acmeair.web
  - id: 3576
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 89
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "79           }\n80        }\n81  \n82        System.out.println(\"Done
      loading customer data.\");\n83     }\n84  \n85     public void loadFlights(int
      segments) throws Exception {\n86        System.out.println(\"Loading flight
      data...\");\n87        InputStream csvInputStream = this.getClass().getResourceAsStream(\"/mileage.csv\");\n88
      \       LineNumberReader lnr = new LineNumberReader(new InputStreamReader(csvInputStream));\n89
      \       String line1 = lnr.readLine();\n90        StringTokenizer st = new StringTokenizer(line1,
      \",\");\n91        ArrayList airports = new ArrayList();\n92  \n93        while(st.hasMoreTokens())
      {\n94           AirportCodeMapping acm = new AirportCodeMapping();\n95           acm.setAirportName(st.nextToken());\n96
      \          airports.add(acm);\n97        }\n98  \n99        String line2 = lnr.readLine();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Method
      name: loadFlights
      package: com.acmeair.web
  - id: 3577
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 21
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Field
      name: SESSIONID_COOKIE_NAME
      package: com.acmeair.web
  - id: 3578
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 27
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "17  \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST
      {\n21     public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})\n26
      \    @Produces({\"text/plain\"})\n27     public Response login(@FormParam(\"login\")
      String login, @FormParam(\"password\") String password) {\n28        try {\n29
      \          boolean validCustomer = this.customerService.validateCustomer(login,
      password);\n30           if (!validCustomer) {\n31              return Response.status(Status.FORBIDDEN).build();\n32
      \          } else {\n33              CustomerSession session = this.customerService.createSession(login);\n34
      \             NewCookie sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, session.getId());\n35
      \             return Response.ok(\"logged in\").cookie(new NewCookie[]{sessCookie}).build();\n36
      \          }\n37        } catch (Exception var6) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: login
      package: com.acmeair.web
  - id: 3579
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 46
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "36           }\n37        } catch (Exception var6) {\n38           var6.printStackTrace();\n39
      \          return null;\n40        }\n41     }\n42  \n43     @GET\n44     @Path(\"/logout\")\n45
      \    @Produces({\"text/plain\"})\n46     public Response logout(@QueryParam(\"login\")
      String login, @CookieParam(\"sessionid\") String sessionid) {\n47        try
      {\n48           this.customerService.invalidateSession(sessionid);\n49           NewCookie
      sessCookie = new NewCookie(SESSIONID_COOKIE_NAME, \"\");\n50           return
      Response.ok(\"logged out\").cookie(new NewCookie[]{sessCookie}).build();\n51
      \       } catch (Exception var4) {\n52           var4.printStackTrace();\n53
      \          return null;\n54        }\n55     }\n56  }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Method
      name: logout
      package: com.acmeair.web
  - id: 3580
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 19
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_USER
      package: com.acmeair.web
  - id: 3581
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 20
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "10  import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGIN_PATH
      package: com.acmeair.web
  - id: 3582
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 21
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "11  import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource source1;\n27
      \ \n28     public void destroy() {\n29     }\n30  \n31     public void doFilter(ServletRequest
      req, ServletResponse resp, FilterChain chain) throws IOException, ServletException
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Constant
      name: LOGOUT_PATH
      package: com.acmeair.web
  - id: 3583
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 34
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "24        name = \"jdbc/acmeairdatasource\"\n25     )\n26     DataSource
      source1;\n27  \n28     public void destroy() {\n29     }\n30  \n31     public
      void doFilter(ServletRequest req, ServletResponse resp, FilterChain chain) throws
      IOException, ServletException {\n32        HttpServletRequest request = (HttpServletRequest)req;\n33
      \       HttpServletResponse response = (HttpServletResponse)resp;\n34        String
      path = request.getServletPath() + request.getPathInfo();\n35        if (!path.endsWith(\"/rest/api/login\")
      && !path.endsWith(\"/rest/api/login/logout\") && !path.startsWith(\"/rest/api/loader/\"))
      {\n36           Cookie[] cookies = request.getCookies();\n37           Cookie
      sessionCookie = null;\n38           if (cookies == null) {\n39              response.sendError(403);\n40
      \          } else {\n41              Cookie[] var9 = cookies;\n42              int
      var10 = cookies.length;\n43  \n44              for(int var11 = 0; var11 < var10;
      ++var11) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3584
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 55
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "45                 Cookie c = var9[var11];\n46                 if (c.getName().equals(LoginREST.SESSIONID_COOKIE_NAME))
      {\n47                    sessionCookie = c;\n48                 }\n49  \n50
      \                if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  - id: 3585
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 13
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: " 3  import com.acmeair.web.config.WXSDirectAppConfig;\n 4  import java.util.concurrent.atomic.AtomicReference;\n
      5  import java.util.logging.Logger;\n 6  import javax.naming.Context;\n 7  import
      javax.naming.InitialContext;\n 8  import javax.naming.NamingException;\n 9  import
      org.springframework.context.ApplicationContext;\n10  import org.springframework.context.annotation.AnnotationConfigApplicationContext;\n11
      \ \n12  public class ServiceLocator {\n13     public static String REPOSITORY_LOOKUP_KEY
      = \"com.acmeair.repository.type\";\n14     final ApplicationContext ctx;\n15
      \    private static Logger logger = Logger.getLogger(ServiceLocator.class.getName());\n16
      \    private static AtomicReference singletonServiceLocator = new AtomicReference();\n17
      \ \n18     static ServiceLocator instance() {\n19        if (singletonServiceLocator.get()
      == null) {\n20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Field
      name: REPOSITORY_LOOKUP_KEY
      package: com.acmeair.web
  - id: 3586
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 30
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "20           synchronized(singletonServiceLocator) {\n21              if
      (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3587
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 31
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "21              if (singletonServiceLocator.get() == null) {\n22                 singletonServiceLocator.set(new
      ServiceLocator());\n23              }\n24           }\n25        }\n26  \n27
      \       return (ServiceLocator)singletonServiceLocator.get();\n28     }\n29
      \ \n30     private ServiceLocator() {\n31        String type = null;\n32        String
      lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context context
      = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3588
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 32
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "22                 singletonServiceLocator.set(new ServiceLocator());\n23
      \             }\n24           }\n25        }\n26  \n27        return (ServiceLocator)singletonServiceLocator.get();\n28
      \    }\n29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3589
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 39
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "29  \n30     private ServiceLocator() {\n31        String type = null;\n32
      \       String lookup = REPOSITORY_LOOKUP_KEY.replace('.', '/');\n33        Context
      context = null;\n34  \n35        try {\n36           context = new InitialContext();\n37
      \          Context envContext = (Context)context.lookup(\"java:comp/env\");\n38
      \          if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  - id: 3590
    createTime: 2024-07-22T06:22:27.254281976Z
    issue: 41
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
    line: 48
    message: Method encodeURL in javax.servlet.http.HttpServletResponse has been removed.
      Use encodeURL(String) instead.
    codeSnip: "38           if (envContext != null) {\n39              type = (String)envContext.lookup(lookup);\n40
      \          }\n41        } catch (NamingException var7) {\n42        }\n43  \n44
      \       if (type != null) {\n45           logger.info(\"Found repository in
      web.xml:\" + type);\n46        } else if (context != null) {\n47           try
      {\n48              type = (String)context.lookup(lookup);\n49              if
      (type != null) {\n50                 logger.info(\"Found repository in server.xml:\"
      + type);\n51              }\n52           } catch (NamingException var6) {\n53
      \          }\n54        }\n55  \n56        if (type == null) {\n57           type
      = System.getProperty(REPOSITORY_LOOKUP_KEY);\n58           if (type != null)
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/ServiceLocator.java
      kind: Constructor
      name: ServiceLocator
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 42
  createTime: 2024-07-22T06:22:27.259717938Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-servlet-00120
  name: ""
  description: Method getValue in javax.servlet.http.HttpSession has been removed
  category: mandatory
  effort: 1
  incidents:
  - id: 3591
    createTime: 2024-07-22T06:22:27.266706738Z
    issue: 42
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 57
    message: Method getValue in javax.servlet.http.HttpSession has been removed. Use
      getAttribute instead.
    codeSnip: "47                    sessionCookie = c;\n48                 }\n49
      \ \n50                 if (sessionCookie != null) {\n51                    break;\n52
      \                }\n53              }\n54  \n55              String sessionId
      = \"\";\n56              if (sessionCookie != null) {\n57                 sessionId
      = sessionCookie.getValue().trim();\n58              }\n59  \n60              if
      (sessionId.equals(\"\")) {\n61                 response.sendError(403);\n62
      \             } else {\n63                 CustomerSession cs = this.customerService.validateSession(sessionId);\n64
      \                if (cs != null) {\n65                    request.setAttribute(\"acmeair.login_user\",
      cs.getCustomerid());\n66                    chain.doFilter(req, resp);\n67                 }
      else {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Method
      name: doFilter
      package: com.acmeair.web
  links:
  - url: https://access.redhat.com/articles/6980265#servlet
    title: Red Hat JBoss EAP Application Migration from Jakarta EE 8 to EE 10 - Jakarta
      Servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+
- id: 43
  createTime: 2024-07-22T06:22:27.273135947Z
  analysis: 9
  ruleset: eap8/eap7
  rule: javax-to-jakarta-import-00001
  name: ""
  description: The package 'javax' has been replaced by 'jakarta'.
  category: mandatory
  effort: 1
  incidents:
  - id: 3592
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3593
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class AirportCodeMapping implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Id\n11     private
      String id;\n12     private String airportName;\n13  \n14     public AirportCodeMapping()
      {\n15     }"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/AirportCodeMapping.java
      kind: Module
      name: javax.persistence.Id
      package: com.acmeair.entities
      renamed: persistence
  - id: 3594
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.EmbeddedId;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.ManyToOne;\n 8  import
      javax.persistence.PrimaryKeyJoinColumn;\n 9  \n10  @Entity\n11  public class
      Booking implements Serializable {\n12     private static final long serialVersionUID
      = 1L;\n13     @EmbeddedId\n14     private BookingPK pkey;\n15     private FlightPK
      flightKey;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Module
      name: javax.persistence.EmbeddedId
      package: com.acmeair.entities
      renamed: persistence
  - id: 3595
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 6
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.EmbeddedId;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.ManyToOne;\n 8  import
      javax.persistence.PrimaryKeyJoinColumn;\n 9  \n10  @Entity\n11  public class
      Booking implements Serializable {\n12     private static final long serialVersionUID
      = 1L;\n13     @EmbeddedId\n14     private BookingPK pkey;\n15     private FlightPK
      flightKey;\n16     private Date dateOfBooking;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3596
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 7
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.EmbeddedId;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.ManyToOne;\n 8  import
      javax.persistence.PrimaryKeyJoinColumn;\n 9  \n10  @Entity\n11  public class
      Booking implements Serializable {\n12     private static final long serialVersionUID
      = 1L;\n13     @EmbeddedId\n14     private BookingPK pkey;\n15     private FlightPK
      flightKey;\n16     private Date dateOfBooking;\n17     @ManyToOne"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Module
      name: javax.persistence.ManyToOne
      package: com.acmeair.entities
      renamed: persistence
  - id: 3597
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
    line: 8
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.EmbeddedId;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.ManyToOne;\n 8  import
      javax.persistence.PrimaryKeyJoinColumn;\n 9  \n10  @Entity\n11  public class
      Booking implements Serializable {\n12     private static final long serialVersionUID
      = 1L;\n13     @EmbeddedId\n14     private BookingPK pkey;\n15     private FlightPK
      flightKey;\n16     private Date dateOfBooking;\n17     @ManyToOne\n18     @PrimaryKeyJoinColumn("
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Booking.java
      kind: Module
      name: javax.persistence.PrimaryKeyJoinColumn
      package: com.acmeair.entities
      renamed: persistence
  - id: 3598
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Module
      name: javax.persistence.Column
      package: com.acmeair.entities
      renamed: persistence
  - id: 3599
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class BookingPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"bookingId\"\n12     )\n13     private String id;\n14     private
      String customerId;\n15  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/BookingPK.java
      kind: Module
      name: javax.persistence.Embeddable
      package: com.acmeair.entities
      renamed: persistence
  - id: 3600
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embedded;\n
      6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n
      9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Module
      name: javax.persistence.Column
      package: com.acmeair.entities
      renamed: persistence
  - id: 3601
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embedded;\n
      6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n
      9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Module
      name: javax.persistence.Embedded
      package: com.acmeair.entities
      renamed: persistence
  - id: 3602
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 6
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embedded;\n
      6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n
      9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3603
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
    line: 7
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embedded;\n
      6  import javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n
      9  @Entity\n10  public class Customer implements Serializable {\n11     private
      static final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String password;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Customer.java
      kind: Module
      name: javax.persistence.Id
      package: com.acmeair.entities
      renamed: persistence
  - id: 3604
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Embeddable;\n 5  \n 6  @Embeddable\n 7  public class
      CustomerAddress implements Serializable {\n 8     private static final long
      serialVersionUID = 1L;\n 9     private String streetAddress1;\n10     private
      String streetAddress2;\n11     private String city;\n12     private String stateProvince;\n13
      \    private String country;\n14     private String postalCode;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerAddress.java
      kind: Module
      name: javax.persistence.Embeddable
      package: com.acmeair.entities
      renamed: persistence
  - id: 3605
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.Column;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10
      \ public class CustomerSession implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Module
      name: javax.persistence.Column
      package: com.acmeair.entities
      renamed: persistence
  - id: 3606
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 6
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.Column;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10
      \ public class CustomerSession implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3607
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
    line: 7
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.util.Date;\n 5  import javax.persistence.Column;\n 6  import
      javax.persistence.Entity;\n 7  import javax.persistence.Id;\n 8  \n 9  @Entity\n10
      \ public class CustomerSession implements Serializable {\n11     private static
      final long serialVersionUID = 1L;\n12     @Id\n13     @Column(\n14        columnDefinition
      = \"VARCHAR\"\n15     )\n16     private String id;\n17     private String customerid;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/CustomerSession.java
      kind: Module
      name: javax.persistence.Id
      package: com.acmeair.entities
      renamed: persistence
  - id: 3608
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 6
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.math.BigDecimal;\n 5  import java.util.Date;\n 6  import javax.persistence.EmbeddedId;\n
      7  import javax.persistence.Entity;\n 8  \n 9  @Entity\n10  public class Flight
      implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @EmbeddedId\n13     private FlightPK pkey;\n14     private Date
      scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16     private
      BigDecimal firstClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Module
      name: javax.persistence.EmbeddedId
      package: com.acmeair.entities
      renamed: persistence
  - id: 3609
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
    line: 7
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import java.math.BigDecimal;\n 5  import java.util.Date;\n 6  import javax.persistence.EmbeddedId;\n
      7  import javax.persistence.Entity;\n 8  \n 9  @Entity\n10  public class Flight
      implements Serializable {\n11     private static final long serialVersionUID
      = 1L;\n12     @EmbeddedId\n13     private FlightPK pkey;\n14     private Date
      scheduledDepartureTime;\n15     private Date scheduledArrivalTime;\n16     private
      BigDecimal firstClassBaseCost;\n17     private BigDecimal economyClassBaseCost;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/Flight.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3610
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Module
      name: javax.persistence.Column
      package: com.acmeair.entities
      renamed: persistence
  - id: 3611
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Column;\n 5  import javax.persistence.Embeddable;\n
      6  \n 7  @Embeddable\n 8  public class FlightPK implements Serializable {\n
      9     private static final long serialVersionUID = 1L;\n10     @Column(\n11
      \       name = \"flightId\"\n12     )\n13     private String id;\n14     private
      String flightSegmentId;\n15  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightPK.java
      kind: Module
      name: javax.persistence.Embeddable
      package: com.acmeair.entities
      renamed: persistence
  - id: 3612
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 4
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Module
      name: javax.persistence.Entity
      package: com.acmeair.entities
      renamed: persistence
  - id: 3613
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
    line: 5
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.entities;\n 2  \n 3  import java.io.Serializable;\n
      4  import javax.persistence.Entity;\n 5  import javax.persistence.Id;\n 6  \n
      7  @Entity\n 8  public class FlightSegment implements Serializable {\n 9     private
      static final long serialVersionUID = 1L;\n10     @Id\n11     private String
      id;\n12     private String originPort;\n13     private String destPort;\n14
      \    private int miles;\n15  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/entities/FlightSegment.java
      kind: Module
      name: javax.persistence.Id
      package: com.acmeair.entities
      renamed: persistence
  - id: 3614
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 14
    message: Replace the `javax.annotation` import statement with `jakarta.annotation`
    codeSnip: " 4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.Customer;\n
      6  import com.acmeair.entities.Flight;\n 7  import com.acmeair.entities.FlightPK;\n
      8  import com.acmeair.service.BookingService;\n 9  import com.acmeair.service.CustomerService;\n10
      \ import com.acmeair.service.FlightService;\n11  import com.acmeair.service.KeyGenerator;\n12
      \ import java.util.Date;\n13  import java.util.List;\n14  import javax.annotation.Resource;\n15
      \ import javax.persistence.EntityManager;\n16  import javax.persistence.Query;\n17
      \ import org.springframework.beans.factory.annotation.Autowired;\n18  import
      org.springframework.stereotype.Service;\n19  import org.springframework.transaction.annotation.Propagation;\n20
      \ import org.springframework.transaction.annotation.Transactional;\n21  \n22
      \ @Service(\"bookingService\")\n23  public class BookingServiceImpl implements
      BookingService {\n24     @Autowired"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Module
      name: javax.annotation.Resource
      package: com.acmeair.jpa.service
      renamed: annotation
  - id: 3615
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 15
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 5  import com.acmeair.entities.Customer;\n 6  import com.acmeair.entities.Flight;\n
      7  import com.acmeair.entities.FlightPK;\n 8  import com.acmeair.service.BookingService;\n
      9  import com.acmeair.service.CustomerService;\n10  import com.acmeair.service.FlightService;\n11
      \ import com.acmeair.service.KeyGenerator;\n12  import java.util.Date;\n13  import
      java.util.List;\n14  import javax.annotation.Resource;\n15  import javax.persistence.EntityManager;\n16
      \ import javax.persistence.Query;\n17  import org.springframework.beans.factory.annotation.Autowired;\n18
      \ import org.springframework.stereotype.Service;\n19  import org.springframework.transaction.annotation.Propagation;\n20
      \ import org.springframework.transaction.annotation.Transactional;\n21  \n22
      \ @Service(\"bookingService\")\n23  public class BookingServiceImpl implements
      BookingService {\n24     @Autowired\n25     EntityManager em;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Module
      name: javax.persistence.EntityManager
      package: com.acmeair.jpa.service
      renamed: persistence
  - id: 3616
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
    line: 16
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 6  import com.acmeair.entities.Flight;\n 7  import com.acmeair.entities.FlightPK;\n
      8  import com.acmeair.service.BookingService;\n 9  import com.acmeair.service.CustomerService;\n10
      \ import com.acmeair.service.FlightService;\n11  import com.acmeair.service.KeyGenerator;\n12
      \ import java.util.Date;\n13  import java.util.List;\n14  import javax.annotation.Resource;\n15
      \ import javax.persistence.EntityManager;\n16  import javax.persistence.Query;\n17
      \ import org.springframework.beans.factory.annotation.Autowired;\n18  import
      org.springframework.stereotype.Service;\n19  import org.springframework.transaction.annotation.Propagation;\n20
      \ import org.springframework.transaction.annotation.Transactional;\n21  \n22
      \ @Service(\"bookingService\")\n23  public class BookingServiceImpl implements
      BookingService {\n24     @Autowired\n25     EntityManager em;\n26     @Resource"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/BookingServiceImpl.java
      kind: Module
      name: javax.persistence.Query
      package: com.acmeair.jpa.service
      renamed: persistence
  - id: 3617
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 10
    message: Replace the `javax.annotation` import statement with `jakarta.annotation`
    codeSnip: " 1  package com.acmeair.jpa.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  import com.acmeair.service.CustomerService;\n 7  import com.acmeair.service.KeyGenerator;\n
      8  import java.util.Calendar;\n 9  import java.util.Date;\n10  import javax.annotation.Resource;\n11
      \ import javax.persistence.EntityManager;\n12  import org.springframework.beans.factory.annotation.Autowired;\n13
      \ import org.springframework.stereotype.Service;\n14  import org.springframework.transaction.annotation.Propagation;\n15
      \ import org.springframework.transaction.annotation.Transactional;\n16  \n17
      \ @Service(\"customerService\")\n18  public class CustomerServiceImpl implements
      CustomerService {\n19     private static final int DAYS_TO_ALLOW_SESSION = 1;\n20
      \    @Autowired"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Module
      name: javax.annotation.Resource
      package: com.acmeair.jpa.service
      renamed: annotation
  - id: 3618
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
    line: 11
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 1  package com.acmeair.jpa.service;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.entities.CustomerSession;\n
      6  import com.acmeair.service.CustomerService;\n 7  import com.acmeair.service.KeyGenerator;\n
      8  import java.util.Calendar;\n 9  import java.util.Date;\n10  import javax.annotation.Resource;\n11
      \ import javax.persistence.EntityManager;\n12  import org.springframework.beans.factory.annotation.Autowired;\n13
      \ import org.springframework.stereotype.Service;\n14  import org.springframework.transaction.annotation.Propagation;\n15
      \ import org.springframework.transaction.annotation.Transactional;\n16  \n17
      \ @Service(\"customerService\")\n18  public class CustomerServiceImpl implements
      CustomerService {\n19     private static final int DAYS_TO_ALLOW_SESSION = 1;\n20
      \    @Autowired\n21     EntityManager em;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/CustomerServiceImpl.java
      kind: Module
      name: javax.persistence.EntityManager
      package: com.acmeair.jpa.service
      renamed: persistence
  - id: 3619
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 14
    message: Replace the `javax.annotation` import statement with `jakarta.annotation`
    codeSnip: " 4  import com.acmeair.entities.Flight;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.entities.FlightSegment;\n 7  import com.acmeair.service.FlightService;\n
      8  import com.acmeair.service.KeyGenerator;\n 9  import java.math.BigDecimal;\n10
      \ import java.util.ArrayList;\n11  import java.util.Date;\n12  import java.util.Iterator;\n13
      \ import java.util.List;\n14  import javax.annotation.Resource;\n15  import
      javax.persistence.EntityManager;\n16  import javax.persistence.Query;\n17  import
      org.springframework.beans.factory.annotation.Autowired;\n18  import org.springframework.stereotype.Service;\n19
      \ import org.springframework.transaction.annotation.Propagation;\n20  import
      org.springframework.transaction.annotation.Transactional;\n21  \n22  @Service(\"flightService\")\n23
      \ public class FlightServiceImpl implements FlightService {\n24     @Autowired"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Module
      name: javax.annotation.Resource
      package: com.acmeair.jpa.service
      renamed: annotation
  - id: 3620
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 15
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import com.acmeair.entities.FlightSegment;\n
      7  import com.acmeair.service.FlightService;\n 8  import com.acmeair.service.KeyGenerator;\n
      9  import java.math.BigDecimal;\n10  import java.util.ArrayList;\n11  import
      java.util.Date;\n12  import java.util.Iterator;\n13  import java.util.List;\n14
      \ import javax.annotation.Resource;\n15  import javax.persistence.EntityManager;\n16
      \ import javax.persistence.Query;\n17  import org.springframework.beans.factory.annotation.Autowired;\n18
      \ import org.springframework.stereotype.Service;\n19  import org.springframework.transaction.annotation.Propagation;\n20
      \ import org.springframework.transaction.annotation.Transactional;\n21  \n22
      \ @Service(\"flightService\")\n23  public class FlightServiceImpl implements
      FlightService {\n24     @Autowired\n25     EntityManager em;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Module
      name: javax.persistence.EntityManager
      package: com.acmeair.jpa.service
      renamed: persistence
  - id: 3621
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
    line: 16
    message: Replace the `javax.persistence` import statement with `jakarta.persistence`
    codeSnip: " 6  import com.acmeair.entities.FlightSegment;\n 7  import com.acmeair.service.FlightService;\n
      8  import com.acmeair.service.KeyGenerator;\n 9  import java.math.BigDecimal;\n10
      \ import java.util.ArrayList;\n11  import java.util.Date;\n12  import java.util.Iterator;\n13
      \ import java.util.List;\n14  import javax.annotation.Resource;\n15  import
      javax.persistence.EntityManager;\n16  import javax.persistence.Query;\n17  import
      org.springframework.beans.factory.annotation.Autowired;\n18  import org.springframework.stereotype.Service;\n19
      \ import org.springframework.transaction.annotation.Propagation;\n20  import
      org.springframework.transaction.annotation.Transactional;\n21  \n22  @Service(\"flightService\")\n23
      \ public class FlightServiceImpl implements FlightService {\n24     @Autowired\n25
      \    EntityManager em;\n26     @Resource"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/jpa/service/FlightServiceImpl.java
      kind: Module
      name: javax.persistence.Query
      package: com.acmeair.jpa.service
      renamed: persistence
  - id: 3622
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 8
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.Consumes
      package: com.acmeair.web
      renamed: ws
  - id: 3623
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 9
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.FormParam
      package: com.acmeair.web
      renamed: ws
  - id: 3624
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 10
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.GET
      package: com.acmeair.web
      renamed: ws
  - id: 3625
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 11
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Booking;\n
      4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.POST
      package: com.acmeair.web
      renamed: ws
  - id: 3626
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 12
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 2  \n 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import com.acmeair.service.BookingService;\n
      7  import java.util.List;\n 8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10
      \ import javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.Path
      package: com.acmeair.web
      renamed: ws
  - id: 3627
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 13
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 3  import com.acmeair.entities.Booking;\n 4  import com.acmeair.entities.BookingPK;\n
      5  import com.acmeair.entities.FlightPK;\n 6  import com.acmeair.service.BookingService;\n
      7  import java.util.List;\n 8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10
      \ import javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.PathParam
      package: com.acmeair.web
      renamed: ws
  - id: 3628
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 14
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 4  import com.acmeair.entities.BookingPK;\n 5  import com.acmeair.entities.FlightPK;\n
      6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.Produces
      package: com.acmeair.web
      renamed: ws
  - id: 3629
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 15
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 5  import com.acmeair.entities.FlightPK;\n 6  import com.acmeair.service.BookingService;\n
      7  import java.util.List;\n 8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10
      \ import javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.core.Response
      package: com.acmeair.web
      renamed: ws
  - id: 3630
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
    line: 16
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 6  import com.acmeair.service.BookingService;\n 7  import java.util.List;\n
      8  import javax.ws.rs.Consumes;\n 9  import javax.ws.rs.FormParam;\n10  import
      javax.ws.rs.GET;\n11  import javax.ws.rs.POST;\n12  import javax.ws.rs.Path;\n13
      \ import javax.ws.rs.PathParam;\n14  import javax.ws.rs.Produces;\n15  import
      javax.ws.rs.core.Response;\n16  import javax.ws.rs.core.Response.Status;\n17
      \ \n18  @Path(\"/bookings\")\n19  public class BookingsREST {\n20     private
      BookingService bs = (BookingService)ServiceLocator.getService(BookingService.class);\n21
      \ \n22     @POST\n23     @Consumes({\"application/x-www-form-urlencoded\"})\n24
      \    @Path(\"/bookflights\")\n25     @Produces({\"application/json\"})\n26     public
      Response bookFlights(@FormParam(\"userid\") String userid, @FormParam(\"toFlightId\")
      String toFlightId, @FormParam(\"toFlightSegId\") String toFlightSegId, @FormParam(\"retFlightId\")
      String retFlightId, @FormParam(\"retFlightSegId\") String retFlightSegId, @FormParam(\"oneWayFlight\")
      boolean oneWay) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/BookingsREST.java
      kind: Module
      name: javax.ws.rs.core.Response.Status
      package: com.acmeair.web
      renamed: ws
  - id: 3631
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 6
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.servlet.http.HttpServletRequest
      package: com.acmeair.web
      renamed: servlet
  - id: 3632
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 7
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.CookieParam
      package: com.acmeair.web
      renamed: ws
  - id: 3633
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 8
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.GET
      package: com.acmeair.web
      renamed: ws
  - id: 3634
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 9
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.POST
      package: com.acmeair.web
      renamed: ws
  - id: 3635
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 10
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.Path
      package: com.acmeair.web
      renamed: ws
  - id: 3636
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 11
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.Customer;\n
      4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.PathParam
      package: com.acmeair.web
      renamed: ws
  - id: 3637
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 12
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 2  \n 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.service.CustomerService;\n 6  import javax.servlet.http.HttpServletRequest;\n
      7  import javax.ws.rs.CookieParam;\n 8  import javax.ws.rs.GET;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.PathParam;\n12
      \ import javax.ws.rs.Produces;\n13  import javax.ws.rs.core.Context;\n14  import
      javax.ws.rs.core.Response;\n15  import javax.ws.rs.core.Response.Status;\n16
      \ import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.Produces
      package: com.acmeair.web
      renamed: ws
  - id: 3638
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 13
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 3  import com.acmeair.entities.Customer;\n 4  import com.acmeair.entities.CustomerAddress;\n
      5  import com.acmeair.service.CustomerService;\n 6  import javax.servlet.http.HttpServletRequest;\n
      7  import javax.ws.rs.CookieParam;\n 8  import javax.ws.rs.GET;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.PathParam;\n12
      \ import javax.ws.rs.Produces;\n13  import javax.ws.rs.core.Context;\n14  import
      javax.ws.rs.core.Response;\n15  import javax.ws.rs.core.Response.Status;\n16
      \ import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.core.Context
      package: com.acmeair.web
      renamed: ws
  - id: 3639
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 14
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 4  import com.acmeair.entities.CustomerAddress;\n 5  import com.acmeair.service.CustomerService;\n
      6  import javax.servlet.http.HttpServletRequest;\n 7  import javax.ws.rs.CookieParam;\n
      8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.PathParam;\n12  import javax.ws.rs.Produces;\n13  import
      javax.ws.rs.core.Context;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/customer\")\n19  @Component\n20  public class CustomerREST
      {\n21     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.core.Response
      package: com.acmeair.web
      renamed: ws
  - id: 3640
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
    line: 15
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 5  import com.acmeair.service.CustomerService;\n 6  import javax.servlet.http.HttpServletRequest;\n
      7  import javax.ws.rs.CookieParam;\n 8  import javax.ws.rs.GET;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.PathParam;\n12
      \ import javax.ws.rs.Produces;\n13  import javax.ws.rs.core.Context;\n14  import
      javax.ws.rs.core.Response;\n15  import javax.ws.rs.core.Response.Status;\n16
      \ import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/customer\")\n19
      \ @Component\n20  public class CustomerREST {\n21     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n22
      \    @Context\n23     private HttpServletRequest request;\n24  \n25     private
      boolean validate(String customerid) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/CustomerREST.java
      kind: Module
      name: javax.ws.rs.core.Response.Status
      package: com.acmeair.web
      renamed: ws
  - id: 3641
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 7
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.service.FlightService;\n
      4  import java.util.ArrayList;\n 5  import java.util.Date;\n 6  import java.util.List;\n
      7  import javax.ws.rs.Consumes;\n 8  import javax.ws.rs.FormParam;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ \n13  @Path(\"/flights\")\n14  public class FlightsREST {\n15     private
      FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Module
      name: javax.ws.rs.Consumes
      package: com.acmeair.web
      renamed: ws
  - id: 3642
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 8
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.service.FlightService;\n
      4  import java.util.ArrayList;\n 5  import java.util.Date;\n 6  import java.util.List;\n
      7  import javax.ws.rs.Consumes;\n 8  import javax.ws.rs.FormParam;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ \n13  @Path(\"/flights\")\n14  public class FlightsREST {\n15     private
      FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Module
      name: javax.ws.rs.FormParam
      package: com.acmeair.web
      renamed: ws
  - id: 3643
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 9
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.service.FlightService;\n
      4  import java.util.ArrayList;\n 5  import java.util.Date;\n 6  import java.util.List;\n
      7  import javax.ws.rs.Consumes;\n 8  import javax.ws.rs.FormParam;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ \n13  @Path(\"/flights\")\n14  public class FlightsREST {\n15     private
      FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Module
      name: javax.ws.rs.POST
      package: com.acmeair.web
      renamed: ws
  - id: 3644
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 10
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.service.FlightService;\n
      4  import java.util.ArrayList;\n 5  import java.util.Date;\n 6  import java.util.List;\n
      7  import javax.ws.rs.Consumes;\n 8  import javax.ws.rs.FormParam;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ \n13  @Path(\"/flights\")\n14  public class FlightsREST {\n15     private
      FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Module
      name: javax.ws.rs.Path
      package: com.acmeair.web
      renamed: ws
  - id: 3645
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
    line: 11
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.service.FlightService;\n
      4  import java.util.ArrayList;\n 5  import java.util.Date;\n 6  import java.util.List;\n
      7  import javax.ws.rs.Consumes;\n 8  import javax.ws.rs.FormParam;\n 9  import
      javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ \n13  @Path(\"/flights\")\n14  public class FlightsREST {\n15     private
      FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n16
      \ \n17     @POST\n18     @Path(\"/queryflights\")\n19     @Consumes({\"application/x-www-form-urlencoded\"})\n20
      \    @Produces({\"application/json\"})\n21     public TripFlightOptions getTripFlights(@FormParam(\"fromAirport\")
      String fromAirport, @FormParam(\"toAirport\") String toAirport, @FormParam(\"fromDate\")
      Date fromDate, @FormParam(\"returnDate\") Date returnDate, @FormParam(\"oneWay\")
      boolean oneWay) {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/FlightsREST.java
      kind: Module
      name: javax.ws.rs.Produces
      package: com.acmeair.web
      renamed: ws
  - id: 3646
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 19
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 9  import com.acmeair.service.CustomerService;\n10  import com.acmeair.service.FlightService;\n11
      \ import java.io.InputStream;\n12  import java.io.InputStreamReader;\n13  import
      java.io.LineNumberReader;\n14  import java.math.BigDecimal;\n15  import java.util.ArrayList;\n16
      \ import java.util.Calendar;\n17  import java.util.Date;\n18  import java.util.StringTokenizer;\n19
      \ import javax.ws.rs.GET;\n20  import javax.ws.rs.Path;\n21  import javax.ws.rs.Produces;\n22
      \ import org.springframework.stereotype.Component;\n23  \n24  @Path(\"/loader\")\n25
      \ @Component\n26  public class LoaderREST {\n27     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Module
      name: javax.ws.rs.GET
      package: com.acmeair.web
      renamed: ws
  - id: 3647
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 20
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: "10  import com.acmeair.service.FlightService;\n11  import java.io.InputStream;\n12
      \ import java.io.InputStreamReader;\n13  import java.io.LineNumberReader;\n14
      \ import java.math.BigDecimal;\n15  import java.util.ArrayList;\n16  import
      java.util.Calendar;\n17  import java.util.Date;\n18  import java.util.StringTokenizer;\n19
      \ import javax.ws.rs.GET;\n20  import javax.ws.rs.Path;\n21  import javax.ws.rs.Produces;\n22
      \ import org.springframework.stereotype.Component;\n23  \n24  @Path(\"/loader\")\n25
      \ @Component\n26  public class LoaderREST {\n27     private CustomerService
      customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Module
      name: javax.ws.rs.Path
      package: com.acmeair.web
      renamed: ws
  - id: 3648
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
    line: 21
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: "11  import java.io.InputStream;\n12  import java.io.InputStreamReader;\n13
      \ import java.io.LineNumberReader;\n14  import java.math.BigDecimal;\n15  import
      java.util.ArrayList;\n16  import java.util.Calendar;\n17  import java.util.Date;\n18
      \ import java.util.StringTokenizer;\n19  import javax.ws.rs.GET;\n20  import
      javax.ws.rs.Path;\n21  import javax.ws.rs.Produces;\n22  import org.springframework.stereotype.Component;\n23
      \ \n24  @Path(\"/loader\")\n25  @Component\n26  public class LoaderREST {\n27
      \    private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n28
      \    private FlightService flightService = (FlightService)ServiceLocator.getService(FlightService.class);\n29
      \    private static Object lock = new Object();\n30  \n31     @GET"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoaderREST.java
      kind: Module
      name: javax.ws.rs.Produces
      package: com.acmeair.web
      renamed: ws
  - id: 3649
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 5
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.Consumes
      package: com.acmeair.web
      renamed: ws
  - id: 3650
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 6
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.CookieParam
      package: com.acmeair.web
      renamed: ws
  - id: 3651
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 7
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.FormParam
      package: com.acmeair.web
      renamed: ws
  - id: 3652
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 8
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.GET
      package: com.acmeair.web
      renamed: ws
  - id: 3653
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 9
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.POST
      package: com.acmeair.web
      renamed: ws
  - id: 3654
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 10
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.Path
      package: com.acmeair.web
      renamed: ws
  - id: 3655
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 11
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.Produces
      package: com.acmeair.web
      renamed: ws
  - id: 3656
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 12
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 2  \n 3  import com.acmeair.entities.CustomerSession;\n 4  import
      com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n 6  import
      javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import javax.ws.rs.GET;\n
      9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12
      \ import javax.ws.rs.QueryParam;\n13  import javax.ws.rs.core.NewCookie;\n14
      \ import javax.ws.rs.core.Response;\n15  import javax.ws.rs.core.Response.Status;\n16
      \ import org.springframework.stereotype.Component;\n17  \n18  @Path(\"/login\")\n19
      \ @Component\n20  public class LoginREST {\n21     public static String SESSIONID_COOKIE_NAME
      = \"sessionid\";\n22     private CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.QueryParam
      package: com.acmeair.web
      renamed: ws
  - id: 3657
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 13
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 3  import com.acmeair.entities.CustomerSession;\n 4  import com.acmeair.service.CustomerService;\n
      5  import javax.ws.rs.Consumes;\n 6  import javax.ws.rs.CookieParam;\n 7  import
      javax.ws.rs.FormParam;\n 8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10
      \ import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.core.NewCookie
      package: com.acmeair.web
      renamed: ws
  - id: 3658
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 14
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 4  import com.acmeair.service.CustomerService;\n 5  import javax.ws.rs.Consumes;\n
      6  import javax.ws.rs.CookieParam;\n 7  import javax.ws.rs.FormParam;\n 8  import
      javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10  import javax.ws.rs.Path;\n11
      \ import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13  import
      javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15  import
      javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.core.Response
      package: com.acmeair.web
      renamed: ws
  - id: 3659
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
    line: 15
    message: Replace the `javax.ws` import statement with `jakarta.ws`
    codeSnip: " 5  import javax.ws.rs.Consumes;\n 6  import javax.ws.rs.CookieParam;\n
      7  import javax.ws.rs.FormParam;\n 8  import javax.ws.rs.GET;\n 9  import javax.ws.rs.POST;\n10
      \ import javax.ws.rs.Path;\n11  import javax.ws.rs.Produces;\n12  import javax.ws.rs.QueryParam;\n13
      \ import javax.ws.rs.core.NewCookie;\n14  import javax.ws.rs.core.Response;\n15
      \ import javax.ws.rs.core.Response.Status;\n16  import org.springframework.stereotype.Component;\n17
      \ \n18  @Path(\"/login\")\n19  @Component\n20  public class LoginREST {\n21
      \    public static String SESSIONID_COOKIE_NAME = \"sessionid\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \ \n24     @POST\n25     @Consumes({\"application/x-www-form-urlencoded\"})"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/LoginREST.java
      kind: Module
      name: javax.ws.rs.core.Response.Status
      package: com.acmeair.web
      renamed: ws
  - id: 3660
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 6
    message: Replace the `javax.annotation` import statement with `jakarta.annotation`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.annotation.Resource
      package: com.acmeair.web
      renamed: annotation
  - id: 3661
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 7
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  "
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.Filter
      package: com.acmeair.web
      renamed: servlet
  - id: 3662
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 8
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.FilterChain
      package: com.acmeair.web
      renamed: servlet
  - id: 3663
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 9
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.FilterConfig
      package: com.acmeair.web
      renamed: servlet
  - id: 3664
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 10
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.ServletException
      package: com.acmeair.web
      renamed: servlet
  - id: 3665
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 11
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 1  package com.acmeair.web;\n 2  \n 3  import com.acmeair.entities.CustomerSession;\n
      4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.ServletRequest
      package: com.acmeair.web
      renamed: servlet
  - id: 3666
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 12
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 2  \n 3  import com.acmeair.entities.CustomerSession;\n 4  import
      com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n 6  import
      javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import javax.servlet.FilterChain;\n
      9  import javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.ServletResponse
      package: com.acmeair.web
      renamed: servlet
  - id: 3667
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 13
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 3  import com.acmeair.entities.CustomerSession;\n 4  import com.acmeair.service.CustomerService;\n
      5  import java.io.IOException;\n 6  import javax.annotation.Resource;\n 7  import
      javax.servlet.Filter;\n 8  import javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10
      \ import javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource("
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.http.Cookie
      package: com.acmeair.web
      renamed: servlet
  - id: 3668
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 14
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 4  import com.acmeair.service.CustomerService;\n 5  import java.io.IOException;\n
      6  import javax.annotation.Resource;\n 7  import javax.servlet.Filter;\n 8  import
      javax.servlet.FilterChain;\n 9  import javax.servlet.FilterConfig;\n10  import
      javax.servlet.ServletException;\n11  import javax.servlet.ServletRequest;\n12
      \ import javax.servlet.ServletResponse;\n13  import javax.servlet.http.Cookie;\n14
      \ import javax.servlet.http.HttpServletRequest;\n15  import javax.servlet.http.HttpServletResponse;\n16
      \ import javax.sql.DataSource;\n17  \n18  public class RESTCookieSessionFilter
      implements Filter {\n19     static final String LOGIN_USER = \"acmeair.login_user\";\n20
      \    private static final String LOGIN_PATH = \"/rest/api/login\";\n21     private
      static final String LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private
      CustomerService customerService = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23
      \    @Resource(\n24        name = \"jdbc/acmeairdatasource\""
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.http.HttpServletRequest
      package: com.acmeair.web
      renamed: servlet
  - id: 3669
    createTime: 2024-07-22T06:22:27.279758569Z
    issue: 43
    file: /shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
    line: 15
    message: Replace the `javax.servlet` import statement with `jakarta.servlet`
    codeSnip: " 5  import java.io.IOException;\n 6  import javax.annotation.Resource;\n
      7  import javax.servlet.Filter;\n 8  import javax.servlet.FilterChain;\n 9  import
      javax.servlet.FilterConfig;\n10  import javax.servlet.ServletException;\n11
      \ import javax.servlet.ServletRequest;\n12  import javax.servlet.ServletResponse;\n13
      \ import javax.servlet.http.Cookie;\n14  import javax.servlet.http.HttpServletRequest;\n15
      \ import javax.servlet.http.HttpServletResponse;\n16  import javax.sql.DataSource;\n17
      \ \n18  public class RESTCookieSessionFilter implements Filter {\n19     static
      final String LOGIN_USER = \"acmeair.login_user\";\n20     private static final
      String LOGIN_PATH = \"/rest/api/login\";\n21     private static final String
      LOGOUT_PATH = \"/rest/api/login/logout\";\n22     private CustomerService customerService
      = (CustomerService)ServiceLocator.getService(CustomerService.class);\n23     @Resource(\n24
      \       name = \"jdbc/acmeairdatasource\"\n25     )"
    facts:
      file: file:///shared/bin/java-project/src/main/java/com/acmeair/web/RESTCookieSessionFilter.java
      kind: Module
      name: javax.servlet.http.HttpServletResponse
      package: com.acmeair.web
      renamed: servlet
  labels:
  - konveyor.io/source
  - konveyor.io/target=eap
  - konveyor.io/target=eap8
  - konveyor.io/target=jakarta-ee
  - konveyor.io/target=jakarta-ee9+
  - konveyor.io/target=jws
  - konveyor.io/target=jws6+

dependencies: 
- id: 282
  createTime: 2024-07-22T06:22:27.28446415Z
  analysis: 9
  provider: java
  name: org.springframework.spring-beans
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 38ff7985f572a87d72023eedce3d720ce1ba4083
- id: 283
  createTime: 2024-07-22T06:22:27.293148185Z
  analysis: 9
  provider: java
  name: org.springframework.spring-asm
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: d45753d8048317099395ce7f2bbcdb1776a2e26c
- id: 284
  createTime: 2024-07-22T06:22:27.302592998Z
  analysis: 9
  provider: java
  name: org.aspectj.aspectjweaver
  version: 1.6.8
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: d3fdabe0a1f7f395d64bf9d0c1a3e0f1b98430df
- id: 285
  createTime: 2024-07-22T06:22:27.312236887Z
  analysis: 9
  provider: java
  name: org.springframework.spring-web
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 34a73557b66ea3c68892c042f2c9ba7e8bff8eac
- id: 286
  createTime: 2024-07-22T06:22:27.320842584Z
  analysis: 9
  provider: java
  name: net.wasdev.wlp.sample.acmeair-common
  version: 1.0-SNAPSHOT
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
- id: 287
  createTime: 2024-07-22T06:22:27.329012884Z
  analysis: 9
  provider: java
  name: org.springframework.spring-core
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: dd4295f0567deb2cc629dd647d2f055268c2fd3e
- id: 288
  createTime: 2024-07-22T06:22:27.336548291Z
  analysis: 9
  provider: java
  name: org.springframework.spring-tx
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: f9efe9e07e73ab593de0353e01b8bcbaafbfd3c1
- id: 289
  createTime: 2024-07-22T06:22:27.344539894Z
  analysis: 9
  provider: java
  name: asm.asm
  version: 3.3.1
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 1d5f20b4ea675e6fab6ab79f1cd60ec268ddc015
- id: 290
  createTime: 2024-07-22T06:22:27.352816274Z
  analysis: 9
  provider: java
  name: net.wasdev.wlp.sample.acmeair-services
  version: 1.0-SNAPSHOT
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
- id: 291
  createTime: 2024-07-22T06:22:27.361833364Z
  analysis: 9
  provider: java
  name: net.wasdev.wlp.sample.acmeair-services-jpa
  version: 1.0-SNAPSHOT
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
- id: 292
  createTime: 2024-07-22T06:22:27.370410638Z
  analysis: 9
  provider: java
  name: cglib.cglib
  version: 2.2.2
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: a47a971686474124562bdd4a7ccbd8ac8c3e8b11
- id: 293
  createTime: 2024-07-22T06:22:27.378392944Z
  analysis: 9
  provider: java
  name: org.springframework.spring-context
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 06787712741427c1014aaca503d24e3b3f05f396
- id: 294
  createTime: 2024-07-22T06:22:27.38723704Z
  analysis: 9
  provider: java
  name: org.springframework.spring-expression
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: c6d4aca58f993bda3cce2bc0536bd168cc9d7ed5
- id: 295
  createTime: 2024-07-22T06:22:27.395675072Z
  analysis: 9
  provider: java
  name: org.springframework.spring-aop
  version: 3.1.2.RELEASE
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: a68c5ee96d735ac68c00e226e768ef70ae1d5c57
- id: 296
  createTime: 2024-07-22T06:22:27.404113767Z
  analysis: 9
  provider: java
  name: org.aspectj.aspectjrt
  version: 1.6.8
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 8c234df6a43dd5ba355803122e33caa7ccd11011
- id: 297
  createTime: 2024-07-22T06:22:27.412715176Z
  analysis: 9
  provider: java
  name: aopalliance.aopalliance
  version: "1.0"
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 0235ba8b489512805ac13a8f9ea77a1ca5ebe3e8
- id: 298
  createTime: 2024-07-22T06:22:27.420327708Z
  analysis: 9
  provider: java
  name: commons-logging.commons-logging
  version: 1.1.1
  labels:
  - konveyor.io/dep-source=open-source
  - konveyor.io/language=java
  sha: 5043bfebc3db072ed80fbd362e7caf00e885d8ae
