From da0e1f1454064ecbb4e07543ffeb0baca45cc927 Mon Sep 17 00:00:00 2001 From: Stephen Vickers Date: Sun, 27 May 2018 12:47:19 +0100 Subject: [PATCH] Update calls to revised method Remove redundant parameters from calls to updated parseParameter method. --- src/java/org/oscelot/blackboard/lti/ConfigMessage.java | 2 +- src/java/org/oscelot/blackboard/lti/ContentItemMessage.java | 2 +- src/java/org/oscelot/blackboard/lti/LaunchMessage.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/oscelot/blackboard/lti/ConfigMessage.java b/src/java/org/oscelot/blackboard/lti/ConfigMessage.java index 120c83d..2b89d93 100644 --- a/src/java/org/oscelot/blackboard/lti/ConfigMessage.java +++ b/src/java/org/oscelot/blackboard/lti/ConfigMessage.java @@ -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 = ""; } diff --git a/src/java/org/oscelot/blackboard/lti/ContentItemMessage.java b/src/java/org/oscelot/blackboard/lti/ContentItemMessage.java index 9e9f16a..ab86fa9 100644 --- a/src/java/org/oscelot/blackboard/lti/ContentItemMessage.java +++ b/src/java/org/oscelot/blackboard/lti/ContentItemMessage.java @@ -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 = ""; } diff --git a/src/java/org/oscelot/blackboard/lti/LaunchMessage.java b/src/java/org/oscelot/blackboard/lti/LaunchMessage.java index 9ff1fbf..6f1ef73 100644 --- a/src/java/org/oscelot/blackboard/lti/LaunchMessage.java +++ b/src/java/org/oscelot/blackboard/lti/LaunchMessage.java @@ -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 = ""; }