Skip to content

Remove not used paths field from PropertiesLauncher#50968

Open
filiphr wants to merge 1 commit into
spring-projects:mainfrom
filiphr:properties-launcher-polish
Open

Remove not used paths field from PropertiesLauncher#50968
filiphr wants to merge 1 commit into
spring-projects:mainfrom
filiphr:properties-launcher-polish

Conversation

@filiphr

@filiphr filiphr commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

I've been playing around with the PropertiesLauncher and I noticed then the logging looks like:

...PropertiesLauncher : Property 'loader.path'[Loader-Path]  from environment: WEB-INF/classes,WEB-INF/lib,WEB-INF/lib-provided,file:/dummy
...PropertiesLauncher : Nested archive paths: null
...PropertiesLauncher : Property 'loader.path'[Loader-Path]  from environment: WEB-INF/classes,WEB-INF/lib,WEB-INF/lib-provided,file:/dummy
...PropertiesLauncher : Nested archive paths: [WEB-INF/classes/, WEB-INF/lib/, WEB-INF/lib-provided/, file:/dummy/]

I was confused by

Nested archive paths: null

and that's how I realized that the logging is using this.paths always, and that this is the only place using the paths field.

Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: waiting-for-triage An issue we've not yet triaged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants