commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From S├ębastien Brisard <sebastien.bris...@m4x.org>
Subject [all] Does this break binary compatibility?
Date Mon, 09 Jul 2012 07:03:07 GMT
All,
in Commons-Math, class RealVector has a method unitize() which divides
each component of this by the norm. The vector is changed in place.
The current signature of this method is
public void unitize()

Most methods in class RealVector implement a fluent API. I would like
unitize() to follow the same paradigm. In other words, I would like to
change the signature to
public RealVector unitize()
this method now returning this.

Question is: does this break binary compatibility? Although clirr
reports an error, I fail to see how this change can cause any problem.

Thanks in advance for your advice,
S├ębastien


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


Mime
View raw message