File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
src/main/java/com/magento/idea/magento2uct Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 42
42
import org .jdesktop .swingx .JXHyperlink ;
43
43
import org .jetbrains .annotations .NotNull ;
44
44
45
- @ SuppressWarnings ({"PMD.TooManyFields" , "PMD.ExcessiveImports" })
46
- public class UctSettingsEditor extends SettingsEditor <UctRunConfiguration > { //NOPMD - suppressed TooManyMethods
45
+ @ SuppressWarnings ({
46
+ "PMD.TooManyFields" ,
47
+ "PMD.ExcessiveImports" ,
48
+ "PMD.TooManyMethods"
49
+ })
50
+ public class UctSettingsEditor extends SettingsEditor <UctRunConfiguration > {
47
51
48
52
private static final String LEARN_MORE_URI =
49
53
"https://docs.magento.com/user-guide/getting-started.html#product-editions" ;
Original file line number Diff line number Diff line change @@ -96,7 +96,11 @@ public static List<String> fetchSupportedVersions() throws IOException {
96
96
) {
97
97
final StringBuilder response = new StringBuilder ();
98
98
String line ;
99
- while ((line = reader .readLine ()) != null ) {//NOPMD - suppressed AssignmentInOperand
99
+ while (true ) {
100
+ line = reader .readLine ();
101
+ if (line == null ) {
102
+ break ;
103
+ }
100
104
response .append (line );
101
105
}
102
106
You can’t perform that action at this time.
0 commit comments