Permalink
Browse files

fix critical bug, scala-nature never enabled and configured correctly

  • Loading branch information...
davidB committed Jul 11, 2010
1 parent e7d5a6d commit 1f2593f2381b500c2675ee818ecfd074febc0367
@@ -64,7 +64,7 @@ private String scalaLibId() {
@Override
public void configure(ProjectConfigurationRequest request, IProgressMonitor monitor) throws CoreException {
String scalaNature = scalaNatureId();
- if (scalaNature != null) {
+ if (scalaNature == null) {
//TODO show an alert to user that he should to install scala-ide plugin;
return;
}
@@ -85,7 +85,7 @@ public void configure(ProjectConfigurationRequest request, IProgressMonitor moni
*/
public void configureClasspath(IMavenProjectFacade facade, IClasspathDescriptor classpath, IProgressMonitor monitor) throws CoreException {
String scalaNature = scalaNatureId();
- if (scalaNature != null) {
+ if (scalaNature == null) {
//TODO show an alert to user that he should to install scala-ide plugin;
return;
}

0 comments on commit 1f2593f

Please sign in to comment.