[java-support] branch master updated: Fix log prefix handling and remove unneeded c'tor.

Scott Cantor cantor.2 at osu.edu
Tue May 2 22:34:16 EDT 2017


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

scantor 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=240d432b68389183dc72292436af26e80b4f4e81

The following commit(s) were added to refs/heads/master by this push:
       new  240d432   Fix log prefix handling and remove unneeded c'tor.
240d432 is described below

commit 240d432b68389183dc72292436af26e80b4f4e81
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue May 2 22:34:14 2017 -0400

    Fix log prefix handling and remove unneeded c'tor.
---
 .../java/support/scripting/AbstractScriptEvaluator.java   | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java b/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
index a3163ad..288ace0 100644
--- a/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
+++ b/src/main/java/net/shibboleth/utilities/java/support/scripting/AbstractScriptEvaluator.java
@@ -66,22 +66,9 @@ public abstract class AbstractScriptEvaluator {
      * Constructor.
      * 
      * @param theScript the script we will evaluate.
-     * @param extraInfo debugging information.
-     */
-    public AbstractScriptEvaluator(@Nonnull @ParameterName(name="theScript") final EvaluableScript theScript,
-            @Nullable @NotEmpty @ParameterName(name="extraInfo") final String extraInfo) {
-        script = Constraint.isNotNull(theScript, "Supplied script should not be null");
-        setLogPrefix("Scripted Predicate from " + extraInfo + ":");
-    }
-
-    /**
-     * Constructor.
-     * 
-     * @param theScript the script we will evaluate.
      */
     public AbstractScriptEvaluator(@Nonnull @ParameterName(name="theScript") final EvaluableScript theScript) {
-        script = Constraint.isNotNull(theScript, "Supplied script should not be null");
-        setLogPrefix("Anonymous Scripted Predicate:");
+        script = Constraint.isNotNull(theScript, "Supplied script cannot be null");
     }
 
     /**

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


More information about the commits mailing list