Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Detail formatter always gives error
Detail formatter always gives error [message #256716] Thu, 02 October 2008 07:51
Viliam Durina is currently offline Viliam Durina
Messages: 13
Registered: July 2009
Junior Member
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: Thu Oct 30 15:59:44 GMT 2014

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

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