Author: cschneider
Date: Wed Jul 29 16:22:51 2015
New Revision: 1693308
URL: http://svn.apache.org/r1693308
Log:
Fix typos
Modified:
aries/trunk/jpa/itests/jpa-container-blueprint-testbundle/src/main/java/org/apache/aries/jpa/container/itest/bundle/blueprint/impl/CarLifeCycle.java
Modified:
aries/trunk/jpa/itests/jpa-container-blueprint-testbundle/src/main/java/org/apache/aries/jpa/container/itest/bundle/blueprint/impl/CarLifeCycle.java
URL:
http://svn.apache.org/viewvc/aries/trunk/jpa/itests/jpa-container-blueprint-testbundle/src/main/java/org/apache/aries/jpa/container/itest/bundle/blueprint/impl/CarLifeCycle.java?rev=1693308&r1=1693307&r2=1693308&view=diff
==============================================================================
---
aries/trunk/jpa/itests/jpa-container-blueprint-testbundle/src/main/java/org/apache/aries/jpa/container/itest/bundle/blueprint/impl/CarLifeCycle.java
(original)
+++
aries/trunk/jpa/itests/jpa-container-blueprint-testbundle/src/main/java/org/apache/aries/jpa/container/itest/bundle/blueprint/impl/CarLifeCycle.java
Wed Jul 29 16:22:51 2015
@@ -45,7 +45,7 @@ public class CarLifeCycle implements Run
carService.addCar(car);
EntityManager em = getEmFromCoord();
if (!em.contains(car)) {
- throw new IllegalStateException("Transaction should case
EntityManager to be kept open");
+ throw new IllegalStateException("Transaction should cause
EntityManager to be kept open");
}
readAndUpdate(id);
Car car3 = carService.getCar(id);
@@ -55,7 +55,7 @@ public class CarLifeCycle implements Run
carService.deleteCar(id);
Car car2 = carService.getCar(id);
if (car2 != null) {
- throw new RuntimeException("Car witgh id " + id + " should be
deleted");
+ throw new RuntimeException("Car with id " + id + " should be
deleted");
}
}