Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
9af9591a
There was an error fetching the commit references. Please try again later.
Commit
9af9591a
authored
7 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Patches
Plain Diff
Fix check for shortId availability
parent
f7f62ea9
1 merge request
!89
Foundation for development of version 3.0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/de/thm/arsnova/services/RoomServiceImpl.java
+5
-1
5 additions, 1 deletion
src/main/java/de/thm/arsnova/services/RoomServiceImpl.java
with
5 additions
and
1 deletion
src/main/java/de/thm/arsnova/services/RoomServiceImpl.java
+
5
−
1
View file @
9af9591a
...
@@ -324,7 +324,11 @@ public class RoomServiceImpl extends DefaultEntityServiceImpl<Room> implements R
...
@@ -324,7 +324,11 @@ public class RoomServiceImpl extends DefaultEntityServiceImpl<Room> implements R
@Override
@Override
public
boolean
isShortIdAvailable
(
final
String
shortId
)
{
public
boolean
isShortIdAvailable
(
final
String
shortId
)
{
return
getByShortId
(
shortId
)
==
null
;
try
{
return
getByShortId
(
shortId
)
==
null
;
}
catch
(
final
NotFoundException
e
)
{
return
true
;
}
}
}
@Override
@Override
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment