Skip to content

Commit

Permalink
Correct getJavaProject(..) in DesigerPropertyTool to correctly handle…
Browse files Browse the repository at this point in the history
… nature implementations (#6)

The nature implementation does not need to implement IJavaProject.
  • Loading branch information
erik-brangs authored and nitind committed May 18, 2024
1 parent 1015388 commit d08453c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public static IJavaProject getJavaProject(Object project) {
if (nature == null) {
return null;
}
return (IJavaProject) nature;
return JavaCore.create(iProject);
} catch (Exception e) {
// Error.DesignerPropertyTool.NatureQuerying = Error in project
// java nature querying
Expand Down

0 comments on commit d08453c

Please sign in to comment.