|
1 | 1 | /* |
2 | | - * Copyright 2021-2024 the original author or authors. |
| 2 | + * Copyright 2021-2025 the original author or authors. |
3 | 3 | * |
4 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
5 | 5 | * you may not use this file except in compliance with the License. |
@@ -62,19 +62,19 @@ public void onApplicationEvent(ApplicationStartedEvent event) { |
62 | 62 | } |
63 | 63 |
|
64 | 64 | StringBuilder sb = new StringBuilder(); |
65 | | - sb.append("%n----------------------------------------------------------------------------------------------%n"); |
66 | | - sb.append("Order Plugin Name Plugin Version Enabled"); |
67 | | - sb.append("%n----------------------------------------------------------------------------------------------"); |
| 65 | + sb.append("%n----------------------------------------------------------------------------------------------------------%n"); |
| 66 | + sb.append("Order Plugin Name Plugin Version Enabled"); |
| 67 | + sb.append("%n----------------------------------------------------------------------------------------------------------"); |
68 | 68 | for (int i = 0; i < allPlugins.size(); i++) { |
69 | 69 | GrailsPlugin plugin = allPlugins.get(i); |
70 | 70 | boolean enabled = plugin.isEnabled() && (pluginManager.getFailedPlugin(plugin.getName()) == null); |
71 | 71 | sb.append(String.format("%n%s %s%s%s", |
72 | 72 | StringUtils.leftPad(String.valueOf(i + 1), 5), |
73 | | - StringUtils.rightPad(StringUtils.capitalize(plugin.getName()), 41), |
74 | | - StringUtils.rightPad(plugin.getVersion(), 41), |
| 73 | + StringUtils.rightPad(StringUtils.capitalize(plugin.getName()), 35), |
| 74 | + StringUtils.rightPad(plugin.getVersion(), 59), |
75 | 75 | enabled ? "Y" : "N")); |
76 | 76 | } |
77 | | - sb.append("%n----------------------------------------------------------------------------------------------%n"); |
| 77 | + sb.append("%n----------------------------------------------------------------------------------------------------------%n"); |
78 | 78 |
|
79 | 79 | if (logger.isDebugEnabled()) { |
80 | 80 | logger.debug(String.format(sb.toString())); |
|
0 commit comments