[java-opensaml COMMIT] /trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/Script...

noreply at shibboleth.net noreply at shibboleth.net
Tue Sep 15 08:13:19 EDT 2015


Author: rdw
Date: Tue Sep 15 08:13:19 2015
New Revision: 4339

URL: http://svn.shibboleth.net/view/java-opensaml?rev=4339&view=rev
Log:
Checkstyle

Modified:
    trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/ScriptedTrustedNamesFunction.java

Modified: trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/ScriptedTrustedNamesFunction.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/ScriptedTrustedNamesFunction.java?rev=4339&r1=4338&r2=4339&view=diff
==============================================================================
--- trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/ScriptedTrustedNamesFunction.java	(original)
+++ trunk/opensaml-saml-impl/src/main/java/org/opensaml/saml/metadata/resolver/filter/impl/ScriptedTrustedNamesFunction.java	Tue Sep 15 08:13:19 2015
@@ -65,8 +65,7 @@
      * @param theScript the script we will evaluate.
      * @param extraInfo debugging information.
      */
-    protected ScriptedTrustedNamesFunction(@Nonnull final EvaluableScript theScript,
-            @Nullable final String extraInfo) {
+    protected ScriptedTrustedNamesFunction(@Nonnull final EvaluableScript theScript, @Nullable final String extraInfo) {
         script = Constraint.isNotNull(theScript, "Supplied script cannot be null");
         logPrefix = "Scripted Function from " + extraInfo + " :";
     }
@@ -80,9 +79,10 @@
         script = Constraint.isNotNull(theScript, "Supplied script should not be null");
         logPrefix = "Anonymous Scripted Function :";
     }
-    
+
     /**
      * Return the custom (externally provided) object.
+     * 
      * @return the custom object
      */
     @Nullable public Object getCustomObject() {
@@ -91,6 +91,7 @@
 
     /**
      * Set the custom (externally provided) object.
+     * 
      * @param object the custom object
      */
     @Nullable public void setCustomObject(Object object) {
@@ -124,9 +125,8 @@
      * @throws ScriptException if the compile fails
      * @throws IOException if the file doesn't exist.
      */
-    @Nonnull static ScriptedTrustedNamesFunction
-            resourceScript(@Nonnull @NotEmpty final String engineName, @Nonnull final Resource resource)
-                    throws ScriptException, IOException {
+    @Nonnull static ScriptedTrustedNamesFunction resourceScript(@Nonnull @NotEmpty final String engineName,
+            @Nonnull final Resource resource) throws ScriptException, IOException {
         final EvaluableScript script = new EvaluableScript(engineName, resource.getFile());
         return new ScriptedTrustedNamesFunction(script, resource.getDescription());
     }
@@ -169,5 +169,5 @@
             throws ScriptException {
         return inlineScript(DEFAULT_ENGINE, scriptSource);
     }
-    
+
 }



More information about the commits mailing list