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

Fix issue 170 #181

Merged
merged 12 commits into from
Apr 15, 2019
Merged

Fix issue 170 #181

merged 12 commits into from
Apr 15, 2019

Conversation

yiming-tang-cs
Copy link
Contributor

@coveralls
Copy link

coveralls commented Apr 10, 2019

Coverage Status

Coverage decreased (-0.09%) to 25.0% when pulling 6c5cd44 on issue_170 into ced5885 on master.

Copy link
Member

@khatchad khatchad left a comment

Choose a reason for hiding this comment

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

Why is the plugin.xml file deleted?

@yiming-tang-cs
Copy link
Contributor Author

The plugin doesn't need it. It has a warning that it requires an extension.

Copy link
Member

@khatchad khatchad left a comment

Choose a reason for hiding this comment

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

More info please.

edu.cuny.hunter.log.core/plugin.xml Show resolved Hide resolved
@@ -73,6 +73,7 @@ protected ICompilationUnit createCUfromTestFile(IPackageFragment pack, String cu
return unit;
}

@SuppressWarnings("deprecation")
Copy link
Member

Choose a reason for hiding this comment

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

Which deprecated method is being used?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The field AST.JLS8 is deprecated

@@ -988,6 +989,7 @@ private void putIntoMethodToOps(HashMap<String, LinkedList<TypesOfMethodOperatio
/**
* Parse a Java file, and let visitor to visit declaring methods.
*/
@SuppressWarnings("deprecation")
Copy link
Member

Choose a reason for hiding this comment

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

What is the deprecated method?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The field AST.JLS8 is deprecated

@@ -147,6 +148,7 @@ private static File findEvaluationPropertiesFile(IJavaProject project, String fi
/**
* Create CompilationUnit from ICompilationUnit.
*/
@SuppressWarnings("deprecation")
Copy link
Member

Choose a reason for hiding this comment

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

Same here.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The field AST.JLS8 is deprecated

Copy link
Member

Choose a reason for hiding this comment

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

Then use the non-deprecated one rather than suppressing this warning. Thanks.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I tried AST.JLS11, but it could fail building.

Copy link
Member

Choose a reason for hiding this comment

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

What is the error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK.

Copy link
Member

Choose a reason for hiding this comment

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

Hm. Looks like the tests are failing with the newer Eclipse version.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is the warning caused by JDK version?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I see.

@@ -147,6 +148,7 @@ private static File findEvaluationPropertiesFile(IJavaProject project, String fi
/**
* Create CompilationUnit from ICompilationUnit.
*/
@SuppressWarnings("deprecation")
Copy link
Member

Choose a reason for hiding this comment

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

@khatchad khatchad merged commit 75b00cc into master Apr 15, 2019
@khatchad khatchad deleted the issue_170 branch April 15, 2019 23:17
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.

3 participants