Fix Java 6-ism
authorEd Swartz <ed.swartz@nokia.com>
Tue, 31 Aug 2010 07:53:48 -0500
changeset 1957 c7e4f77e6b70
parent 1925 54d4f01c8389
child 1958 aac450e0c99e
Fix Java 6-ism
core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizard.java
--- a/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizard.java	Mon Aug 30 21:48:01 2010 -0500
+++ b/core/com.nokia.carbide.templatewizard/src/com/nokia/carbide/internal/api/templatewizard/ui/TemplateWizard.java	Tue Aug 31 07:53:48 2010 -0500
@@ -111,7 +111,7 @@
 		job.schedule();
 		
 		String featureName = getFeatureName();
-		if (featureName != null && !featureName.isEmpty()) {
+		if (featureName != null && featureName.length() > 0) {
 			FeatureUseTrackerPlugin.getFeatureUseProxy().useFeature(featureName);
 		}