[java-idp-plugin-totp] branch main updated: Fix warnings.

Scott Cantor cantor.2 at osu.edu
Tue Oct 6 19:16:07 UTC 2020


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-idp-plugin-totp.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-totp.git;a=commit;h=fb7a1a02d0291a439361c74297fec72476c74dfe

The following commit(s) were added to refs/heads/main by this push:
       new  fb7a1a0   Fix warnings.
fb7a1a0 is described below

commit fb7a1a02d0291a439361c74297fec72476c74dfe
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Oct 6 15:16:05 2020 -0400

    Fix warnings.
---
 totp-dist/src/main/assembly/plugin-assembly-tgz.xml              | 2 +-
 totp-dist/src/main/assembly/plugin-assembly-zip.xml              | 2 +-
 .../java/net/shibboleth/idp/plugin/authn/totp/TOTPPlugin.java    | 4 ++--
 .../plugin/authn/totp/impl/AttributeResolverSeedSourceTest.java  | 9 ---------
 4 files changed, 4 insertions(+), 13 deletions(-)

diff --git a/totp-dist/src/main/assembly/plugin-assembly-tgz.xml b/totp-dist/src/main/assembly/plugin-assembly-tgz.xml
index 3d9015d..646ed79 100644
--- a/totp-dist/src/main/assembly/plugin-assembly-tgz.xml
+++ b/totp-dist/src/main/assembly/plugin-assembly-tgz.xml
@@ -1,5 +1,5 @@
 <assembly>
-    <id>assembly</id>
+    <id>assembly-targz</id>
     <formats>
         <format>tar.gz</format>
     </formats>
diff --git a/totp-dist/src/main/assembly/plugin-assembly-zip.xml b/totp-dist/src/main/assembly/plugin-assembly-zip.xml
index 1eec9c7..13fd1b7 100644
--- a/totp-dist/src/main/assembly/plugin-assembly-zip.xml
+++ b/totp-dist/src/main/assembly/plugin-assembly-zip.xml
@@ -1,5 +1,5 @@
 <assembly>
-    <id>assembly</id>
+    <id>assembly-zip</id>
     <formats>
         <format>zip</format>
     </formats>
diff --git a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/TOTPPlugin.java b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/TOTPPlugin.java
index aa78699..9a8fd95 100644
--- a/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/TOTPPlugin.java
+++ b/totp-impl/src/main/java/net/shibboleth/idp/plugin/authn/totp/TOTPPlugin.java
@@ -33,8 +33,8 @@ public class TOTPPlugin extends FirstPartyIdPPlugin {
     /**
      * Constructor.
      * 
-     * @throws PluginException 
-     * @throws IOException
+     * @throws IOException if the properties fail to load
+     * @throws PluginException if other errors occur
      */
     public TOTPPlugin() throws IOException, PluginException {
         super(TOTPPlugin.class);
diff --git a/totp-impl/src/test/java/net/shibboleth/idp/plugin/authn/totp/impl/AttributeResolverSeedSourceTest.java b/totp-impl/src/test/java/net/shibboleth/idp/plugin/authn/totp/impl/AttributeResolverSeedSourceTest.java
index 1a5ebec..d01c78a 100644
--- a/totp-impl/src/test/java/net/shibboleth/idp/plugin/authn/totp/impl/AttributeResolverSeedSourceTest.java
+++ b/totp-impl/src/test/java/net/shibboleth/idp/plugin/authn/totp/impl/AttributeResolverSeedSourceTest.java
@@ -139,15 +139,6 @@ public class AttributeResolverSeedSourceTest {
         assertEquals(iter.next(), "two".getBytes());
     }
 
-    /**
-     * Mock a resolver.
-     * 
-     * @param definitions
-     * @param connectors
-     * 
-     * @return resolver
-     * @throws ComponentInitializationException 
-     */
     private static AttributeResolverImpl newAttributeResolverImpl(
             @Nullable final Collection<AttributeDefinition> definitions,
             @Nullable final Collection<DataConnector> connectors) throws ComponentInitializationException {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list