mirror of https://github.com/apache/openjpa.git
Resolve conflicted file
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@946836 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9301f42f4f
commit
e8b0679ed1
|
@ -59,15 +59,11 @@ import javax.persistence.TemporalType;
|
|||
@SuppressWarnings("serial")
|
||||
@Entity
|
||||
public class PurchaseOrder implements Serializable {
|
||||
<<<<<<< .mine
|
||||
/**
|
||||
* Enumerates the status of a Purchase Order.
|
||||
*
|
||||
*/
|
||||
public enum Status {PENDING, DELIVERED};
|
||||
=======
|
||||
public enum Status {PENDING, DELIVERED};
|
||||
>>>>>>> .r946807
|
||||
|
||||
@Id
|
||||
@GeneratedValue
|
||||
|
@ -156,14 +152,9 @@ public class PurchaseOrder implements Serializable {
|
|||
public void setDelivered() {
|
||||
if (this.status == Status.DELIVERED)
|
||||
throw new IllegalStateException(this + " has been delivered");
|
||||
<<<<<<< .mine
|
||||
this.status = Status.DELIVERED;
|
||||
this.deliveredOn = new Timestamp(System.currentTimeMillis());
|
||||
this.items = null;
|
||||
=======
|
||||
this.status = Status.DELIVERED;
|
||||
this.deliveredOn = new Time(System.currentTimeMillis());
|
||||
>>>>>>> .r946807
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue