Re: Implicit 'this' return for void methods

2014-03-28 Thread Marek Kozieł
) understand it's sense. BTW, our 2nd example wouldn't work as expression in for loop arguments. But what for do we discuss the leading dot expressions such exhaustive, if there still is no conviction to add the simple chaining syntax to the Java language at all? -Ulf -- Pozdrawiam Marek Kozieł

Re: Implicit 'this' return for void methods

2014-03-29 Thread Marek Kozieł
but not if language readability would suffer, that why i suggested return 'this' : http://mail.openjdk.java.net/pipermail/coin-dev/2009-March/000523.html But this change is not so easy to introduce. -- Pozdrawiam Marek Kozieł ( Lasu ) http://na-chlodno.blogspot.com/ http

Re: Implicit 'this' return for void methods

2014-03-31 Thread Marek Kozieł
and uncommitted code. 2014-03-29 18:42 GMT+01:00 Victor Polischuk vict...@ukr.net: --- Original message --- From: Marek Kozieł develop4l...@gmail.com Date: 29 March 2014, 18:02:06 Main problem is fact that in long chain you cannot be sure if type changed and on which object you executing method

Re: Implicit 'this' return for void methods

2014-03-31 Thread Marek Kozieł
): java.lang.Void methid(); or maybe noted as: null method(); So hopefully this would fit language peaty well. Any way it's to early for me to comprehend influence of such big change. I do not like such know-how solutions. -- Pozdrawiam Marek Kozieł ( Lasu ) http://na-chlodno.blogspot.com/ http

Re: Implicit 'this' return for void methods

2014-04-02 Thread Marek Kozieł
. Andrew. -- Pozdrawiam Marek Kozieł ( Lasu ) http://na-chlodno.blogspot.com/ http://lasu2string.blogspot.com/

Re: First round of java.util.Objects for code review (bug 6797535)

2009-10-09 Thread Marek Kozieł
-implementing this part of code. So with suggested implementation we do not lose anything because specification of equals(Object o) is still valid, it just allow to extend it with null support which is main reason why it should be called from Objects. -- Regards. Lasu aka Marek Kozieł http

Re: The new Objects class

2010-01-11 Thread Marek Kozieł
) public static int hash(Object value, Object value1, Object value3) public static int hash(Object... values) public static int hash() // maybe ? But I'm not sure if we need that, probably time will tell... -- Pozdrowionka. / Regards. Lasu aka Marek Kozieł

Re: The new Objects class

2010-01-11 Thread Marek Kozieł
to obtain? Because I do not see any reason for that. -- Pozdrowionka. / Regards. Lasu aka Marek Kozieł http://lasu2string.blogspot.com/

Re: Need reviewer for forward port of 6815768 (File.getXXXSpace) and 6815768 (String.hashCode)

2010-03-04 Thread Marek Kozieł
not have negative impact like calculating hash in constructor, the problem is where this information should be stored? (I have some idea about it but I doubt if this would be accepted) -- Pozdrowionka. / Regards. Lasu aka Marek Kozieł http://lasu2string.blogspot.com/

Re: Disambiguating empty catch blocks

2010-04-14 Thread Marek Kozieł
way of thinking as interesting: http://lasu2string.blogspot.com/2010/02/forwarding-as-language.html but I doubt that any will be don about it. ^___^ -- Pozdrowionka. / Regards. Lasu aka Marek Kozieł - The catch block is incomplete - a bug. To enable programmers to disambiguate