This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 77349

Summary: Compiler error ;;
Product: soa Reporter: infonote <infonote>
Component: -- Other --Assignee: issues@soa <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:

Description infonote 2006-06-03 15:44:26 UTC
public Integer getUserId(String username) {
        Integer q = 0;;
        
        //Id integer value of user is found according to username
        // input String username
        //output Integer id
        
        return q;
    }

I posted here because method is in a session bean. Using ;; at end of statement
does not result in compiler error.

It compiles successfully.

Using Netbeans 5.5 beta with enterprise pack
Comment 1 infonote 2006-06-03 16:05:40 UTC
It is possible according to Java documentation as it is an empty statement.

So false alarm, case closed
Comment 2 gc140975 2006-09-25 03:24:05 UTC
Verified in the build 060923  and changed the status to verified as per the
developers comments
Comment 3 gc140975 2006-09-29 08:48:49 UTC
Verified in the build 060923  and changed the status to verified as per the
developers comments since its a false alarm