Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
ARSnova LMS Connector
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
ARSnova LMS Connector
Commits
62fdc1e2
Commit
62fdc1e2
authored
Sep 10, 2014
by
Andreas Gärtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed type of points in IliasQuestion to double.
parent
9a30435d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
connector-model/src/main/java/de/thm/arsnova/connector/model/IliasQuestion.java
...in/java/de/thm/arsnova/connector/model/IliasQuestion.java
+3
-3
connector-service/src/main/java/de/thm/arsnova/connector/dao/IliasConnectorDaoImpl.java
...a/de/thm/arsnova/connector/dao/IliasConnectorDaoImpl.java
+1
-1
No files found.
connector-model/src/main/java/de/thm/arsnova/connector/model/IliasQuestion.java
View file @
62fdc1e2
...
...
@@ -5,7 +5,7 @@ import java.util.List;
public
class
IliasQuestion
{
private
int
id
;
private
int
type
;
private
int
points
;
private
double
points
;
private
String
title
;
private
String
description
;
private
String
text
;
...
...
@@ -27,10 +27,10 @@ public class IliasQuestion {
this
.
type
=
type
;
}
public
int
getPoints
()
{
public
double
getPoints
()
{
return
points
;
}
public
void
setPoints
(
int
points
)
{
public
void
setPoints
(
double
points
)
{
this
.
points
=
points
;
}
...
...
connector-service/src/main/java/de/thm/arsnova/connector/dao/IliasConnectorDaoImpl.java
View file @
62fdc1e2
...
...
@@ -114,7 +114,7 @@ public class IliasConnectorDaoImpl implements UniRepDao {
final
IliasQuestion
q
=
new
IliasQuestion
();
q
.
setDescription
(
resultSet
.
getString
(
"description"
));
q
.
setId
(
resultSet
.
getInt
(
"question_id"
));
q
.
setPoints
(
resultSet
.
get
Int
(
"points"
));
q
.
setPoints
(
resultSet
.
get
Double
(
"points"
));
q
.
setText
(
resultSet
.
getString
(
"question_text"
));
q
.
setTimestamp
(
resultSet
.
getInt
(
"tstamp"
));
q
.
setTitle
(
resultSet
.
getString
(
"title"
));
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment