Toggle navigation
Toggle navigation
This project
Loading...
Sign in
grogv3
/
grog-cubi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Jean-Francois Leveque
2017-03-14 12:17:43 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
0c342cc11b9d32e383679b571b93e8898ec07f91
0c342cc1
1 parent
c76aca7f
Refactoring int -> Integer pour les Id : Country
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
src/main/java/org/legrog/entities/Country.java
src/main/java/org/legrog/entities/Country.java
View file @
0c342cc
...
...
@@ -10,14 +10,14 @@ import javax.persistence.*;
public
class
Country
{
@Id
@GeneratedValue
(
strategy
=
GenerationType
.
IDENTITY
)
private
int
countryId
;
private
Integer
countryId
;
private
String
countryName
;
public
int
getCountryId
()
{
public
Integer
getCountryId
()
{
return
countryId
;
}
public
void
setCountryId
(
int
countryId
)
{
public
void
setCountryId
(
Integer
countryId
)
{
this
.
countryId
=
countryId
;
}
...
...
Please
register
or
login
to post a comment