Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Detail formatter always gives error
Detail formatter always gives error [message #256716] Thu, 02 October 2008 03:51
Eclipse UserFriend
I tried to set detail formatter for java.util.Date, but all expressions I
tried failed with the message:

Detail formatter error:
Evaluations must contain either an expression or a block of well-formed
statements


Here are some of them:
* fastTime
* return fastTime;
* return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this);

If I wrote intentionaly wrong statement, the message was:

Detail formatter error:
xxx cannot be resolved
Evaluations must contain either an expression or a block of well-formed
statements

The problem is probably somewhere else, but I don't know where. There is
nothing in the metadata/.log file. My eclipse version is 3.3.2, build
M20080221-1800.

Viliam
Previous Topic:Question about Java editor window...
Next Topic:Implementing interfaces for a compilation unit
Goto Forum:
  


Current Time: Tue May 13 09:40:43 EDT 2025

Powered by FUDForum. Page generated in 0.03444 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top