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: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:b615d12d-b897-74ef-bd3d-00b6c8399210
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD362:2BFBB8:2829A77:365E7AC:696AE4D2
html-safe-noncef91011c8178a70dc28acda544f912216672d17d7948157535c155fe555f3322e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzYyOjJCRkJCODoyODI5QTc3OjM2NUU3QUM6Njk2QUU0RDIiLCJ2aXNpdG9yX2lkIjoiNTYxNTU4NTUzMjg5NzQ1NjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6b08e9a74a16815cfbdf444cff1e0b857e6bcc256d6463e60c494631414942e8
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
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release3d84d50b3c75fa36755c3cf392edbc09e626f979
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/scijava/scijava-common/pull/423/files#start-of-content
https://github.com/
Sign in https://github.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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fscijava%2Fscijava-common%2Fpull%2F423%2Ffiles
Sign up https://github.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://github.com/scijava/scijava-common/pull/423/files
Reloadhttps://github.com/scijava/scijava-common/pull/423/files
Reloadhttps://github.com/scijava/scijava-common/pull/423/files
scijava https://github.com/scijava
scijava-commonhttps://github.com/scijava/scijava-common
Notifications https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Fork 53 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Star 90 https://github.com/login?return_to=%2Fscijava%2Fscijava-common
Code https://github.com/scijava/scijava-common
Issues 169 https://github.com/scijava/scijava-common/issues
Pull requests 16 https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects 0 https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/scijava/scijava-common/security
Please reload this pagehttps://github.com/scijava/scijava-common/pull/423/files
Insights https://github.com/scijava/scijava-common/pulse
Code https://github.com/scijava/scijava-common
Issues https://github.com/scijava/scijava-common/issues
Pull requests https://github.com/scijava/scijava-common/pulls
Actions https://github.com/scijava/scijava-common/actions
Projects https://github.com/scijava/scijava-common/projects
Wiki https://github.com/scijava/scijava-common/wiki
Security https://github.com/scijava/scijava-common/security
Insights https://github.com/scijava/scijava-common/pulse
Sign up for GitHub https://github.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://github.com/login?return_to=%2Fscijava%2Fscijava-common%2Fissues%2Fnew%2Fchoose
imagejanhttps://github.com/imagejan
masterhttps://github.com/scijava/scijava-common/tree/master
fix-filelistpreprocessor-autofill-falsehttps://github.com/scijava/scijava-common/tree/fix-filelistpreprocessor-autofill-false
Conversation 2 https://github.com/scijava/scijava-common/pull/423
Commits 1 https://github.com/scijava/scijava-common/pull/423/commits
Checks 0 https://github.com/scijava/scijava-common/pull/423/checks
Files changed https://github.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/423/files
Skip FileListPreprocessor for autofill=false parameters https://github.com/scijava/scijava-common/pull/423/files#top
Show all changes 1 commit https://github.com/scijava/scijava-common/pull/423/files
4168b3e Avoid calling chooseFiles for non-autofill inputs imagejan May 13, 2021 https://github.com/scijava/scijava-common/pull/423/commits/4168b3edc0c0ab6b2ef8b5ffe0d4eca0f80bd43c
Clear filters https://github.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/423/files
Please reload this pagehttps://github.com/scijava/scijava-common/pull/423/files
DefaultModuleService.java https://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
ModuleService.java https://github.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
FileListPreprocessor.java https://github.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
FilePreprocessor.java https://github.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
FileListPreprocessorTest.java https://github.com/scijava/scijava-common/pull/423/files#diff-6d459be66da912bf7c3fef94a2532f7c23dd1220f5181e372d498dfc1facebc3
FilePreprocessorTest.java https://github.com/scijava/scijava-common/pull/423/files#diff-ddb316b0f1132a3994377f5bd612d95a47ed814c256a3564e2c1b35b75a122f1
src/main/java/org/scijava/module/DefaultModuleService.javahttps://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
View file https://github.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://github.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
https://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
https://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
imagejanhttps://github.com/imagejan
May 16, 2021https://github.com/scijava/scijava-common/pull/423/files#r633126331
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/scijava/scijava-common/pull/423/files
https://github.com/scijava/scijava-common/pull/423/files#diff-ca13fe59b26bb91972673cf79a5c8be3532786b4aa2e38386de3c6b33387b858
src/main/java/org/scijava/module/ModuleService.javahttps://github.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
View file https://github.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://github.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
https://github.com/scijava/scijava-common/pull/423/files#diff-244cca77ab4000a360448df368cf793f64852a182911795f463520d45cc8b100
src/main/java/org/scijava/ui/FileListPreprocessor.javahttps://github.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
View file https://github.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://github.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
https://github.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
https://github.com/scijava/scijava-common/pull/423/files#diff-ef61a47862bc6911637706c29d2b5018a8809ee89af623206dba2b7e5cb9569a
src/main/java/org/scijava/ui/FilePreprocessor.javahttps://github.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
View file https://github.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://github.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
https://github.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
https://github.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
https://github.com/scijava/scijava-common/pull/423/files#diff-acad5d52129adb71af6eb0f382eaee80d02be97aca36fb3e7d8a1e9472566398
src/test/java/org/scijava/ui/FileListPreprocessorTest.javahttps://github.com/scijava/scijava-common/pull/423/files#diff-6d459be66da912bf7c3fef94a2532f7c23dd1220f5181e372d498dfc1facebc3
View file https://github.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://github.com/scijava/scijava-common/pull/423/{{ revealButtonHref }}
Please reload this pagehttps://github.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.