On 10-01-2013 20:54:56 +0100, Stefan Manegold wrote:
On Fri, Jan 11, 2013 at 01:40:45AM +0800, sigit kartiko wrote:
But Fabian, in java you cannot compare strings with == or != , it must be .equals() method. In line 145: MonetDB-11.13.7/java/src/nl/cwi/monetdb/client/JdbcClient.java --> user != copts.getOption("user").getArgument()
---------^ this is not ok.
No, look at the comment right above the line. We can, because we're comparing objects here, and the only thing we need to know, is if the initial object has changed into another one (String). -- Fabian Groffen fabian@monetdb.org column-store pioneer http://www.monetdb.org/Home _______________________________________________ developers-list mailing list developers-list@monetdb.org http://mail.monetdb.org/mailman/listinfo/developers-list