office-gobmx/jvmfwk
Noel Grandin e2451bd729 Convert indexOf->startsWith and lastIndexOf->endsWith
This is both an optimisation and a cleanup.

This converts code like
   aStr.indexOf("XX") == 0
to
  aStr.startsWith("XX")
and converts code like
  aStr.lastIndexOf("XXX") == aStr.getLength() - 3
to
  aStr.endsWith("XXX")

Note that in general
  aStr.lastIndexOf("X") == aStr.getLength() - 1
converts to
  aStr.isEmpty() || aStr.endsWith("X")
so I used the surrounding context to determine if aStr could be empty
when modifying the code.

Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
2013-10-31 08:34:21 +02:00
..
distributions/OpenOfficeorg
plugins/sunmajor Convert indexOf->startsWith and lastIndexOf->endsWith 2013-10-31 08:34:21 +02:00
source Avoid using gconftool. Atk provides a11y not Java on Unix. 2013-10-30 11:09:55 +00:00
CustomTarget_jreproperties.mk
Executable_javaldx.mk
Library_jvmfwk.mk
Library_sunjavaplugin.mk
Makefile
Module_jvmfwk.mk jvmfwk: remove Package_*solver 2013-10-28 20:17:26 +01:00
Package_jreproperties.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
Package_rcfiles.mk gbuild: set Package default target to INSTDIR 2013-10-28 20:17:26 +01:00
README

Wrappers so you can use all the Java Runtime Environments with their slightly incompatible APIs with more ease.

Uses an over-engineered "plugin" mechanism although there is only one
"plugin", called "sunmajor", that handles all possible JREs.