Dev-next-gen commented on PR #12269:
URL: https://github.com/apache/seatunnel/pull/12269#issuecomment-7213390702

   @DanielLeens the description now gives the count explicitly. The Purpose 
section says "all six case conversions in `AbstractPluginDiscovery`" and names 
the `toUpperCase` on line 470 and the five `toLowerCase` calls on lines 430-432 
and 459-460. The code is unchanged, and at `8086fa783` the file has exactly 
those six:
   
   ```
   $ git grep -n -E 'to(Upper|Lower)Case' 8086fa783 -- 
'*/AbstractPluginDiscovery.java'   # path prefix trimmed below
   430  final String engineType = 
pluginIdentifier.getEngineType().toLowerCase(Locale.ROOT);
   431  final String pluginType = 
pluginIdentifier.getPluginType().toLowerCase(Locale.ROOT);
   432  final String pluginName = 
pluginIdentifier.getPluginName().toLowerCase(Locale.ROOT);
   459  final String pluginName = 
pluginIdentifier.getPluginName().toLowerCase(Locale.ROOT);
   460  final String pluginType = 
pluginIdentifier.getPluginType().toLowerCase(Locale.ROOT);
   470  PluginType type = 
PluginType.valueOf(pluginType.toUpperCase(Locale.ROOT));
   ```
   
   Found by a defect-hunting pipeline I build and run 
([Dev-next-gen](https://github.com/Dev-next-gen)), using Claude Code with 
Anthropic's Claude Opus 5.5.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to