-
Notifications
You must be signed in to change notification settings - Fork 9
Add constants to packages and cleanup code #32
Conversation
81a4f35
to
8fd0a50
Compare
public CLIRunnerImpl() { | ||
this.notificationsService = new MobileNotificationsService(); | ||
this.executorService = Executors.newFixedThreadPool(EXECUTOR_NUM_THREADS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it safe to create this per instance or for each call to executeAsync
? I am unsure of how the Executor classes work
Objects.requireNonNull(AeroGearMobileConfiguration.getInstance(project)).setConfigPath(path); | ||
}); | ||
} else { | ||
Objects.requireNonNull(AeroGearMobileConfiguration.getInstance(project)).setConfigPath(path); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the file is not created why do we want to store the setting?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
File you want to create already exists and you need only update your configPath to be same as path. But we need to test if this works
@@ -3,7 +3,7 @@ | |||
import javax.swing.JTextField; | |||
import com.intellij.openapi.ui.TextFieldWithBrowseButton; | |||
|
|||
public class NewFileForm extends javax.swing.JPanel { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any classes that are auto-generated UI classes I would like to leave alone.
String sdkConfigPath = AeroGearMobileConfiguration.getInstance(this.project).getConfigPath(); | ||
String content = ""; | ||
String sdkConfigPath = Objects.requireNonNull(AeroGearMobileConfiguration.getInstance(this.project)).getConfigPath(); | ||
StringBuilder content = new StringBuilder(); // TODO ADD template files if notification is redundant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this TODO an issue? There is one created around template file already. Does that cover it?
#19
|
||
public ViewSDKConfigPanel() { | ||
initComponents(); | ||
} | ||
|
||
private void initComponents() { | ||
|
||
scrollPane = new javax.swing.JScrollPane(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any classes that are auto-generated UI classes I would like to leave alone.
If it is could you put a comment in like the other auto-generated files?
@@ -14,7 +16,7 @@ | |||
* To edit this file, open the ServicePanel.form file in the NetBeans GUI Builder. | |||
* To view the generated source code, choose Source within the Netbeans GUI Builder. | |||
*/ | |||
public class ServicePanel extends javax.swing.JPanel { | |||
class ServicePanel extends javax.swing.JPanel { | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any classes that are auto-generated UI classes I would like to leave alone.
import com.intellij.ui.Gray; | ||
import com.intellij.ui.JBColor; | ||
|
||
import javax.swing.*; | ||
|
||
/** | ||
* This class is generated by and can be edited using the Netbeans GUI Builder. | ||
* To edit this file, open the ServicePanel.form file in the NetBeans GUI Builder. | ||
* To view the generated source code, choose Source within the Netbeans GUI Builder. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
a42f9e6
to
66115fa
Compare
afb68ea
to
fa480d5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great!
a92dd42
to
fc43c8b
Compare
00be990
to
5b432f3
Compare
Fix icons when sources are processed Process should have execution on timeout
5b432f3
to
6b1d076
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good,
I am liking all QoL improvements.
@sedroche can you please verify that the features you had worked on are still working as intended.
If they are we could merge it.
Describe what this PR does and why we need it:
We need to improve out QoC, add additional checks not null and throw additional runtime exceptions
Changes proposed in this pull request