Skip to content

Commit 27f4b57

Browse files
author
Paul Gray
committed
merging
1 parent e280ad5 commit 27f4b57

File tree

5 files changed

+13
-18
lines changed

5 files changed

+13
-18
lines changed

pom.xml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<url>https://github.com/IMSGlobal/basiclti-util-java</url>
1111
<groupId>org.imsglobal</groupId>
1212
<artifactId>basiclti-util</artifactId>
13-
<version>1.2.0-SNAPSHOT</version>
13+
<version>1.1.2</version>
1414
<organization>
1515
<name>IMS Global Learning Consortium</name>
1616
<url>www.imsglobal.org/</url>
@@ -197,9 +197,6 @@
197197
<goals>
198198
<goal>jar</goal>
199199
</goals>
200-
<configuration>
201-
<failOnError>false</failOnError>
202-
</configuration>
203200
</execution>
204201
</executions>
205202
</plugin>

src/main/java/org/imsglobal/lti/BasicLTIUtil.java

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public static Map<String, String> signProperties(
437437
* Check if the properties are properly signed
438438
*
439439
* @deprecated See:
440-
* {@link BasicLTIUtil#checkProperties(Map, String, String, String, String, String, String, String, String, String)}
440+
* {@link BasicLTIUtil#checkProperties(Map, String, String, String, String)}
441441
*
442442
* @param postProp
443443
* @param url
@@ -755,7 +755,7 @@ public static String prepareForExport(String descriptor) {
755755
* neither a number or letter is replaced with an "underscore". So if a
756756
* custom entry was as follows:
757757
*
758-
* <parameter name="Vendor:Chapter">1.2.56</parameter>
758+
* {@code <parameter name="Vendor:Chapter">1.2.56</parameter>}
759759
*
760760
* Would map to: custom_vendor_chapter=1.2.56
761761
*/
@@ -780,7 +780,7 @@ public static String mapKeyName(String keyname) {
780780
}
781781

782782
/**
783-
* Mutates the passed Map<String, String> map variable. Puts the key,value
783+
* Mutates the passed {@code Map<String, String> map} variable. Puts the key,value
784784
* into the Map if the value is not null and is not empty.
785785
*
786786
* @param map Variable is mutated by this method.
@@ -831,7 +831,6 @@ public static String htmlspecialchars(String input) {
831831
* Simple utility method deal with a request that has the wrong URL when
832832
* behind a proxy.
833833
*
834-
* @param request
835834
* @param extUrl The url that the external world sees us as responding to.
836835
* This needs to be up to but not including the last slash like and not
837836
* include any path information http://www.sakaiproject.org - although we do
@@ -858,8 +857,7 @@ static public String getRealPath(HttpServletRequest request, String extUrl) {
858857
}
859858

860859
/**
861-
* Simple utility method to help with the migration from Properties to
862-
* Map<String, String>.
860+
* Simple utility method to help with the migration from {@code Properties} to {@code Map<String, String>}.
863861
*
864862
* @param properties
865863
* @return
@@ -871,10 +869,10 @@ public static Map<String, String> convertToMap(final Properties properties) {
871869
}
872870

873871
/**
874-
* Simple utility method to help with the migration from Map<String, String>
875-
* to Properties.
872+
* Simple utility method to help with the migration from {@code Map<String, String>}
873+
* to {@code Properties}.
876874
*
877-
* @deprecated Should migrate to Map<String, String> signatures.
875+
* @deprecated Should migrate to {@code Map<String, String>} signatures.
878876
* @param map
879877
* @return
880878
*/

src/main/java/org/imsglobal/lti/launch/LtiOauthVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public LtiVerificationResult verify(HttpServletRequest request, String secret) t
5151

5252
/**
5353
* This method will verify a collection of parameters
54-
* @param parameters the parameters that will be verified. mapped by key & value
54+
* @param parameters the parameters that will be verified. mapped by key &amp; value
5555
* @param url the url this request was made at
5656
* @param method the method this url was requested with
5757
* @param secret the secret to verify the propertihes with

src/main/java/org/imsglobal/lti/launch/LtiSigner.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public interface LtiSigner {
3535
* overwrite reserved parameters from the underlying
3636
* specification. For example, if you are using the Oauth
3737
* implementation, <b>oauth_signature</b> will be removed
38-
* & replaced with the generated signature from the properties.
39-
* @param parameters the parameters that will be signed. mapped by key & value
38+
* &amp; replaced with the generated signature from the properties.
39+
* @param parameters the parameters that will be signed. mapped by key &amp; value
4040
* @param key the key that will be added to the request.
4141
* @param secret the secret to be sign the parameters with
4242
* @return a map of signed parameters (including the signature)

src/main/java/org/imsglobal/lti/launch/LtiVerifier.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public interface LtiVerifier {
2828

2929
/**
3030
* This method will verify a list of properties (mapped
31-
* by key & value).
32-
* @param parameters the parameters that will be verified. mapped by key & value
31+
* by key &amp; value).
32+
* @param parameters the parameters that will be verified. mapped by key &amp; value
3333
* @param url the url this request was made at
3434
* @param method the method this url was requested with
3535
* @param secret the secret to verify the propertihes with

0 commit comments

Comments
 (0)