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 4242import org .jdesktop .swingx .JXHyperlink ;
4343import org .jetbrains .annotations .NotNull ;
4444
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 > {
4751
4852 private static final String LEARN_MORE_URI =
4953 "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 {
9696 ) {
9797 final StringBuilder response = new StringBuilder ();
9898 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+ }
100104 response .append (line );
101105 }
102106
You can’t perform that action at this time.
0 commit comments