Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 77637 Details for
Bug 119667
dev-java/xpp3-1.1.3.4m Java 1.5 patch
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
xpp3-1.1.3.4.M-jdk1.5-enum.patch
xpp3-1.1.3.4.M-jdk1.5-enum.patch (text/plain), 1.48 KB, created by
Danny Brain
on 2006-01-20 03:32:34 UTC
(
hide
)
Description:
xpp3-1.1.3.4.M-jdk1.5-enum.patch
Filename:
MIME Type:
Creator:
Danny Brain
Created:
2006-01-20 03:32:34 UTC
Size:
1.48 KB
patch
obsolete
>--- xpp3-1.1.3.4.M/src/java/xpath/org/xmlpull/v1/builder/xpath/jaxen/function/ext/LocaleFunctionSupport.java.orig 2006-01-20 22:22:01.000000000 +1100 >+++ xpp3-1.1.3.4.M/src/java/xpath/org/xmlpull/v1/builder/xpath/jaxen/function/ext/LocaleFunctionSupport.java 2006-01-20 22:22:33.000000000 +1100 >@@ -130,24 +130,24 @@ > * be found > */ > protected Locale findLocale(String localeText) { >- StringTokenizer enum = new StringTokenizer( localeText, "-" ); >- if (enum.hasMoreTokens()) >+ StringTokenizer enumer = new StringTokenizer( localeText, "-" ); >+ if (enumer.hasMoreTokens()) > { >- String language = enum.nextToken(); >- if (! enum.hasMoreTokens()) >+ String language = enumer.nextToken(); >+ if (! enumer.hasMoreTokens()) > { > return findLocaleForLanguage(language); > } > else > { >- String country = enum.nextToken(); >- if (! enum.hasMoreTokens()) >+ String country = enumer.nextToken(); >+ if (! enumer.hasMoreTokens()) > { > return new Locale(language, country); > } > else > { >- String variant = enum.nextToken(); >+ String variant = enumer.nextToken(); > return new Locale(language, country, variant); > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 119667
:
77636
| 77637