Skip to content
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

Merged
merged 19 commits into from Sep 22, 2016
Merged

Nopol actor #10

merged 19 commits into from Sep 22, 2016

Conversation

danglotb
Copy link
Member

NopolActor is responsible to run Nopol remotely for the ui-intellij.

@danglotb
Copy link
Member Author

add a test

try {
Main.initJSAP();
} catch (JSAPException e) {
e.printStackTrace();
Copy link
Member Author

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

Copy link
Member Author

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];
Copy link
Member Author

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.

Copy link
Member Author

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) {
Copy link
Member Author

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

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

@tdurieux tdurieux merged commit 3052299 into SpoonLabs:master Sep 22, 2016
@danglotb danglotb deleted the nopol-actor branch September 22, 2016 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants