[utilities COMMIT] in /java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service: ReloadableServ...

noreply at shibboleth.net noreply at shibboleth.net
Mon Dec 15 19:02:42 EST 2014


Author: scantor
Date: Mon Dec 15 19:02:42 2014
New Revision: 708

URL: http://svn.shibboleth.net/view/utilities?rev=708&view=rev
Log:
Remove public keywords.

Modified:
    java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ReloadableService.java
    java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ServiceableComponent.java

Modified: java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ReloadableService.java
URL: http://svn.shibboleth.net/view/utilities/java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ReloadableService.java?rev=708&r1=707&r2=708&view=diff
==============================================================================
--- java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ReloadableService.java (original)
+++ java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ReloadableService.java Mon Dec 15 19:02:42 2014
@@ -35,7 +35,7 @@
      * 
      * @return time when the service was last successfully reloaded
      */
-    @Nullable public DateTime getLastSuccessfulReloadInstant();
+    @Nullable DateTime getLastSuccessfulReloadInstant();
 
     /**
      * Gets the time when the service last attempted to reload. If the reload was successful this time should match the
@@ -43,14 +43,14 @@
      * 
      * @return time when the service last attempted to reload
      */
-    @Nullable public DateTime getLastReloadAttemptInstant();
+    @Nullable DateTime getLastReloadAttemptInstant();
 
     /**
      * Gets the reason the last reload failed.
      * 
      * @return reason the last reload failed or null if the last reload was successful
      */
-    @Nullable public Throwable getReloadFailureCause();
+    @Nullable Throwable getReloadFailureCause();
 
     /**
      * Reloads the configuration of the service. Whether internal state is maintained between reloads is implementation
@@ -58,7 +58,7 @@
      * 
      * @throws ServiceException thrown if there is a problem reloading the service
      */
-    public void reload() ;
+    void reload() ;
     
     /**
      * Get the serviceable component that this service supports. If the component hasn't been successfully
@@ -68,6 +68,6 @@
      * 
      * @return the component, if appropriate.
      */
-    @Nullable public ServiceableComponent<T> getServiceableComponent();
+    @Nullable ServiceableComponent<T> getServiceableComponent();
 
 }

Modified: java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ServiceableComponent.java
URL: http://svn.shibboleth.net/view/utilities/java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ServiceableComponent.java?rev=708&r1=707&r2=708&view=diff
==============================================================================
--- java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ServiceableComponent.java (original)
+++ java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/service/ServiceableComponent.java Mon Dec 15 19:02:42 2014
@@ -39,19 +39,19 @@
      *
      * @return the component.       
      */
-    @Nonnull public T getComponent();
+    @Nonnull T getComponent();
     
     /**
      * This function takes a lock on the component which guarantees that it will not be disposed until the unpin call
      * is made.<br/> This method is typically <em>only</em> used during intialization of the component.<br/> 
      * <em>Every call to {@link #pinComponent()} must be matched by a call to {@link #unpinComponent()}</em>. 
      */
-    public void pinComponent();
+    void pinComponent();
 
     /**
      * This undoes the work that is done by {@link #pinComponent()}.
      */
-    public void unpinComponent();
+    void unpinComponent();
     
 
     /**
@@ -59,5 +59,5 @@
      * calls dispose on the components.  <br/>Implementations should avoid calling
      * this with locks held.
      */
-    public void unloadComponent();
-}
+    void unloadComponent();
+}



More information about the commits mailing list