db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oliver.m...@ppi.de
Subject unusual code in the documentation.
Date Tue, 21 Oct 2003 12:09:38 GMT
Hello,

in file xdocs/query.xml there are code snippets with code such as:

crit1.addEqualTo("allAbstractAttributes.name", new String("companyName"));

I would rather write:

crit1.addEqualTo("allAbstractAttributes.name", "companyName");

Is there a reason to write it the first way? 
(Brian, what is your opinion?)  May I fix it?

Olli

-- 
  Oliver Matz
  ppi Media GmbH
  Deliusstra├če 10
  D-24114 Kiel
  phone	+49 (0) 43 1-53 53-422
  fax     	+49 (0) 43 1-53 53-2 22
  email	mailto:oliver.matz@ppi.de
  web	www.ppi.de


---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message