mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
59ef87b922
Description: Replace ORO Regexp with java 1.4 Pattern/Matcher Fix Description: I removed any and all references to oro from build.properties and build.xml. For the code replacement, the conversion was pretty straightforward. I had to slightly modify the regular expressions but for the most part they just work the same as the oro ones. ORO uses a PatternInput to hold the state of the iteration over the string to match, but the Matcher class does that implicitly. For the most part, it didn't matter because the code didn't really use the state, it would just always reset the PatternInput to the beginning of the string, so I just used the String instead. There was one place where I needed to keep track of state, so I used the Matcher object instead of a Perl5Pattern + PatternInput. Thanks to nkinder@redhat.com for the review. |
||
---|---|---|
.. | ||
c-sdk | ||
ds-plugins | ||
java-sdk | ||
perldap | ||
tools | ||
xpcom | ||
buildjsdk.txt | ||
ldapsdk.mak | ||
ldapsdk.mk | ||
Makefile |