-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nopol actor #10
Nopol actor #10
Conversation
22ee7e5
to
5a1b201
Compare
5a1b201
to
083c7a0
Compare
add a test |
try { | ||
Main.initJSAP(); | ||
} catch (JSAPException e) { | ||
e.printStackTrace(); |
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.
remove + throws Exception in method
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.
Done.
System.out.println(Arrays.toString(args)); | ||
List<Patch> patches = Collections.EMPTY_LIST; | ||
if (Main.parseArguments(args)) { | ||
File[] sourceFiles = new File[Config.INSTANCE.getProjectSourcePath().length]; |
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.
singleton incompatible with multiple Nopol. first refactor Config.
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.
see #11
|
||
@Override | ||
public void onReceive(Object message) throws Exception { | ||
if (message instanceof String) { |
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.
use config object instead of String
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.
Done.
NopolActor is responsible to run Nopol remotely for the ui-intellij.