nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*: remove newly superfluous static types on attributes
[nit.git]
/
contrib
/
opportunity
/
src
/
opportunity_model.nit
diff --git
a/contrib/opportunity/src/opportunity_model.nit
b/contrib/opportunity/src/opportunity_model.nit
index
b6f8f4b
..
bfd092a
100644
(file)
--- a/
contrib/opportunity/src/opportunity_model.nit
+++ b/
contrib/opportunity/src/opportunity_model.nit
@@
-127,7
+127,7
@@
class People
super DBObject
# ID in the Database, -1 if not set
super DBObject
# ID in the Database, -1 if not set
- var id: Int = -1
+ var id = -1
# Name of the participant
var name: String
# Surname of the participant
# Name of the participant
var name: String
# Surname of the participant
@@
-270,7
+270,7
@@
class Answer
# Name of the answer (title)
var name: String
# Id in the database, -1 if not set
# Name of the answer (title)
var name: String
# Id in the database, -1 if not set
- var id: Int = -1
+ var id = -1
# Meetup the answer is linked to (null while it is not added in the database or set via API)
var meetup: nullable Meetup = null is writable
# Meetup the answer is linked to (null while it is not added in the database or set via API)
var meetup: nullable Meetup = null is writable