Minor - code householding

- Update inaccurate javadoc
- Remove unnecessary require call in PHP integration sample
This commit is contained in:
ljacqu 2016-05-19 21:55:42 +02:00
parent f014485789
commit 9a72fe53b0
2 changed files with 4 additions and 4 deletions

View File

@ -25,7 +25,6 @@ $pass = get_from_post_or_empty('password');
$was_successful = false;
if ($action && $user && $pass) {
require_once('Bcrypt.php');
if ($action === 'Log in') {
$was_successful = process_login($user, $pass, $authme_controller);
} else if ($action === 'Register') {

View File

@ -204,10 +204,11 @@ public abstract class AbstractResourceClosingTest {
}
/**
* Return a list with some test elements that correspond to the given list type's generic type.
* Return a collection of the required type with some test elements that correspond to the
* collection's generic type.
*
* @param type The list type to process and build a test list for
* @return Test list with sample elements of the correct type
* @param type The collection type to process and build a test collection for
* @return Test collection with sample elements of the correct type
*/
private static Collection<?> getTypedCollection(Type type) {
if (type instanceof ParameterizedType) {