Skip to content

Commit

Permalink
Update calls to revised method
Browse files Browse the repository at this point in the history
Remove redundant parameters from calls to updated parseParameter method.
  • Loading branch information
spvickers committed May 27, 2018
1 parent 86ea693 commit da0e1f1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/java/org/oscelot/blackboard/lti/ConfigMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private void addParameters(B2Context b2Context, String[] items, boolean bothCase
paramName = item[0];
if (paramName.length() > 0) {
if (item.length > 1) {
value = Utils.parseParameter(b2Context, this.props, this.user, this.course, this.content, this.tool, item[1]);
value = Utils.parseParameter(b2Context, this.props, this.tool, item[1]);
} else {
value = "";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ private void addParameters(B2Context b2Context, String[] items, boolean bothCase
paramName = item[0];
if (paramName.length() > 0) {
if (item.length > 1) {
value = Utils.parseParameter(b2Context, this.props, this.user, this.course, this.content, this.tool, item[1]);
value = Utils.parseParameter(b2Context, this.props, this.tool, item[1]);
} else {
value = "";
}
Expand Down
2 changes: 1 addition & 1 deletion src/java/org/oscelot/blackboard/lti/LaunchMessage.java
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ private void addParameters(B2Context b2Context, String[] items, boolean bothCase
paramName = item[0];
if (paramName.length() > 0) {
if (item.length > 1) {
value = Utils.parseParameter(b2Context, this.props, this.user, this.course, this.content, this.tool, item[1]);
value = Utils.parseParameter(b2Context, this.props, this.tool, item[1]);
} else {
value = "";
}
Expand Down

0 comments on commit da0e1f1

Please sign in to comment.