unknown
2012-05-17 08:39:34 UTC
Bueno, la verdad es que la noticia no tiene desperdicio...
Resulta que el juez sabía programar y aprendió Java para poder decidir:
http://www.wired.com/wiredenterprise/2012/05/google-schmidt-page-damages/
Y el código lo he encontrado en:
http://www.reddit.com/r/programming/comments/tq4tu/til_the_judge_in_the_oraclegoogle_case_learned/
Lo voy a postear aquí. Como veréis, ese código es crucial para ahorrar 6
meses a Google y que pueda sacar antes Android:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
¡Vivan las patentes! ¡Ayudan a investigadores y tecnólogos!
Un saludo!!
Resulta que el juez sabía programar y aprendió Java para poder decidir:
http://www.wired.com/wiredenterprise/2012/05/google-schmidt-page-damages/
Y el código lo he encontrado en:
http://www.reddit.com/r/programming/comments/tq4tu/til_the_judge_in_the_oraclegoogle_case_learned/
Lo voy a postear aquí. Como veréis, ese código es crucial para ahorrar 6
meses a Google y que pueda sacar antes Android:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
¡Vivan las patentes! ¡Ayudan a investigadores y tecnólogos!
Un saludo!!
--
Miguel Ángel García Martínez
http://www.magmax.org
Mail <miguelangel.garcia en gmail.com> | Twitter <http://twitter.com/#magmax9>
| LinkedIn <http://www.linkedin.com/in/miguelangelgarciamartinez> |
about.me <http://about.me/miguelangelgarcia>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://arco.esi.uclm.es/pipermail/crysol/attachments/20120517/67e56fb3/attachment.html>
Miguel Ángel García Martínez
http://www.magmax.org
Mail <miguelangel.garcia en gmail.com> | Twitter <http://twitter.com/#magmax9>
| LinkedIn <http://www.linkedin.com/in/miguelangelgarciamartinez> |
about.me <http://about.me/miguelangelgarcia>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://arco.esi.uclm.es/pipermail/crysol/attachments/20120517/67e56fb3/attachment.html>