Skip to content

Commit 76b1931

Browse files
committed
Static fixes
1 parent 632a103 commit 76b1931

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/test/java/com/magento/idea/magento2plugin/util/PhpBundleMocker.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
/**
1717
* Utility class for mocking the PhpBundle in tests.
18-
*
18+
* <p>
1919
* This class provides methods to set up a mock for the PhpBundle,
2020
* which will return a fixed value for any key, avoiding the need for actual message keys in tests.
2121
*/
@@ -88,7 +88,8 @@ private static void clearResourceBundleCache() throws Exception {
8888
// If cacheList field is not found, try the newer implementation (Java 9+)
8989
try {
9090
// Get the clearCache method
91-
final Method clearCacheMethod = ResourceBundle.class.getDeclaredMethod("clearCache");
91+
final Method clearCacheMethod =
92+
ResourceBundle.class.getDeclaredMethod("clearCache");
9293
clearCacheMethod.setAccessible(true);
9394

9495
// Call the method to clear the cache

src/test/java/com/magento/idea/magento2plugin/util/ResourceBundleMock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
/**
1313
* Mock implementation of ResourceBundle for testing.
14-
*
14+
* <p>
1515
* This class provides a dummy ResourceBundle that returns a fixed value for any key,
1616
* avoiding the need for actual message keys in tests.
1717
*/

0 commit comments

Comments
 (0)