[java-support] branch master updated: Use getter, not field.

Rod Widdowson rdw at steadingsoftware.com
Tue May 26 13:54:25 UTC 2020


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

rdw pushed a commit to branch master
in repository java-support.

View the commit online:
http://git.shibboleth.net/view/?p=java-support.git;a=commit;h=1fefa3ea5bdb2d4f7683a59e0a33764b03579892

The following commit(s) were added to refs/heads/master by this push:
       new  1fefa3e   Use getter, not field.
1fefa3e is described below

commit 1fefa3ea5bdb2d4f7683a59e0a33764b03579892
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Tue May 26 14:53:54 2020 +0100

    Use getter, not field.
    
    In this case there are potential syncrhonization issues...
---
 .../java/support/component/AbstractInitializableComponent.java          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/component/AbstractInitializableComponent.java b/src/main/java/net/shibboleth/utilities/java/support/component/AbstractInitializableComponent.java
index 1945a4a..3c59683 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/component/AbstractInitializableComponent.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/component/AbstractInitializableComponent.java
@@ -42,7 +42,7 @@ public abstract class AbstractInitializableComponent implements DestructableComp
     /** {@inheritDoc} */
     @Override
     public final synchronized void destroy() {
-        if (isDestroyed) {
+        if (isDestroyed()) {
             return;
         }
 

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


More information about the commits mailing list