[brailleblaster] Re: Can you spot the error?

  • From: "Michael Whapples" <mwhapples@xxxxxxx>
  • To: <brailleblaster@xxxxxxxxxxxxx>
  • Date: Fri, 9 Mar 2012 17:08:31 -0000

Hello,
Spotting errors like that is probably something that working through the Sun Certified Java Programmer exam material has made me particularly good at. Except for no multiple choice answers it almost is a SCJP type question (SCJP may have tossed a load of junk code in the class to just confuse).

Michael Whapples

-----Original Message----- From: John J. Boyer
Sent: Friday, March 09, 2012 5:00 PM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Re: Can you spot the error?

Hi Michael,

No surprise that you spotted the error. That is what I figured.

Thanks,
John

On Fri, Mar 09, 2012 at 03:57:18PM -0000, Michael Whapples wrote:
I would put my money on the use of import in a package name being the fault
as import is a reserved keyword. Try changing your package to something
like org.brailleblaster.importer, remember to change the directory name as
well as the code. I think the empty class is valid.

Michael Whapples

-----Original Message----- From: John J. Boyer
Sent: Friday, March 09, 2012 2:47 PM
To: brailleblaster@xxxxxxxxxxxxx
Subject: [brailleblaster] Can you spot the error?

Javac doesn't like the following file, which is the skeleton of a class
in BrailleBlaster. It's probably because of a typo that the author is
missing because of familiarity. Try it.

package org.brailleblaster.import;
public class ImportManager
{
}


--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities



--
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities



Other related posts: