René's URL Explorer Experiment


Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common · GitHub

Open Graph Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common

X Title: Skip FileListPreprocessor for autofill=false parameters by imagejan · Pull Request #423 · scijava/scijava-common

Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for solitary unresolved parameters within all inputs/outputs independent of their type, while maintaining the backwards-compatible method signatures. This allows to replace some duplicated logic in helper methods of FilePreprocessor and FileListPreprocessor by a call to moduleService.getSingleInput(), which makes them respect an autoFill=false parameter annotation and avoid calling uiService.chooseFile/chooseFiles for those parameters. The intended behavior is verified by two new tests that, before this PR, were failing on their last assertion. NB: The tests added here call uiService.setHeadless(false) in order to set their custom default UI.

Open Graph Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so...

X Description: This pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so...

Opengraph URL: https://github.com/scijava/scijava-common/pull/423

X: @github

direct link

Domain: patch-diff.githubusercontent.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:5eb89a7a-9c6c-5c2a-6aa5-be5006607082
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC0FE:32E262:1A4A82C:234A4E3:697046A4
html-safe-nonce84c402b1bb1d030691f43abfe4a59a11975ce710712f023486bd2029eef5f22c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMEZFOjMyRTI2MjoxQTRBODJDOjIzNEE0RTM6Njk3MDQ2QTQiLCJ2aXNpdG9yX2lkIjoiODM5MzEzOTgxMDc0MTUzNjQyMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1dcd3ccb46e5540b07897a58150c4f00444ffeb6b1489842fe0a899577cbdccb
hovercard-subject-tagpull_request:644167649
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/scijava/scijava-common/pull/423/files
twitter:imagehttps://avatars.githubusercontent.com/u/2033938?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/2033938?s=400&v=4
og:image:altThis pull request is a work in progress. This pull request changes the API of ModuleService and DefaultModuleService to include an optional parameter boolean acrossTypes that allows checking for so...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None9920a62ba22d06470388e2904804fb7e5ec51c9e35f81784e9191394c74b2bd2
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/scijava/scijava-common git https://github.com/scijava/scijava-common.git
octolytics-dimension-user_id1262770
octolytics-dimension-user_loginscijava
octolytics-dimension-repository_id3594497
octolytics-dimension-repository_nwoscijava/scijava-common
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3594497
octolytics-dimension-repository_network_root_nwoscijava/scijava-common
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasef643964067a552f02067066d6a910b2f90a5721f
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F423%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F423%2Ffiles
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=scijava%2Fscijava-common
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Reloadhttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
scijava https://patch-diff.githubusercontent.com/scijava
scijava-commonhttps://patch-diff.githubusercontent.com/scijava/scijava-common
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://patch-diff.githubusercontent.com/scijava/scijava-common
Issues 169 https://patch-diff.githubusercontent.com/scijava/scijava-common/issues
Pull requests 16 https://patch-diff.githubusercontent.com/scijava/scijava-common/pulls
Actions https://patch-diff.githubusercontent.com/scijava/scijava-common/actions
Projects 0 https://patch-diff.githubusercontent.com/scijava/scijava-common/projects
Wiki https://patch-diff.githubusercontent.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/scijava/scijava-common/security
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Insights https://patch-diff.githubusercontent.com/scijava/scijava-common/pulse
Code https://patch-diff.githubusercontent.com/scijava/scijava-common
Issues https://patch-diff.githubusercontent.com/scijava/scijava-common/issues
Pull requests https://patch-diff.githubusercontent.com/scijava/scijava-common/pulls
Actions https://patch-diff.githubusercontent.com/scijava/scijava-common/actions
Projects https://patch-diff.githubusercontent.com/scijava/scijava-common/projects
Wiki https://patch-diff.githubusercontent.com/scijava/scijava-common/wiki
Security https://patch-diff.githubusercontent.com/scijava/scijava-common/security
Insights https://patch-diff.githubusercontent.com/scijava/scijava-common/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
imagejanhttps://patch-diff.githubusercontent.com/imagejan
masterhttps://patch-diff.githubusercontent.com/scijava/scijava-common/tree/master
fix-filelistpreprocessor-autofill-falsehttps://patch-diff.githubusercontent.com/scijava/scijava-common/tree/fix-filelistpreprocessor-autofill-false
Conversation 2 https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423
Commits 1 https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/commits
Checks 0 https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/checks
Files changed https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Skip FileListPreprocessor for autofill=false parameters https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#top
Show all changes 1 commit https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
4168b3e Avoid calling chooseFiles for non-autofill inputs imagejan May 13, 2021 https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/commits/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c
Clear filters https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
DefaultModuleService.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
ModuleService.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
FileListPreprocessor.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
FilePreprocessor.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
FileListPreprocessorTest.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-6d459be66da912bf7c3fef94a2532f7c23dd1220f5181e372d498dfc1facebc3
FilePreprocessorTest.java https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ddb316b0f1132a3994377f5bd612d95a47ed814c256a3564e2c1b35b75a122f1
src/main/java/org/scijava/module/DefaultModuleService.javahttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
View file https://patch-diff.githubusercontent.com/scijava/scijava-common/blob/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c/src/main/java/org/scijava/module/DefaultModuleService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
imagejanhttps://patch-diff.githubusercontent.com/imagejan
May 16, 2021https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#r633126331
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
src/main/java/org/scijava/module/ModuleService.javahttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
View file https://patch-diff.githubusercontent.com/scijava/scijava-common/blob/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c/src/main/java/org/scijava/module/ModuleService.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
src/main/java/org/scijava/ui/FileListPreprocessor.javahttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
View file https://patch-diff.githubusercontent.com/scijava/scijava-common/blob/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c/src/main/java/org/scijava/ui/FileListPreprocessor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
src/main/java/org/scijava/ui/FilePreprocessor.javahttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
View file https://patch-diff.githubusercontent.com/scijava/scijava-common/blob/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c/src/main/java/org/scijava/ui/FilePreprocessor.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
src/test/java/org/scijava/ui/FileListPreprocessorTest.javahttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files#diff-6d459be66da912bf7c3fef94a2532f7c23dd1220f5181e372d498dfc1facebc3
View file https://patch-diff.githubusercontent.com/scijava/scijava-common/blob/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c/src/test/java/org/scijava/ui/FileListPreprocessorTest.java
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
Please reload this pagehttps://patch-diff.githubusercontent.com/scijava/scijava-common/pull/423/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.