Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TAM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIP
Labrador
TAM
Merge requests
!138
Fix NullPointerException for students that did not have their studno stored. (
#13
)
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Expand sidebar
Merged
Fix NullPointerException for students that did not have their studno stored. (
#13
)
feature/13_fix_nullpointer_in_export
into
dev
Overview
2
Commits
1
Pipelines
1
Changes
2
Merged
Fix NullPointerException for students that did not have their studno stored. (#13)
Sander van den Oever
requested to merge
feature/13_fix_nullpointer_in_export
into
dev
Aug 23, 2019
Overview
2
Commits
1
Pipelines
1
Changes
2
Also fix a method name typo.
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
fa0f7b3d
1 commit,
Aug 23, 2019
2 files
+
7
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
src/main/java/nl/tudelft/ewi/tam/beans/User.java
+
6
−
0
View file @ fa0f7b3d
Edit in single-file editor
Open in Web IDE
Show full file
@@ -212,6 +212,12 @@ public class User {
* @return value of the {@link Integer} instance representing the student number of the user
*/
public
Integer
getStudentNumber
()
{
if
(
studentNumber
==
null
)
{
// Because some students don't have a student_number in the database.
// Ref: https://gitlab.ewi.tudelft.nl/eip/tam/tam/issues/13.
studentNumber
=
0
;
}
return
studentNumber
;
}
Loading