Skip to content

Commit

Permalink
Removed dots in param comment lines. Removed variable used only once.
Browse files Browse the repository at this point in the history
  • Loading branch information
rui-castro committed Jul 17, 2016
1 parent a5a434a commit 5180091
Showing 1 changed file with 19 additions and 20 deletions.
39 changes: 19 additions & 20 deletions src/test/java/org/takes/facets/auth/social/PsLinkedinTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ public final class PsLinkedinTest {
@Test
public void logins() throws IOException {
final String tokenpath = "/uas/oauth2/accessToken";
final String peoplepath = "/v1/people";
final String firstname = "firstName";
final String lastname = "lastName";
final String frodo = "Frodo";
Expand All @@ -77,7 +76,7 @@ public void logins() throws IOException {
new TokenTake(code, lapp, lkey, tokenpath)
),
new FkRegex(
peoplepath,
"/v1/people",
new PeopleTake(identifier, firstname, lastname, frodo, baggins)
)
);
Expand Down Expand Up @@ -120,11 +119,11 @@ private final class TokenTake implements Take {

/**
* Ctor.
* @param code Linkedin authorization code.
* @param lapp Linkedin app.
* @param lkey Linkedin key.
* @param tokenpath Request path for token endpoint.
* @checkstyle ParameterNumberCheck (4 lines)
* @param code Linkedin authorization code
* @param lapp Linkedin app
* @param lkey Linkedin key
* @param tokenpath Request path for token endpoint
* @checkstyle ParameterNumber (4 lines)
*/
TokenTake(final String code, final String lapp, final String lkey,
final String tokenpath) {
Expand Down Expand Up @@ -199,11 +198,11 @@ private final class PeopleTake implements Take {

/**
* Ctor.
* @param identifier Linkedin user identifier.
* @param firstname Field name for "First name".
* @param lastname Field name for "Last name".
* @param frodo Test value for "First name".
* @param baggins Test value for "Last name".
* @param identifier Linkedin user identifier
* @param firstname Field name for "First name"
* @param lastname Field name for "Last name"
* @param frodo Test value for "First name"
* @param baggins Test value for "Last name"
* @checkstyle ParameterNumberCheck (4 lines)
*/
PeopleTake(final String identifier,
Expand Down Expand Up @@ -279,14 +278,14 @@ private final class LinkedinScript implements FtRemote.Script {

/**
* Ctor.
* @param code Linkedin authorization code.
* @param lapp Linkedin app.
* @param lkey Linkedin key.
* @param identifier Linkedin user identifier.
* @param firstname Field name for "First name".
* @param lastname Field name for "Last name".
* @param frodo Test value for "First name".
* @param baggins Test value for "Last name".
* @param code Linkedin authorization code
* @param lapp Linkedin app
* @param lkey Linkedin key
* @param identifier Linkedin user identifier
* @param firstname Field name for "First name"
* @param lastname Field name for "Last name"
* @param frodo Test value for "First name"
* @param baggins Test value for "Last name"
* @checkstyle ParameterNumberCheck (4 lines)
*/
LinkedinScript(final String code, final String lapp,
Expand Down

0 comments on commit 5180091

Please sign in to comment.