Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 324431

Summary: The method isEmpty() is undefined for the type String in ServerCompositeFragment
Product: z_Archived Reporter: Jacek Pospychala <jacek.pospychala>
Component: PDTAssignee: Jacek Pospychala <jacek.pospychala>
Status: CLOSED FIXED QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P3 CC: kalin.a, silviya
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Jacek Pospychala CLA 2010-09-03 10:53:13 EDT
hi,
we're not yet on Java 6 in PDT afaik, so we shouldn't use Java 6 APIs. :-)

Whole error from the build:
 [javac] 209. ERROR in /opt/users/hudsonbuild/.hudson/jobs/cbi-pdt-2.2-helios/workspace/build/N201009031039/eclipse/plugins/org.eclipse.php.server.ui/src/org/eclipse/php/internal/server/ui/ServerCompositeFragment.java (at line 224)
    [javac] 	if (url.getPath() != null && !url.getPath().isEmpty()) {
    [javac] 	                                            ^^^^^^^
    [javac] The method isEmpty() is undefined for the type String
    [javac] ----------
Comment 1 Jacek Pospychala CLA 2010-09-03 10:58:37 EDT
fixed in head and bbranch
Comment 2 Kalin CLA 2011-07-29 06:36:16 EDT
Closing...
Comment 3 Sylvia Tancheva CLA 2015-06-22 09:39:19 EDT
Closed