From 9a72fe53b07608a3a80157d7134879cb10a0ef6f Mon Sep 17 00:00:00 2001 From: ljacqu Date: Thu, 19 May 2016 21:55:42 +0200 Subject: [PATCH] Minor - code householding - Update inaccurate javadoc - Remove unnecessary require call in PHP integration sample --- samples/website_integration/index.php | 1 - .../authme/datasource/AbstractResourceClosingTest.java | 7 ++++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/website_integration/index.php b/samples/website_integration/index.php index a5509da8b..0c2a1a1cc 100644 --- a/samples/website_integration/index.php +++ b/samples/website_integration/index.php @@ -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') { diff --git a/src/test/java/fr/xephi/authme/datasource/AbstractResourceClosingTest.java b/src/test/java/fr/xephi/authme/datasource/AbstractResourceClosingTest.java index b17f51350..1ecdb6379 100644 --- a/src/test/java/fr/xephi/authme/datasource/AbstractResourceClosingTest.java +++ b/src/test/java/fr/xephi/authme/datasource/AbstractResourceClosingTest.java @@ -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) {