-
Notifications
You must be signed in to change notification settings - Fork 161
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[JENKINS-63171] Add more generic whitelist entries #304
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -642,6 +642,7 @@ staticMethod org.codehaus.groovy.runtime.DateGroovyMethods upto java.util.Calend | |
staticMethod org.codehaus.groovy.runtime.DateGroovyMethods upto java.util.Date java.util.Date groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods abs java.lang.Number | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods addAll java.util.Collection java.lang.Object[] | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods and java.lang.Boolean java.lang.Boolean | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.lang.Iterable groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.lang.Object groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods any java.util.Map groovy.lang.Closure | ||
|
@@ -965,7 +966,9 @@ staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods take java.util.Lis | |
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.lang.Iterable int | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods takeRight java.util.List int | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods times java.lang.Number groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.Boolean | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like this method is |
||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toBoolean java.lang.String | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toDouble java.lang.String | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto, this method is |
||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toInteger java.lang.String | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toList boolean[] | ||
staticMethod org.codehaus.groovy.runtime.DefaultGroovyMethods toList byte[] | ||
|
@@ -1114,6 +1117,11 @@ staticMethod org.codehaus.groovy.runtime.StringGroovyMethods replaceFirst java.l | |
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods reverse java.lang.String | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods takeWhile groovy.lang.GString groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods takeWhile java.lang.CharSequence groovy.lang.Closure | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods toBoolean java.lang.String | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods toDouble java.lang.CharSequence | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods toDouble java.lang.String | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods toInteger java.lang.CharSequence | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods toInteger java.lang.String | ||
Comment on lines
+1123
to
+1124
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok one last thing, but There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I still have that in the file, don't I? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah, I missed that it was already present before your changes, so yeah it should be fine as-is. |
||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods tr java.lang.CharSequence java.lang.CharSequence java.lang.CharSequence | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods unexpand java.lang.CharSequence | ||
staticMethod org.codehaus.groovy.runtime.StringGroovyMethods unexpand java.lang.CharSequence int | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Definitely safe: https://github.com/apache/groovy/blob/731d4daa78b9cd32bea724d2d651aa1164eef6cc/src/main/org/codehaus/groovy/runtime/DefaultGroovyMethods.java#L15348.