Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 101190 Details for
Bug 153992
media-video/jubler-3.3.0 (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch merged from archlinux pkgbuild
timeformatter.patch (text/plain), 2.01 KB, created by
Serkan Kaba (RETIRED)
on 2006-11-03 22:00:22 UTC
(
hide
)
Description:
a patch merged from archlinux pkgbuild
Filename:
MIME Type:
Creator:
Serkan Kaba (RETIRED)
Created:
2006-11-03 22:00:22 UTC
Size:
2.01 KB
patch
obsolete
>diff -u -r com/panayotis/jubler/time/TimeFormatter.java com/panayotis/jubler/time/TimeFormatter.java >--- com/panayotis/jubler/time/TimeFormatter.java 2005-07-18 00:50:17.000000000 +0200 >+++ com/panayotis/jubler/time/TimeFormatter.java 2005-12-22 16:35:04.000000000 +0100 >@@ -58,16 +58,3 @@ > return value.toString(); > } > } >- >- >-class TimeFormatterFactory extends JFormattedTextField.AbstractFormatterFactory { >- >- public JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf) { >- try { >- return new TimeFormatter(); >- } >- catch ( ParseException e) {} >- return null; >- } >- >-} >Binary files src/Jubler-3.0.0-rc1/src/com/panayotis/jubler/time/TimeFormatterFactory.class and Jubler-3.0.0-rc1/src/com/panayotis/jubler/time/TimeFormatterFactory.class differ >diff -u -r com/panayotis/jubler/time/TimeFormatterFactory.java com/panayotis/jubler/time/TimeFormatterFactory.java >--- com/panayotis/jubler/time/TimeFormatterFactory.java 2005-12-22 17:13:37.000000000 +0100 >+++ com/panayotis/jubler/time/TimeFormatterFactory.java 2005-12-22 16:35:15.000000000 +0100 >@@ -34,32 +34,6 @@ > * > * @author teras > */ >-public class TimeFormatter extends MaskFormatter { >- private static Pattern pat; >- >- static { >- pat = Pattern.compile("(\\d+):(\\d+):(\\d+),(\\d\\d\\d)\\d*"); >- } >- >- public TimeFormatter () throws ParseException { >- super("##:##:##,###"); >- } >- >- public Object stringToValue(String text) throws ParseException { >- Matcher m = pat.matcher(text); >- if ( !m.matches()) { >- throw new ParseException("",0); >- } >- Time res = new Time(m.group(1), m.group(2), m.group(3), m.group(4)); >- return res; >- } >- >- public String valueToString(Object value) { >- return value.toString(); >- } >-} >- >- > class TimeFormatterFactory extends JFormattedTextField.AbstractFormatterFactory { > > public JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf) {
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 153992
:
101186
|
101187
|
101188
|
101189
|
101190
|
101204
|
101207
|
101411
|
101412
|
103008
|
103009
|
103010
|
103485
|
103486