Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8bea9b98 authored by Guillaume Thomazon's avatar Guillaume Thomazon
Browse files

Change int by Integer for escape null pointer exception

git-svn-id: https://scm.gforge.inria.fr/authscm/ycadoret/svn/gazelle/Maven/gazelle-proxy/trunk@34311 356b4b1a-1d2b-0410-8bf1-ffa24008f01e
parent 80b91ae5
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ public class Step { ...@@ -31,7 +31,7 @@ public class Step {
private int tmId; private int tmId;
@XmlElement @XmlElement
private int stepIndex; private Integer stepIndex;
@ManyToOne(fetch = FetchType.EAGER) @ManyToOne(fetch = FetchType.EAGER)
private TestInstance testInstance; private TestInstance testInstance;
...@@ -129,11 +129,11 @@ public class Step { ...@@ -129,11 +129,11 @@ public class Step {
this.receiverIds = receiverIds; this.receiverIds = receiverIds;
} }
public int getStepIndex() { public Integer getStepIndex() {
return stepIndex; return stepIndex;
} }
public void setStepIndex(int stepIndex) { public void setStepIndex(Integer stepIndex) {
this.stepIndex = stepIndex; this.stepIndex = stepIndex;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment