Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit f01b1260
authored
Dec 16, 2014
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
When unbuying place, clear used time from Slot
1 parent
52bc1070
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/PlaceBean.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/PlaceBean.java
View file @
f01b126
...
@@ -618,6 +618,7 @@ public class PlaceBean implements PlaceBeanLocal {
...
@@ -618,6 +618,7 @@ public class PlaceBean implements PlaceBeanLocal {
// remove also slot from place
// remove also slot from place
if
(
slot
!=
null
)
{
if
(
slot
!=
null
)
{
slot
.
setPlace
(
null
);
slot
.
setPlace
(
null
);
slot
.
setUsed
(
null
);
place
.
setReserverSlot
(
null
);
place
.
setReserverSlot
(
null
);
}
}
return
place
;
return
place
;
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment