Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jpa/plugins/org.eclipse.jpt.ui/templates')
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/templates/annotated_entity.javajet2
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/templates/entity.javajet2
-rw-r--r--jpa/plugins/org.eclipse.jpt.ui/templates/idClass.javajet2
3 files changed, 3 insertions, 3 deletions
diff --git a/jpa/plugins/org.eclipse.jpt.ui/templates/annotated_entity.javajet b/jpa/plugins/org.eclipse.jpt.ui/templates/annotated_entity.javajet
index 47d8e979ef..c6c61531b6 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/templates/annotated_entity.javajet
+++ b/jpa/plugins/org.eclipse.jpt.ui/templates/annotated_entity.javajet
@@ -23,7 +23,7 @@ if (model.isEntityNameSet()) {%>(name="<%=ENTITY_NAME%>")<%}%>
@IdClass(<%=model.getIdClassName()%>.class)<%}%>
public class <%=model.getClassName()%><%String superClass = model.getSuperclassName();
if (! "".equals(superClass)) {%> extends <%=superClass%><%}%><%
- List interfaces = model.getInterfaces();
+ List<String> interfaces = model.getInterfaces();
if (interfaces.size()>0) {%> implements <% }
for (int i=0; i<interfaces.size(); i++) {
String INTERFACE = (String) interfaces.get(i);
diff --git a/jpa/plugins/org.eclipse.jpt.ui/templates/entity.javajet b/jpa/plugins/org.eclipse.jpt.ui/templates/entity.javajet
index 4e7ad055dd..77cb6ffb13 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/templates/entity.javajet
+++ b/jpa/plugins/org.eclipse.jpt.ui/templates/entity.javajet
@@ -16,7 +16,7 @@ import <%=anImport%>;
*/
public class <%=model.getClassName()%><%String superClass = model.getSuperclassName();
if (! "".equals(superClass)) {%> extends <%=superClass%><%}%><%
- List interfaces = model.getInterfaces();
+ List<String> interfaces = model.getInterfaces();
if (interfaces.size()>0) {%> implements <% }
for (int i=0; i<interfaces.size(); i++) {
String INTERFACE = (String) interfaces.get(i);
diff --git a/jpa/plugins/org.eclipse.jpt.ui/templates/idClass.javajet b/jpa/plugins/org.eclipse.jpt.ui/templates/idClass.javajet
index ece2f965a6..1baadd89ac 100644
--- a/jpa/plugins/org.eclipse.jpt.ui/templates/idClass.javajet
+++ b/jpa/plugins/org.eclipse.jpt.ui/templates/idClass.javajet
@@ -15,7 +15,7 @@ import <%=anImport%>;
*
*/
public class <%=model.getIdClassName()%>
-<% List interfaces = model.getInterfaces();
+<% List<String> interfaces = model.getInterfaces();
if (interfaces.size()>0) {%> implements <% }
for (int i=0; i<interfaces.size(); i++) {
String INTERFACE = (String) interfaces.get(i);

Back to the top