272748: Fix copy/paste of UTF8 (’, “, ”) chars most likely from the specification doc (usually word format) like in "doesn�t exist".
"warning: unmappable character for encoding ASCII" - is causing build warnings
Solution: try pasting to notepad first and then copy/paste that text to Eclipse so that all non-ASCII or DWB chars are converted
diff --git a/src/javax/persistence/EntityManager.java b/src/javax/persistence/EntityManager.java
index fa36559..2a95819 100644
--- a/src/javax/persistence/EntityManager.java
+++ b/src/javax/persistence/EntityManager.java
@@ -92,7 +92,7 @@
* @return the found entity instance or null if the entity does not exist
* @throws IllegalArgumentException
* if the first argument does not denote an entity type or the
- * second argument is is not a valid type for that entitys
+ * second argument is is not a valid type for that entity's
* primary key or is null
*/
public <T> T find(Class<T> entityClass, Object primaryKey);
@@ -111,7 +111,7 @@
* @return the found entity instance or null if the entity does not exist
* @throws IllegalArgumentException
* if the first argument does not denote an entity type or the
- * second argument is is not a valid type for that entitys
+ * second argument is is not a valid type for that entity's
* primary key or is null
*/
public <T> T find(Class<T> entityClass, Object primaryKey, Map<String, Object> properties);
@@ -215,7 +215,7 @@
* @return the found entity instance
* @throws IllegalArgumentException
* if the first argument does not denote an entity type or the
- * second argument is not a valid type for that entitys primary
+ * second argument is not a valid type for that entity's primary
* key or is null
* @throws EntityNotFoundException
* if the entity state cannot be accessed
diff --git a/src/javax/persistence/MappedById.java b/src/javax/persistence/MappedById.java
index 33285be..b99f1e0 100644
--- a/src/javax/persistence/MappedById.java
+++ b/src/javax/persistence/MappedById.java
@@ -29,7 +29,7 @@
* relationship attribute that corresponds to an EmbeddedId primary key, an
* attribute within an EmbeddedId primary key, or a simple primary key of the
* parent entity. The value attribute specifies the attribute within a composite
- * key to which the relationship attribute corresponds. If the entitys primary
+ * key to which the relationship attribute corresponds. If the entity's primary
* key is of the same Java type as the primary key of the entity referenced by
* the relationship, the value attribute is not specified.
*
diff --git a/src/javax/persistence/Query.java b/src/javax/persistence/Query.java
index 75969ee..d1f69ae 100644
--- a/src/javax/persistence/Query.java
+++ b/src/javax/persistence/Query.java
@@ -312,7 +312,7 @@
*
* @return parameter object
* @throws IllegalArgumentException
- * if the parameter of the specified name and type doesnt exist
+ * if the parameter of the specified name and type doesn't exist
*/
<T> Parameter<T> getParameter(String name, Class<T> type);
@@ -321,7 +321,7 @@
*
* @return parameter object
* @throws IllegalArgumentException
- * if the parameter with the specified position and type doesnt
+ * if the parameter with the specified position and type doesn't
* exist
*/
<T> Parameter<T> getParameter(int position, Class<T> type);